From 013679c50df04ce651d76bdc23d6ef26012cfe01 Mon Sep 17 00:00:00 2001 From: "rajshekar.k" Date: Wed, 20 Jan 2021 15:33:57 +0530 Subject: [PATCH] bugfix related to predicated instructions --- src/emulator/pin/causalityTool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emulator/pin/causalityTool.cpp b/src/emulator/pin/causalityTool.cpp index 6c707dd..216fd5d 100755 --- a/src/emulator/pin/causalityTool.cpp +++ b/src/emulator/pin/causalityTool.cpp @@ -612,7 +612,7 @@ VOID printip(THREADID tid, VOID *ip, char *asmString, bool predicateInsnNotExecu uint64_t nip = MASK & (uint64_t) ip; if(traceMethod==SharedMemory) { - if(predicateInsnNotExecuted) + if(!predicateInsnNotExecuted) { while (tst->analysisFn(tid, nip, PREDICATE_INSN_NOT_EXECUTED, 1) == -1) { PIN_Yield();