fix that js/file-system-race could have FPs related to loops

This commit is contained in:
erik-krogh
2022-10-11 13:41:51 +02:00
parent 02656b16c3
commit 7500a31814
2 changed files with 6 additions and 1 deletions

View File

@@ -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