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

Method EndLines

lang/rust/pseudorust.cpp:48–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47
48void PseudoRustFunction::EndLines(const HighLevelILInstruction& instr, HighLevelILTokenEmitter& tokens)
49{
50 if (instr.exprIndex == m_highLevelIL->GetRootExpr().exprIndex)
51 {
52 // At top level, add braces around the entire function
53 tokens.NewLine();
54 tokens.DecreaseIndent();
55 tokens.PrependCollapseIndicator();
56 tokens.AppendCloseBrace();
57 }
58}
59
60
61BNSymbolDisplayResult PseudoRustFunction::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