From 1c01b00d87e45c7ae8eb6320b20e7dcf67915d77 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 10 Jul 2025 01:32:32 -0400 Subject: 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. --- binaryninjaapi.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'binaryninjaapi.h') 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 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 GetLowLevelILInstructionsForAddress(Architecture* arch, uint64_t addr); - std::vector GetLowLevelILExitsForInstruction(Architecture* arch, uint64_t addr); - std::pair 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 GetInstructionsAt(Architecture* arch, uint64_t addr); + + std::vector GetExitsForInstruction(size_t i); void ClearIndirectBranches(); void SetIndirectBranches(const std::vector& branches); -- cgit v1.3.1