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

Method BeginLines

lang/c/pseudoc.cpp:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28
29void PseudoCFunction::BeginLines(const HighLevelILInstruction& instr, HighLevelILTokenEmitter& tokens)
30{
31 if (instr.exprIndex == m_highLevelIL->GetRootExpr().exprIndex)
32 {
33 // At top level, add braces around the entire function
34 tokens.PrependCollapseIndicator();
35 tokens.AppendOpenBrace();
36 tokens.NewLine();
37 tokens.IncreaseIndent();
38 }
39}
40
41
42void PseudoCFunction::EndLines(const HighLevelILInstruction& instr, HighLevelILTokenEmitter& tokens)

Callers

nothing calls this directly

Calls 5

GetRootExprMethod · 0.80
AppendOpenBraceMethod · 0.80
NewLineMethod · 0.80
IncreaseIndentMethod · 0.80

Tested by

no test coverage detected