summaryrefslogtreecommitdiff
path: root/lowlevelil.cpp
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 /lowlevelil.cpp
parentf5e59b13b726a0d154dbe9351010ed3bd4b2b9e6 (diff)
Minor changes to API for creation of IL functions
Diffstat (limited to 'lowlevelil.cpp')
-rw-r--r--lowlevelil.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lowlevelil.cpp b/lowlevelil.cpp
index 550accc2..a312bbd6 100644
--- a/lowlevelil.cpp
+++ b/lowlevelil.cpp
@@ -30,9 +30,9 @@ LowLevelILLabel::LowLevelILLabel()
}
-LowLevelILFunction::LowLevelILFunction(Architecture* arch)
+LowLevelILFunction::LowLevelILFunction(Architecture* arch, Function* func)
{
- m_object = BNCreateLowLevelILFunction(arch->GetObject());
+ m_object = BNCreateLowLevelILFunction(arch->GetObject(), func ? func->GetObject() : nullptr);
}
@@ -559,9 +559,9 @@ BNLowLevelILLabel* LowLevelILFunction::GetLabelForAddress(Architecture* arch, Ex
}
-void LowLevelILFunction::Finalize(Function* func)
+void LowLevelILFunction::Finalize()
{
- BNFinalizeLowLevelILFunction(m_object, func ? func->GetObject() : nullptr);
+ BNFinalizeLowLevelILFunction(m_object);
}