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

Method EndLines

lang/c/pseudoc.cpp:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42void PseudoCFunction::EndLines(const HighLevelILInstruction& instr, HighLevelILTokenEmitter& tokens)
43{
44 if (instr.exprIndex == m_highLevelIL->GetRootExpr().exprIndex)
45 {
46 // At top level, add braces around the entire function
47 tokens.NewLine();
48 tokens.DecreaseIndent();
49 tokens.PrependCollapseIndicator();
50 tokens.AppendCloseBrace();
51 }
52}
53
54
55BNSymbolDisplayResult PseudoCFunction::AppendPointerTextToken(const HighLevelILInstruction& instr, int64_t val,

Callers

nothing calls this directly

Calls 5

GetRootExprMethod · 0.80
NewLineMethod · 0.80
DecreaseIndentMethod · 0.80
AppendCloseBraceMethod · 0.80

Tested by

no test coverage detected