update IDA extractor to use non-canon mnemonics

This commit is contained in:
Michael Hunhoff
2021-07-27 13:32:57 -06:00
parent 7fd9ab5e88
commit c9b7162a5f
2 changed files with 2 additions and 1 deletions

View File

@@ -20,6 +20,7 @@
- explorer: add additional filter logic when displaying matches by function #686 @mike-hunhoff
- explorer: remove duplicate check when saving file #687 @mike-hunhoff
- explorer: update IDA extractor to use non-canon mnemonics #688 @mike-hunhoff
### Development

View File

@@ -337,7 +337,7 @@ def extract_insn_mnemonic_features(f, bb, insn):
bb (IDA BasicBlock)
insn (IDA insn_t)
"""
yield Mnemonic(insn.get_canon_mnem()), insn.ea
yield Mnemonic(idc.print_insn_mnem(insn.ea)), insn.ea
def extract_insn_peb_access_characteristic_features(f, bb, insn):