| 558 | |
| 559 | |
| 560 | void PseudoRustFunction::AppendDefaultSplitExpr(const BinaryNinja::HighLevelILInstruction& instr, |
| 561 | BinaryNinja::HighLevelILTokenEmitter& tokens, DisassemblySettings* settings, BNOperatorPrecedence precedence) |
| 562 | { |
| 563 | const auto high = instr.GetHighExpr<HLIL_SPLIT>(); |
| 564 | const auto low = instr.GetLowExpr<HLIL_SPLIT>(); |
| 565 | if (precedence == EqualityOperatorPrecedence) |
| 566 | tokens.AppendOpenParen(); |
| 567 | tokens.AppendOpenParen(); |
| 568 | GetExprText(high, tokens, settings, precedence); |
| 569 | tokens.Append(OperationToken, " << "); |
| 570 | tokens.Append(IntegerToken, std::to_string(low.size * 8)); |
| 571 | tokens.AppendCloseParen(); |
| 572 | tokens.Append(OperationToken, " | "); |
| 573 | GetExprText(low, tokens, settings, precedence); |
| 574 | if (precedence == EqualityOperatorPrecedence) |
| 575 | tokens.AppendCloseParen(); |
| 576 | } |
| 577 | |
| 578 | |
| 579 | bool PseudoRustFunction::IsMutable(const Variable& var) const |
nothing calls this directly
no test coverage detected