mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 11:07:53 -08:00
update IDA extractor to use non-canon mnemonics
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user