xcore: turn off doing_mem after each printing each instruction. this fixes a memory corruption reported by @felixgr
This commit is contained in:
parent
1ea95a15ed
commit
7c2f5b615a
|
@ -257,6 +257,7 @@ static void printInlineJT32(MCInst *MI, int OpNum, SStream *O)
|
|||
void XCore_printInst(MCInst *MI, SStream *O, void *Info)
|
||||
{
|
||||
printInstruction(MI, O, Info);
|
||||
set_mem_access(MI, false, 0);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue