From fdada2c752ab21cce2f6971e3270a4a3eb4faada Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 28 Jul 2016 00:06:34 -0400 Subject: Add API to remove user function --- python/__init__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python') 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) -- cgit v1.3.1