mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
update to support running in IDA w/ Python 3
This commit is contained in:
@@ -192,7 +192,7 @@ def ida_main():
|
||||
functions = extractor.get_functions()
|
||||
|
||||
if function:
|
||||
functions = filter(lambda f: f.start_ea == function, functions)
|
||||
functions = tuple(filter(lambda f: f.start_ea == function, functions))
|
||||
|
||||
if len(functions) == 0:
|
||||
print("0x%X not a function" % function)
|
||||
|
||||
Reference in New Issue
Block a user