From 7a525174fd59204330690a8f9d65fe2a3046cd38 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 10 Jul 2025 01:35:51 -0400 Subject: [WARP] Add `IsInstructionComputedVariant` API Was previously not exposed, we want it for unit tests. --- plugins/warp/api/warp.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/warp/api/warp.cpp') 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 Warp::GetAnalysisFunctionGUID(const BinaryNinja::Function &function) { FunctionGUID guid; -- cgit v1.3.1