diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2017-01-20 18:52:34 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2017-01-20 18:52:34 -0500 |
| commit | 4beca85ef057f93b7f07a46580ae1c920fd571a1 (patch) | |
| tree | d3213c61c5b73dbb480f7e8fa8aa05a72bb118ca | |
| parent | a050faeb0fcc978faed1bc528fa6c9c57c73d3ab (diff) | |
add product id from license file
| -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''' |
