From 5cab99afa06eb32265fee4798cbfc83bd6a8ae4d Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Mon, 16 Jun 2025 17:20:26 -0400 Subject: Update SymbolQueue API to support types with confidence. --- binaryninjaapi.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 650fa8a2..23b14797 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -5758,7 +5758,7 @@ namespace BinaryNinja { \param type Type being defined \return The defined symbol */ - Ref DefineAutoSymbolAndVariableOrFunction(Ref platform, Ref sym, Ref type); + Ref DefineAutoSymbolAndVariableOrFunction(Ref platform, Ref sym, const Confidence>& type); /*! Undefine an automatically defined symbol @@ -18819,14 +18819,14 @@ namespace BinaryNinja { { BNSymbolQueue* m_object; - static void ResolveCallback(void* ctxt, BNSymbol** symbol, BNType** type); - static void AddCallback(void* ctxt, BNSymbol* symbol, BNType* type); + static void ResolveCallback(void* ctxt, BNSymbol** symbol, BNTypeWithConfidence* type); + static void AddCallback(void* ctxt, BNSymbol* symbol, BNTypeWithConfidence* type); public: SymbolQueue(); ~SymbolQueue(); - void Append(const std::function, Ref>()>& resolve, - const std::function& add); + void Append(const std::function, Confidence>>()>& resolve, + const std::function>&)>& add); void Process(); }; -- cgit v1.3.1