Python: Adopt shared type tracking library

This commit is contained in:
Tom Hvitved
2023-11-20 13:16:57 +01:00
parent 4776e9ccd2
commit 3b1146bf98
17 changed files with 446 additions and 263 deletions

View File

@@ -4,9 +4,9 @@
*/
import python
private import semmle.python.dataflow.new.internal.TypeTrackerSpecific
private import semmle.python.dataflow.new.internal.TypeTrackingImpl
private import semmle.python.ApiGraphs
class CallCfgNodeWithTarget extends DataFlow::Node instanceof DataFlow::CallCfgNode {
DataFlow::Node getTarget() { returnStep(result, this) }
DataFlow::Node getTarget() { TypeTrackingInput::returnStep(result, this) }
}