mirror of
https://github.com/github/codeql.git
synced 2026-04-20 06:24:03 +02:00
fix that js/file-system-race could have FPs related to loops
This commit is contained in:
@@ -106,7 +106,7 @@ predicate useAfterCheck(FileCheck check, FileUse use) {
|
||||
)
|
||||
)
|
||||
or
|
||||
check.getBasicBlock().getASuccessor+() = use.getBasicBlock()
|
||||
check.getBasicBlock().(ReachableBasicBlock).strictlyDominates(use.getBasicBlock())
|
||||
}
|
||||
|
||||
from FileCheck check, FileUse use
|
||||
|
||||
Reference in New Issue
Block a user