diff options
| author | Mason Reed <mason@vector35.com> | 2025-07-10 01:32:32 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-07-15 12:34:43 -0400 |
| commit | 1c01b00d87e45c7ae8eb6320b20e7dcf67915d77 (patch) | |
| tree | e861d689ad737bb1140cd24654d74bbd82c3068d /plugins/efi_resolver/src/Resolver.cpp | |
| parent | 99e442620e8e19053120dc44239372d1fb5a3053 (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 'plugins/efi_resolver/src/Resolver.cpp')
| -rw-r--r-- | plugins/efi_resolver/src/Resolver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<HighLevelILInstruction> Resolver::HighLevelILExprsAt(Ref<Function> 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); |
