mirror of
https://github.com/geohot/qira
synced 2025-01-28 21:25:13 +03:00
Merge pull request #1 from janbbeck/janbbeck-patch-xsavec
Fix bug in PIN plugin using xsavec
This commit is contained in:
commit
8fa5660a8e
@ -650,6 +650,11 @@ VOID Instruction(INS ins, VOID *v) {
|
||||
// TODO: Bitch at the PIN folks.
|
||||
return;
|
||||
}
|
||||
if(INS_Mnemonic(ins) == "XSAVEC") {
|
||||
// Avoids "Cannot use IARG_MEMORYWRITE_SIZE on non-standard memory access of instruction at 0xfoo: xsavec ptr [rsp]"
|
||||
// TODO: Bitch at the PIN folks.
|
||||
return;
|
||||
}
|
||||
|
||||
for(UINT32 i = 0; i < memOps; i++) {
|
||||
if(!filtered && INS_MemoryOperandIsRead(ins, i)) {
|
||||
@ -969,4 +974,3 @@ int main(int argc, char *argv[]) {
|
||||
process_state.init(PIN_GetPid());
|
||||
PIN_StartProgram(); // Note that this unwinds the stack!
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user