We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba27349 commit 468a879Copy full SHA for 468a879
python/ql/lib/semmle/python/frameworks/PEP249.qll
@@ -111,14 +111,6 @@ module PEP249 {
111
private class CursorCall extends InstanceSource, DataFlow::CallCfgNode {
112
CursorCall() { this.getFunction() = methodRef() }
113
}
114
-
115
- /** Gets a reference to a result of calling the `cursor` method on a database connection. */
116
- private DataFlow::TypeTrackingNode methodResult(DataFlow::TypeTracker t) {
117
- t.start() and
118
- result.asCfgNode().(CallNode).getFunction() = methodRef().asCfgNode()
119
- or
120
- exists(DataFlow::TypeTracker t2 | result = methodResult(t2).track(t2, t))
121
- }
122
123
124
/**
0 commit comments