C++: Change definition of isChiForAllAliasedMemory to recurse through inexact PhiInstructions

This commit is contained in:
Mathias Vorreiter Pedersen
2020-02-26 10:21:27 +01:00
parent db33c360bc
commit d942a3b54a

View File

@@ -275,7 +275,7 @@ private predicate isChiForAllAliasedMemory(Instruction instr) {
or
isChiForAllAliasedMemory(instr.(ChiInstruction).getTotal())
or
isChiForAllAliasedMemory(instr.(PhiInstruction).getAnInput())
isChiForAllAliasedMemory(instr.(PhiInstruction).getAnInputOperand().getAnyDef() )
}
private predicate modelTaintToReturnValue(Function f, int parameterIn) {