summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/function.cpp b/function.cpp
index 209537b7..b8429998 100644
--- a/function.cpp
+++ b/function.cpp
@@ -124,20 +124,6 @@ Ref<LowLevelILFunction> Function::GetLowLevelIL() const
}
-vector<Ref<BasicBlock>> Function::GetLowLevelILBasicBlocks() const
-{
- size_t count;
- BNBasicBlock** blocks = BNGetFunctionLowLevelILBasicBlockList(m_object, &count);
-
- vector<Ref<BasicBlock>> result;
- for (size_t i = 0; i < count; i++)
- result.push_back(new BasicBlock(BNNewBasicBlockReference(blocks[i])));
-
- BNFreeBasicBlockList(blocks, count);
- return result;
-}
-
-
size_t Function::GetLowLevelILForInstruction(Architecture* arch, uint64_t addr)
{
return BNGetLowLevelILForInstruction(m_object, arch->GetObject(), addr);
@@ -235,20 +221,6 @@ Ref<LowLevelILFunction> Function::GetLiftedIL() const
}
-vector<Ref<BasicBlock>> Function::GetLiftedILBasicBlocks() const
-{
- size_t count;
- BNBasicBlock** blocks = BNGetFunctionLiftedILBasicBlockList(m_object, &count);
-
- vector<Ref<BasicBlock>> result;
- for (size_t i = 0; i < count; i++)
- result.push_back(new BasicBlock(BNNewBasicBlockReference(blocks[i])));
-
- BNFreeBasicBlockList(blocks, count);
- return result;
-}
-
-
size_t Function::GetLiftedILForInstruction(Architecture* arch, uint64_t addr)
{
return BNGetLiftedILForInstruction(m_object, arch->GetObject(), addr);