From c4b1dd712783e7474570705e6d95183a0c02a76e Mon Sep 17 00:00:00 2001 From: Xusheng Date: Fri, 5 Feb 2021 20:28:13 +0800 Subject: add persistent search result --- basicblock.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'basicblock.cpp') diff --git a/basicblock.cpp b/basicblock.cpp index e2e58432..3e3fccef 100644 --- a/basicblock.cpp +++ b/basicblock.cpp @@ -475,3 +475,9 @@ Ref BasicBlock::GetMediumLevelILFunction() const return nullptr; return new MediumLevelILFunction(func); } + + +bool BasicBlock::GetInstructionContainingAddress(uint64_t addr, uint64_t* start) +{ + return BNGetBasicBlockInstructionContainingAddress(m_object, addr, start); +} -- cgit v1.3.1