diff options
| author | Mason Reed <mason@vector35.com> | 2025-07-10 01:35:51 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-07-15 12:34:43 -0400 |
| commit | 7a525174fd59204330690a8f9d65fe2a3046cd38 (patch) | |
| tree | ccaf7971640ad380bf71acdf8da96011084fbfdd /plugins/warp/api/warp.cpp | |
| parent | 0fcfd654fc35830589613bdf22a39a2980dfcb7d (diff) | |
[WARP] Add `IsInstructionComputedVariant` API
Was previously not exposed, we want it for unit tests.
Diffstat (limited to 'plugins/warp/api/warp.cpp')
| -rw-r--r-- | plugins/warp/api/warp.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/warp/api/warp.cpp b/plugins/warp/api/warp.cpp index 7d91c6e2..147add8e 100644 --- a/plugins/warp/api/warp.cpp +++ b/plugins/warp/api/warp.cpp @@ -319,6 +319,11 @@ bool IsInstructionBlacklisted(const BinaryNinja::LowLevelILFunction &function, B return BNWARPIsLiftedInstructionBlacklisted(function.m_object, idx); } +bool IsInstructionComputedVariant(const BinaryNinja::LowLevelILFunction &function, BinaryNinja::ExprId idx) +{ + return BNWARPIsLowLevelInstructionComputedVariant(function.m_object, idx); +} + std::optional<FunctionGUID> Warp::GetAnalysisFunctionGUID(const BinaryNinja::Function &function) { FunctionGUID guid; |
