Skip to content

Commit 88c74b2

Browse files
authored
Merge pull request github#2917 from MathiasVP/inexact-is-chi-for-all-aliased-memory
C++: `isChiForAllAliasedMemory` recursion through inexact Phi operands
2 parents 4f23acf + 9df7a7a commit 88c74b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/ir/dataflow/DefaultTaintTracking.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ private predicate isChiForAllAliasedMemory(Instruction instr) {
275275
or
276276
isChiForAllAliasedMemory(instr.(ChiInstruction).getTotal())
277277
or
278-
isChiForAllAliasedMemory(instr.(PhiInstruction).getAnInput())
278+
isChiForAllAliasedMemory(instr.(PhiInstruction).getAnInputOperand().getAnyDef())
279279
}
280280

281281
private predicate modelTaintToReturnValue(Function f, int parameterIn) {

0 commit comments

Comments
 (0)