diff options
| -rw-r--r-- | binaryninjacore.h | 1 | ||||
| -rw-r--r-- | python/__init__.py | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index b2ed7cd3..fd0c7b00 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -1197,6 +1197,7 @@ extern "C" BINARYNINJACOREAPI uint32_t BNGetBuildId(void); BINARYNINJACOREAPI bool BNIsLicenseValidated(void); + BINARYNINJACOREAPI char* BNGetProduct(void); BINARYNINJACOREAPI void BNRegisterObjectDestructionCallbacks(BNObjectDestructionCallbacks* callbacks); BINARYNINJACOREAPI void BNUnregisterObjectDestructionCallbacks(BNObjectDestructionCallbacks* callbacks); diff --git a/python/__init__.py b/python/__init__.py index 0576fedd..6b285c1c 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -79,4 +79,10 @@ bundled_plugin_path = core.BNGetBundledPluginDirectory() user_plugin_path = core.BNGetUserPluginDirectory() core_version = core.BNGetVersionString() +'''Core version''' + core_build_id = core.BNGetBuildId() +'''Build ID''' + +core_product = core.BNGetProduct() +'''Product string from the license file''' |
