summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2017-02-22 00:24:14 -0500
committerRusty Wagner <rusty@vector35.com>2017-02-22 00:24:14 -0500
commitc687ea8692ee553476280ee5b621e861b627fa80 (patch)
tree2cff5bca0fcead176ec23a1667366788de36ff81 /function.cpp
parent33ae06ad9a4dfe1e78467ebf7f82a4c95f8945eb (diff)
Add SSA form APIs
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp
index b1d008ee..d8a5a4a7 100644
--- a/function.cpp
+++ b/function.cpp
@@ -147,6 +147,12 @@ Ref<LowLevelILFunction> Function::GetLowLevelIL() const
}
+Ref<LowLevelILFunction> Function::GetLowLevelILSSAForm() const
+{
+ return new LowLevelILFunction(BNGetFunctionLowLevelILSSAForm(m_object));
+}
+
+
size_t Function::GetLowLevelILForInstruction(Architecture* arch, uint64_t addr)
{
return BNGetLowLevelILForInstruction(m_object, arch->GetObject(), addr);