Skip to content
Snippets Groups Projects
Commit 3f997761 authored by jdh8d's avatar jdh8d
Browse files

fixed push/pop calls to match standardized operand definition

Former-commit-id: 4a0eed0913fe91c08367dac14285a616fa2f2a9e
parent a4dd8e8a
No related branches found
No related tags found
No related merge requests found
......@@ -359,7 +359,7 @@ bool DecodedOperandCapstone_t::hasBaseRegister() const
{
const auto the_insn=static_cast<cs_insn*>(my_insn.get());
const auto &op = (the_insn->detail->x86.operands[op_num]);
return isMemory() && op.mem.base!=X86_REG_INVALID;
return isMemory() && op.mem.base!=X86_REG_INVALID && op.mem.base!=X86_REG_RIP;
}
bool DecodedOperandCapstone_t::hasIndexRegister() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment