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

Method EndLinesCallback

languagerepresentation.cpp:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157
158
159void LanguageRepresentationFunction::EndLinesCallback(void* ctxt, BNHighLevelILFunction* il, size_t exprIndex,
160 BNHighLevelILTokenEmitter* tokens)
161{
162 LanguageRepresentationFunction* func = (LanguageRepresentationFunction*)ctxt;
163 Ref<HighLevelILFunction> ilObj = new HighLevelILFunction(BNNewHighLevelILFunctionReference(il));
164 HighLevelILInstruction instr = ilObj->GetExpr(exprIndex);
165 Ref<HighLevelILTokenEmitter> tokenObj = new HighLevelILTokenEmitter(BNNewHighLevelILTokenEmitterReference(tokens));
166 func->EndLines(instr, *tokenObj);
167}
168
169
170char* LanguageRepresentationFunction::GetCommentStartStringCallback(void* ctxt)

Callers

nothing calls this directly

Calls 2

GetExprMethod · 0.45
EndLinesMethod · 0.45

Tested by

no test coverage detected