Skip to content

Commit 8ee020f

Browse files
authored
Merge pull request github#7332 from tausbn/python-fix-bad-scope-entry-points-to-join
Python: Fix bad `scope_entry_points_to` join
2 parents 6e16704 + e7c298d commit 8ee020f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/ql/lib/semmle/python/pointsto/PointsTo.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,7 @@ module PointsToInternal {
656656
builtin_not_in_outer_scope(def, context, value, origin)
657657
}
658658

659+
pragma[nomagic]
659660
private predicate undefined_variable(
660661
ScopeEntryDefinition def, PointsToContext context, ObjectInternal value, ControlFlowNode origin
661662
) {
@@ -674,6 +675,7 @@ module PointsToInternal {
674675
origin = def.getDefiningNode()
675676
}
676677

678+
pragma[nomagic]
677679
private predicate builtin_not_in_outer_scope(
678680
ScopeEntryDefinition def, PointsToContext context, ObjectInternal value, ControlFlowNode origin
679681
) {

0 commit comments

Comments
 (0)