summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2016-09-09 03:29:14 -0400
committerRusty Wagner <rusty@vector35.com>2016-09-09 03:29:14 -0400
commit6be6ee30e5973fa4d5f29cebdeafdf05c3f4251e (patch)
treeacffac0a6d81c7037d532d65096a2d04fb45a47e /binaryninjaapi.h
parentf5e59b13b726a0d154dbe9351010ed3bd4b2b9e6 (diff)
Minor changes to API for creation of IL functions
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 a86f1067..9c7ff4f1 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -1788,7 +1788,7 @@ namespace BinaryNinja
BNNewLowLevelILFunctionReference, BNFreeLowLevelILFunction>
{
public:
- LowLevelILFunction(Architecture* arch);
+ LowLevelILFunction(Architecture* arch, Function* func = nullptr);
LowLevelILFunction(BNLowLevelILFunction* func);
uint64_t GetCurrentAddress() const;
@@ -1883,7 +1883,7 @@ namespace BinaryNinja
void AddLabelForAddress(Architecture* arch, ExprId addr);
BNLowLevelILLabel* GetLabelForAddress(Architecture* arch, ExprId addr);
- void Finalize(Function* func = nullptr);
+ void Finalize();
bool GetExprText(Architecture* arch, ExprId expr, std::vector<InstructionTextToken>& tokens);
bool GetInstructionText(Function* func, Architecture* arch, size_t i,