summaryrefslogtreecommitdiff
path: root/python/__init__.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-01-05 09:14:31 -0500
committerPeter LaFosse <peter@vector35.com>2017-01-05 09:14:31 -0500
commit4761ea9c83104b872d8d49fcde45f17d17e7872d (patch)
tree0acca0d74701a834c36f85aebd7dd9955ecbfb8f /python/__init__.py
parent96acbed85902d8dfd43ef624afac72145ae6e577 (diff)
Modifying how enumerations are exposed and used, and a bunch of cleanup of existing plugins
Diffstat (limited to 'python/__init__.py')
-rw-r--r--python/__init__.py51
1 files changed, 29 insertions, 22 deletions
diff --git a/python/__init__.py b/python/__init__.py
index 2a1139f9..a1ea02f5 100644
--- a/python/__init__.py
+++ b/python/__init__.py
@@ -18,30 +18,37 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
+
# Binary Ninja components
import _binaryninjacore as core
-from databuffer import *
-from filemetadata import *
-from fileaccessor import *
-from binaryview import *
-from transform import *
-from architecture import *
-from basicblock import *
-from function import *
-from log import *
-from lowlevelil import *
-from bntype import *
-from functionrecognizer import *
-from update import *
-from plugin import *
-from callingconvention import *
-from platform import *
-from demangle import *
-from mainthread import *
-from interaction import *
-from lineardisassembly import *
-from undoaction import *
-from highlight import *
+from .enums import *
+from .databuffer import *
+from .filemetadata import *
+from .fileaccessor import *
+from .binaryview import *
+from .transform import *
+from .architecture import *
+from .basicblock import *
+from .function import *
+from .log import *
+from .lowlevelil import *
+from .types import *
+from .functionrecognizer import *
+from .update import *
+from .plugin import *
+from .callingconvention import *
+from .platform import *
+from .demangle import *
+from .mainthread import *
+from .interaction import *
+from .lineardisassembly import *
+from .undoaction import *
+from .highlight import *
+from .scriptingprovider import *
+
+
+def shutdown():
+ core.BNShutdown()
class _DestructionCallbackHandler(object):