summaryrefslogtreecommitdiff
path: root/python/examples/triage/imports.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-07-07 08:26:29 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-05 10:09:09 -0400
commit764063b2b44dbeba5f2f318c971e4f4acfb48427 (patch)
treee014fe6a859b97a653cef80dc9db66a06c706c37 /python/examples/triage/imports.py
parentd376db916f5fc83f9e654edf23364d200839ac50 (diff)
Refactor Python Types
Remove _mutable types
Diffstat (limited to 'python/examples/triage/imports.py')
-rw-r--r--python/examples/triage/imports.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/triage/imports.py b/python/examples/triage/imports.py
index 09477bff..55b09c6d 100644
--- a/python/examples/triage/imports.py
+++ b/python/examples/triage/imports.py
@@ -147,7 +147,7 @@ def find_dynamically_linked_funcs(bv):
output_var = call.output.vars_written[0]
symbol_name = bv.get_ascii_string_at(symbol_name_addr.value).value
#Add confidence to both the args and the return of zero
- symbol_type = Type.pointer(bv.arch, bv.parse_type_string("void foo()")[0])
+ symbol_type = Type.pointer(bv.parse_type_string("void foo()")[0], arch=bv.arch)
if len(symbol_name) == 0:
continue