We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51c16ab commit e91ba10Copy full SHA for e91ba10
capa/features/extractors/ida/helpers.py
@@ -219,7 +219,7 @@ def is_operand_equal(op1: idaapi.op_t, op2: idaapi.op_t) -> bool:
219
220
221
def is_zxor(insn: idaapi.insn_t) -> bool:
222
- return is_xor(insn) and is_operand_equal(insn)
+ return is_xor(insn) and is_operand_equal(insn.Op1, insn.Op2)
223
224
225
def is_basic_block_equal(bb1: idaapi.BasicBlock, bb2: idaapi.BasicBlock) -> bool:
0 commit comments