diff options
| author | Peter LaFosse <peter@vector35.com> | 2017-01-02 15:19:47 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2017-01-02 15:19:47 -0500 |
| commit | 842aba557f24ca9ab63f05cec6aa0c0efebd51b4 (patch) | |
| tree | 484981f9b580958b647da146fd17be34a366d442 /python/examples/print_syscalls.py | |
| parent | 9ad395e9d45d18734f1afbf208c80bdafa6a7a3d (diff) | |
Making platform and architecture optional parameters where possible
Diffstat (limited to 'python/examples/print_syscalls.py')
| -rw-r--r-- | python/examples/print_syscalls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/print_syscalls.py b/python/examples/print_syscalls.py index c3b47a8d..003b388e 100644 --- a/python/examples/print_syscalls.py +++ b/python/examples/print_syscalls.py @@ -43,7 +43,7 @@ def print_syscalls(bv): syscalls = (il for il in chain.from_iterable(func.low_level_il) if il.operation == core.BNLowLevelILOperation.LLIL_SYSCALL) for il in syscalls: - value = func.get_reg_value_at(bv.arch, il.address, register).value + value = func.get_reg_value_at(il.address, register).value print("System call address: {:#x} - {:d}".format(il.address, value)) |
