summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2020-05-28 09:49:16 -0400
committerPeter LaFosse <peter@vector35.com>2020-05-28 11:27:33 -0400
commit1f8ca3f77de08b5c581693153bf1ef580c912a0e (patch)
tree8a9c3d33c730513b1d16f7dbc15db73fd188b848 /binaryninjaapi.h
parent95c8fa5b0cea3daa4dba774a2dab612c3d3fe39f (diff)
Add optional type to define as in Function::ApplyImportedTypes and BinaryView::DefineImportedFunction APIs
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index d0e23d28..c5367026 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -1580,7 +1580,7 @@ __attribute__ ((format (printf, 1, 2)))
void DefineUserSymbol(Ref<Symbol> sym);
void UndefineUserSymbol(Ref<Symbol> sym);
- void DefineImportedFunction(Ref<Symbol> importAddressSym, Ref<Function> func);
+ void DefineImportedFunction(Ref<Symbol> importAddressSym, Ref<Function> func, Ref<Type> type = nullptr);
void AddTagType(Ref<TagType> tagType);
void RemoveTagType(Ref<TagType> tagType);
@@ -3027,7 +3027,7 @@ __attribute__ ((format (printf, 1, 2)))
void SetRegisterStackAdjustments(const std::map<uint32_t, Confidence<int32_t>>& regStackAdjust);
void SetClobberedRegisters(const Confidence<std::set<uint32_t>>& clobbered);
- void ApplyImportedTypes(Symbol* sym);
+ void ApplyImportedTypes(Symbol* sym, Ref<Type> type = nullptr);
void ApplyAutoDiscoveredType(Type* type);
Ref<FlowGraph> CreateFunctionGraph(BNFunctionGraphType type, DisassemblySettings* settings = nullptr);