summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-07-10 01:32:32 -0400
committerMason Reed <mason@vector35.com>2025-07-15 12:34:43 -0400
commit1c01b00d87e45c7ae8eb6320b20e7dcf67915d77 (patch)
treee861d689ad737bb1140cd24654d74bbd82c3068d /binaryninjaapi.h
parent99e442620e8e19053120dc44239372d1fb5a3053 (diff)
Move LLIL instruction retrieval into the LLIL function where it belongs
The python API was kept the same seeing as we are close to the release, will likely start deprecating some of those API's soon.
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index c15cf24d..cb2d3632 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -11345,16 +11345,6 @@ namespace BinaryNinja {
*/
Ref<LowLevelILFunction> GetLowLevelILIfAvailable() const;
- /*! Get the Low Level IL Instruction start for an instruction at an address
-
- \param arch Architecture for the instruction
- \param addr Address of the instruction
- \return Start address of the instruction
- */
- size_t GetLowLevelILForInstruction(Architecture* arch, uint64_t addr);
- std::set<size_t> GetLowLevelILInstructionsForAddress(Architecture* arch, uint64_t addr);
- std::vector<size_t> GetLowLevelILExitsForInstruction(Architecture* arch, uint64_t addr);
-
std::pair<DataBuffer, BNBuiltinType> GetConstantData(
BNRegisterValueType state, uint64_t value, size_t size = 0);
@@ -12289,6 +12279,9 @@ namespace BinaryNinja {
uint64_t GetCurrentAddress() const;
void SetCurrentAddress(Architecture* arch, uint64_t addr);
size_t GetInstructionStart(Architecture* arch, uint64_t addr);
+ std::set<size_t> GetInstructionsAt(Architecture* arch, uint64_t addr);
+
+ std::vector<size_t> GetExitsForInstruction(size_t i);
void ClearIndirectBranches();
void SetIndirectBranches(const std::vector<ArchAndAddr>& branches);