diff options
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp index c218a78e..0cffb6bc 100644 --- a/function.cpp +++ b/function.cpp @@ -293,6 +293,12 @@ Ref<LowLevelILFunction> Function::GetLowLevelIL() const } +Ref<LowLevelILFunction> Function::GetLowLevelILIfAvailable() const +{ + return new LowLevelILFunction(BNGetFunctionLowLevelILIfAvailable(m_object)); +} + + size_t Function::GetLowLevelILForInstruction(Architecture* arch, uint64_t addr) { return BNGetLowLevelILForInstruction(m_object, arch->GetObject(), addr); @@ -467,6 +473,12 @@ Ref<LowLevelILFunction> Function::GetLiftedIL() const } +Ref<LowLevelILFunction> Function::GetLiftedILIfAvailable() const +{ + return new LowLevelILFunction(BNGetFunctionLiftedILIfAvailable(m_object)); +} + + size_t Function::GetLiftedILForInstruction(Architecture* arch, uint64_t addr) { return BNGetLiftedILForInstruction(m_object, arch->GetObject(), addr); @@ -527,6 +539,12 @@ Ref<MediumLevelILFunction> Function::GetMediumLevelIL() const } +Ref<MediumLevelILFunction> Function::GetMediumLevelILIfAvailable() const +{ + return new MediumLevelILFunction(BNGetFunctionMediumLevelILIfAvailable(m_object)); +} + + Ref<Type> Function::GetType() const { return new Type(BNGetFunctionType(m_object)); |
