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. --- plugins/efi_resolver/src/Resolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/efi_resolver/src/Resolver.cpp') diff --git a/plugins/efi_resolver/src/Resolver.cpp b/plugins/efi_resolver/src/Resolver.cpp index 5796b0e0..9699b043 100644 --- a/plugins/efi_resolver/src/Resolver.cpp +++ b/plugins/efi_resolver/src/Resolver.cpp @@ -308,7 +308,7 @@ vector Resolver::HighLevelILExprsAt(Ref func, auto mlil = func->GetMediumLevelIL(); auto hlil = func->GetHighLevelIL(); - size_t llilIdx = func->GetLowLevelILForInstruction(arch, addr); + size_t llilIdx = llil->GetInstructionStart(arch, addr); size_t llilExprIdx = llil->GetIndexForInstruction(llilIdx); auto mlilIdxes = llil->GetMediumLevelILExprIndexes(llilExprIdx); -- cgit v1.3.1