File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
python/ql/src/semmle/python/frameworks Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ private import python
7
7
private import semmle.python.dataflow.new.DataFlow
8
8
private import semmle.python.dataflow.new.TaintTracking
9
9
private import semmle.python.dataflow.new.RemoteFlowSources
10
+ private import semmle.python.ApiGraphs
10
11
private import semmle.python.Concepts
11
12
private import PEP249
12
13
@@ -1788,6 +1789,11 @@ private class Exception extends ExceptionSource::Range {
1788
1789
}
1789
1790
}
1790
1791
1792
+ /** A call to `sys.exc_info` */
1793
+ private class SysExcInfoCall extends ErrorInfoSource:: Range , DataFlow:: CfgNode {
1794
+ SysExcInfoCall ( ) { this = API:: moduleImport ( "sys" ) .getMember ( "exc_info" ) .getACall ( ) }
1795
+ }
1796
+
1791
1797
// ---------------------------------------------------------------------------
1792
1798
// OTHER
1793
1799
// ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments