diff options
| author | rollsafe <rollsafe@users.noreply.github.com> | 2019-06-11 18:21:55 -0400 |
|---|---|---|
| committer | rollsafe <rollsafe@users.noreply.github.com> | 2019-06-11 18:21:55 -0400 |
| commit | 547f60114d42d3d26c88a5e90cecd9196a09f696 (patch) | |
| tree | 021eb45eae2d8cd0e1ab38c471fa06f24fec9c97 /python | |
| parent | 97488505c92afbaebdb572fede4b2afdfce580e1 (diff) | |
Fix typo in function for user code refs
Diffstat (limited to 'python')
| -rw-r--r-- | python/function.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/function.py b/python/function.py index 56ba5f9c..e853670a 100644 --- a/python/function.py +++ b/python/function.py @@ -1313,7 +1313,7 @@ class Function(object): if from_arch is None: from_arch = self.arch - core.BNAddUserCodeRef(self.handle, from_arch.handle, from_addr, to_addr) + core.BNAddUserCodeReference(self.handle, from_arch.handle, from_addr, to_addr) def remove_user_code_ref(self, from_addr, to_addr, from_arch=None): """ @@ -1334,7 +1334,7 @@ class Function(object): if from_arch is None: from_arch = self.arch - core.BNRemoveUserCodeRef(self.handle, from_arch.handle, from_addr, to_addr) + core.BNRemoveUserCodeReference(self.handle, from_arch.handle, from_addr, to_addr) def get_low_level_il_at(self, addr, arch=None): """ |
