From 554f5dfe46f24682b39169d3d46c43cd5fa59489 Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Sat, 25 Jul 2020 01:41:31 -0600 Subject: [PATCH] ida: insn: don't ignore offset 0x0 --- capa/features/extractors/ida/insn.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/capa/features/extractors/ida/insn.py b/capa/features/extractors/ida/insn.py index fe4781c7..c180c2fa 100644 --- a/capa/features/extractors/ida/insn.py +++ b/capa/features/extractors/ida/insn.py @@ -144,8 +144,6 @@ def extract_insn_offset_features(f, bb, insn): continue p_info = capa.features.extractors.ida.helpers.get_op_phrase_info(op) op_off = p_info.get("offset", 0) - if 0 == op_off: - continue if idaapi.is_mapped(op_off): # Ignore: # mov esi, dword_1005B148[esi]