summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2022-09-28 18:21:13 -0400
committerKyleMiles <krm504@nyu.edu>2022-10-04 15:36:26 -0400
commit3104042adab833e73a71738f57070ab881ade615 (patch)
tree4e5280c162a3f681dab5be6c15dba749d5c30115 /binaryninjaapi.h
parented820d2ab81470b3e5ac543d75211e87ff3bc738 (diff)
Rename and move `Analysis/Database Merge Tool` to `File/Merge Databases`; Add API bindings for `BinaryView::GetDebugInfo()`, `BinaryView::ApplyDebugInfo()`, and `BinaryView::SetDebugInfo()`; Remove `analysis.experimental.parseDebugInfo`
(in favor of `loader.debugInfoInternal` and `loader.debugInfoExternal`)
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 91395a90..b58db5cb 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -2480,6 +2480,7 @@ namespace BinaryNinja {
class NamedTypeReference;
struct TypeParserResult;
class Component;
+ class DebugInfo;
class QueryMetadataException : public std::exception
{
@@ -3631,6 +3632,10 @@ namespace BinaryNinja {
*/
void DefineImportedFunction(Ref<Symbol> importAddressSym, Ref<Function> func, Ref<Type> type = nullptr);
+ Ref<DebugInfo> GetDebugInfo();
+ void ApplyDebugInfo(Ref<DebugInfo> newDebugInfo);
+ void SetDebugInfo(Ref<DebugInfo> newDebugInfo);
+
void BeginBulkModifySymbols();
void EndBulkModifySymbols();