Skip to content

Commit dc69986

Browse files
committed
JS: Remove accidental SourceNode restriction
1 parent f0a4c2e commit dc69986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/ApiGraphs.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1672,7 +1672,7 @@ module API {
16721672

16731673
/** Holds if def-node tracking starting at `nd` can reach a node in the overlay. */
16741674
pragma[nomagic]
1675-
private predicate shouldBacktrackIntoOverlay(DataFlow::SourceNode nd) {
1675+
private predicate shouldBacktrackIntoOverlay(DataFlow::Node nd) {
16761676
exists(DataFlow::Node overlayNode |
16771677
stepOutOfOverlay(overlayNode, Stage1Local::trackDefNodeAnyState(nd))
16781678
)

0 commit comments

Comments
 (0)