diff options
Diffstat (limited to 'lowlevelil.cpp')
| -rw-r--r-- | lowlevelil.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lowlevelil.cpp b/lowlevelil.cpp index 514595bb..cc1cb6d0 100644 --- a/lowlevelil.cpp +++ b/lowlevelil.cpp @@ -97,6 +97,12 @@ void LowLevelILFunction::SetCurrentAddress(Architecture* arch, uint64_t addr) } +void LowLevelILFunction::SetCurrentSourceBlock(BasicBlock* source) +{ + BNLowLevelILSetCurrentSourceBlock(m_object, source->GetObject()); +} + + size_t LowLevelILFunction::GetInstructionStart(Architecture* arch, uint64_t addr) { return BNLowLevelILGetInstructionStart(m_object, arch ? arch->GetObject() : nullptr, addr); @@ -145,6 +151,12 @@ void LowLevelILFunction::SetIndirectBranches(const vector<ArchAndAddr>& branches } +bool LowLevelILFunction::HasIndirectBranches() const +{ + return BNLowLevelILFunctionHasIndirectBranches(m_object); +} + + std::vector<uint32_t> LowLevelILFunction::GetRegisters() { std::vector<uint32_t> result; |
