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

@@ -50,7 +50,7 @@ module UnsafeShellCommandConstruction {
source = backtrackShellExec(TypeTracker::TypeBackTracker::end(), shellExec)
}
import semmle.python.dataflow.new.TypeTracker as TypeTracker
import semmle.python.dataflow.new.TypeTracking as TypeTracker
private DataFlow::LocalSourceNode backtrackShellExec(
TypeTracker::TypeBackTracker t, Concepts::SystemCommandExecution shellExec