diff options
| author | Rusty Wagner <rusty@vector35.com> | 2017-02-06 22:27:42 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2017-02-06 22:27:42 -0500 |
| commit | 8df9a34dd67c852626432c84a5007be3173c33e0 (patch) | |
| tree | 251dd3cc6456da8bbceb835b937e9e8a65366a5c /binaryninjaapi.cpp | |
| parent | c6ed1dd374515d0e23a9d627a7dfb659c7981d16 (diff) | |
Add type IDs for types to track across renames
Diffstat (limited to 'binaryninjaapi.cpp')
| -rw-r--r-- | binaryninjaapi.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/binaryninjaapi.cpp b/binaryninjaapi.cpp index e1dab528..099f35eb 100644 --- a/binaryninjaapi.cpp +++ b/binaryninjaapi.cpp @@ -237,3 +237,12 @@ void BinaryNinja::SetWorkerThreadCount(size_t count) { BNSetWorkerThreadCount(count); } + + +string BinaryNinja::GetUniqueIdentifierString() +{ + char* str = BNGetUniqueIdentifierString(); + string result = str; + BNFreeString(str); + return result; +} |
