MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / ResolveCallback

Method ResolveCallback

binaryview.cpp:5685–5692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5683
5684
5685void SymbolQueue::ResolveCallback(void* ctxt, BNSymbol** symbol, BNType** type)
5686{
5687 SymbolQueueResolveContext* resolve = (SymbolQueueResolveContext*)ctxt;
5688 auto result = resolve->resolve();
5689 delete resolve;
5690 *symbol = result.first ? BNNewSymbolReference(result.first->GetObject()) : nullptr;
5691 *type = result.second ? BNNewTypeReference(result.second->GetObject()) : nullptr;
5692}
5693
5694
5695void SymbolQueue::AddCallback(void* ctxt, BNSymbol* symbol, BNType* type)

Callers

nothing calls this directly

Calls 2

resolveMethod · 0.80
GetObjectMethod · 0.45

Tested by

no test coverage detected