summaryrefslogtreecommitdiff
path: root/python/examples/jump_table.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-01-02 15:19:47 -0500
committerPeter LaFosse <peter@vector35.com>2017-01-02 15:19:47 -0500
commit842aba557f24ca9ab63f05cec6aa0c0efebd51b4 (patch)
tree484981f9b580958b647da146fd17be34a366d442 /python/examples/jump_table.py
parent9ad395e9d45d18734f1afbf208c80bdafa6a7a3d (diff)
Making platform and architecture optional parameters where possible
Diffstat (limited to 'python/examples/jump_table.py')
-rw-r--r--python/examples/jump_table.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/jump_table.py b/python/examples/jump_table.py
index 23531de0..0fd0dbab 100644
--- a/python/examples/jump_table.py
+++ b/python/examples/jump_table.py
@@ -77,7 +77,7 @@ def find_jump_table(bv, addr):
i += 1
# Set the indirect branch targets on the jump instruction to be the list of targets discovered
- func.set_user_indirect_branches(arch, jump_addr, branches)
+ func.set_user_indirect_branches(jump_addr, branches)
# Create a plugin command so that the user can right click on an instruction referencing a jump table and
# invoke the command