summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/__init__.py b/python/__init__.py
index b6fa9294..ba3f1ba9 100644
--- a/python/__init__.py
+++ b/python/__init__.py
@@ -1411,6 +1411,9 @@ class BinaryView(object):
def create_user_function(self, platform, addr):
core.BNCreateUserFunction(self.handle, platform.handle, addr)
+ def remove_user_function(self, func):
+ core.BNRemoveUserFunction(self.handle, func.handle)
+
def update_analysis(self):
core.BNUpdateAnalysis(self.handle)