summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2025-06-16 17:20:26 -0400
committerBrian Potchik <brian@vector35.com>2025-06-16 17:20:26 -0400
commit5cab99afa06eb32265fee4798cbfc83bd6a8ae4d (patch)
treea641c9e2f86c29aa78dc50598477cc861e22df6e /binaryninjaapi.h
parent979515fb42365fbe6f000086ef13c125150f36c3 (diff)
Update SymbolQueue API to support types with confidence.
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h10
1 files changed, 5 insertions, 5 deletions
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<Symbol> DefineAutoSymbolAndVariableOrFunction(Ref<Platform> platform, Ref<Symbol> sym, Ref<Type> type);
+ Ref<Symbol> DefineAutoSymbolAndVariableOrFunction(Ref<Platform> platform, Ref<Symbol> sym, const Confidence<Ref<Type>>& 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<std::pair<Ref<Symbol>, Ref<Type>>()>& resolve,
- const std::function<void(Symbol*, Type*)>& add);
+ void Append(const std::function<std::pair<Ref<Symbol>, Confidence<Ref<Type>>>()>& resolve,
+ const std::function<void(Symbol*, const Confidence<Ref<Type>>&)>& add);
void Process();
};