You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/ql/lib/semmle/python/frameworks/Websockets.qll
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -41,27 +41,28 @@ module Websockets {
41
41
overridestringgetFramework(){result="websockets"}
42
42
}
43
43
44
+
/** Provides taint models for instances of `ServerConnection` objects passed to websocket handlers. */
44
45
module ServerConnection {
45
46
/**
46
-
* A source of instances of `websockets.asyncio.ServerConnection` and `websockets.threading.ServerConnection`, extend this class to model new instances.
47
+
* A source of instances of `websockets.asyncio.ServerConnection` and `websockets.sync.ServerConnection`, extend this class to model new instances.
47
48
*
48
49
* This can include instantiations of the class, return values from function
49
50
* calls, or a special parameter that will be set when functions are called by an external
50
51
* library.
51
52
*
52
-
* Use the predicate `WebSocket::instance()` to get references to instances of `websockets.asyncio.ServerConnection` and `websockets.threading.ServerConnection`.
53
+
* Use the predicate `WebSocket::instance()` to get references to instances of `websockets.asyncio.ServerConnection` and `websockets.sync.ServerConnection`.
0 commit comments