Python: Add Unit helper library

Like Java did in https://github.com/github/codeql/pull/4184
This commit is contained in:
Rasmus Wriedt Larsen
2020-11-12 18:01:28 +01:00
parent f70072a2db
commit 7e3dbb0149
3 changed files with 11 additions and 9 deletions

View File

@@ -35,6 +35,7 @@ import semmle.python.pointsto.Base
import semmle.python.pointsto.Context
import semmle.python.pointsto.CallGraph
import semmle.python.objects.ObjectAPI
import semmle.python.Unit
import site
// Removing this import perturbs the compilation process enough that the points-to analysis gets
// compiled -- and cached -- differently depending on whether the data flow library is imported. By