diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-05-06 16:47:15 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-06-11 17:37:26 -0400 |
| commit | 6091002460609793463078951047220893747923 (patch) | |
| tree | 4378eb62ee87b27365b44813413b2c2d839e445b /workflow.cpp | |
| parent | 3a1a81c3ddd8340432ecd2687d3a25195cc97d40 (diff) | |
Expose AnalysisContext::GetLiftedILFunction properly
It was already grabbing the Lifted IL through the function object, which may not be the most up to date
Diffstat (limited to 'workflow.cpp')
| -rw-r--r-- | workflow.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/workflow.cpp b/workflow.cpp index b2648d3a..13c69136 100644 --- a/workflow.cpp +++ b/workflow.cpp @@ -38,6 +38,15 @@ Ref<Function> AnalysisContext::GetFunction() } +Ref<LowLevelILFunction> AnalysisContext::GetLiftedILFunction() +{ + BNLowLevelILFunction* func = BNAnalysisContextGetLiftedILFunction(m_object); + if (!func) + return nullptr; + return new LowLevelILFunction(func); +} + + Ref<LowLevelILFunction> AnalysisContext::GetLowLevelILFunction() { BNLowLevelILFunction* func = BNAnalysisContextGetLowLevelILFunction(m_object); |
