Fix branch suppression for ARM64

This commit is contained in:
Your 2022-12-01 18:17:21 +00:00
parent 6dd9764cf6
commit 0885dda767

View File

@ -196,7 +196,7 @@ static void instrument_coverage_switch(GumStalkerObserver *self,
insn = instrument_disassemble(from_insn); insn = instrument_disassemble(from_insn);
deterministic = instrument_is_deterministic(insn); deterministic = instrument_is_deterministic(insn);
cs_free(insn, 1); cs_free(insn, 1);
if (deterministic) { return; } if (!deterministic) { return; }
/* /*
* Since each block is prefixed with a restoration prologue, we need to be * Since each block is prefixed with a restoration prologue, we need to be