Update capa/features/extractors/dnfile/insn.py

Co-authored-by: Mike Hunhoff <mike.hunhoff@gmail.com>
This commit is contained in:
Willi Ballenthin
2022-06-08 10:00:21 -06:00
committed by GitHub
parent bfda997fdf
commit f35a82562b

View File

@@ -161,7 +161,7 @@ def extract_unmanaged_call_characteristic_features(
return
if any((token.Flags.mdPinvokeImpl, token.ImplFlags.miUnmanaged, token.ImplFlags.miNative)):
yield Characteristic("unmanaged call"), insn.offset
yield Characteristic("unmanaged call"), ih.address
def extract_features(fh: FunctionHandle, bbh: BBHandle, ih: InsnHandle) -> Iterator[Tuple[Feature, Address]]: