I'm making a program to trace the program, but I am having trouble with the error like the title. Is there anyone who can understand something?
INS_InsertCall(ins, action, AFUNPTR(RegOpnd::at_call),
IARG_PTR, data,
IARG_PTR, this,
IARG_REG_VALUE, reg_,
IARG_END);
I checked that IARG_REG_VALUE was not compatible with xmm registers. How can I get the information?
As the documentation says:
You have two options, either:
IARG_REG_CONST_REFERENCE
(orIARG_REG_REFERENCE
if you wish to modify the register).IARG_CONST_CONTEXT
orIARG_CONTEXT
if you wish to modify any register in it) and inspect the registers in the context.I guess that the first option is the more meaningful one, so it should go approximately like the code below:
Warning: code below has not been tested / compiled...
Instrumentation:
Analysis: