bugfix related to predicated instructions

This commit is contained in:
Rajshekar K K 2021-01-20 15:33:57 +05:30
parent fa8251d31d
commit 013679c50d
1 changed files with 1 additions and 1 deletions

View File

@ -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();