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

Method BeginLinesCallback

languagerepresentation.cpp:148–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146
147
148void LanguageRepresentationFunction::BeginLinesCallback(void* ctxt, BNHighLevelILFunction* il, size_t exprIndex,
149 BNHighLevelILTokenEmitter* tokens)
150{
151 LanguageRepresentationFunction* func = (LanguageRepresentationFunction*)ctxt;
152 Ref<HighLevelILFunction> ilObj = new HighLevelILFunction(BNNewHighLevelILFunctionReference(il));
153 HighLevelILInstruction instr = ilObj->GetExpr(exprIndex);
154 Ref<HighLevelILTokenEmitter> tokenObj = new HighLevelILTokenEmitter(BNNewHighLevelILTokenEmitterReference(tokens));
155 func->BeginLines(instr, *tokenObj);
156}
157
158
159void LanguageRepresentationFunction::EndLinesCallback(void* ctxt, BNHighLevelILFunction* il, size_t exprIndex,

Callers

nothing calls this directly

Calls 2

GetExprMethod · 0.45
BeginLinesMethod · 0.45

Tested by

no test coverage detected