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

Method DefineAutoSymbolAndVariableOrFunction

binaryview.cpp:3121–3128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3119
3120
3121Ref<Symbol> BinaryView::DefineAutoSymbolAndVariableOrFunction(Ref<Platform> platform, Ref<Symbol> sym, Ref<Type> type)
3122{
3123 BNSymbol* result = BNDefineAutoSymbolAndVariableOrFunction(
3124 m_object, platform ? platform->GetObject() : nullptr, sym->GetObject(), type ? type->GetObject() : nullptr);
3125 if (!result)
3126 return nullptr;
3127 return new Symbol(result);
3128}
3129
3130
3131void BinaryView::UndefineAutoSymbol(Ref<Symbol> sym)

Callers 3

DefineObjCSymbolMethod · 0.80
ParseSymbolTableMethod · 0.80
ApplySymbolFunction · 0.80

Calls 1

GetObjectMethod · 0.45

Tested by

no test coverage detected