mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Merge pull request #2592 from tausbn/python-remove-manual-tc-in-ssashortcut
Python: Remove manual TC from `ssaShortCut`.
This commit is contained in:
@@ -284,7 +284,7 @@ cached module PointsToInternal {
|
||||
ssa_definition_points_to(var.getDefinition(), context, value, origin)
|
||||
or
|
||||
exists(EssaVariable prev |
|
||||
ssaShortCut(prev, var) and
|
||||
ssaShortCut+(prev, var) and
|
||||
variablePointsTo(prev, context, value, origin)
|
||||
)
|
||||
}
|
||||
@@ -305,10 +305,6 @@ cached module PointsToInternal {
|
||||
start = def.getInput() and
|
||||
end.getDefinition() = def
|
||||
)
|
||||
or
|
||||
exists(EssaVariable mid |
|
||||
ssaShortCut(start, mid) and ssaShortCut(mid, end)
|
||||
)
|
||||
}
|
||||
|
||||
pragma [noinline]
|
||||
|
||||
Reference in New Issue
Block a user