mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
C++: Fix a bug that slipped into fd477383b0.
This commit is contained in:
@@ -435,8 +435,7 @@ abstract class StackVariableReachability extends string {
|
||||
not exists(Condition cond | cond = getACondition(source, v, pred) |
|
||||
succ = pred.getATrueSuccessor() and
|
||||
cond.refutesCondition(pragma[only_bind_out](MkCondition(pred.getEnd(), true)))
|
||||
)
|
||||
or
|
||||
) and
|
||||
// If we picked the successor edge corresponding to a condition being false, there must not be
|
||||
// another path condition that refutes that the condition is false.
|
||||
not exists(Condition cond | cond = getACondition(source, v, pred) |
|
||||
|
||||
Reference in New Issue
Block a user