NativeLineLayout
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
The column ranges of the mnemonic, operands, and target within a rendered disassembly line, set by NativeDisassembler’s text formatter. The TUI decoration providers highlight and hit-test by these spans rather than re-parsing the line, so the rendered text stays a pure projection of the structured instruction.
public readonly record struct NativeLineLayout : IEquatable<NativeLineLayout>Implements
Section titled “Implements”Constructors
Section titled “Constructors”NativeLineLayout(int, int, int, int, int, int)
Section titled “NativeLineLayout(int, int, int, int, int, int)”The column ranges of the mnemonic, operands, and target within a rendered disassembly line, set by NativeDisassembler’s text formatter. The TUI decoration providers highlight and hit-test by these spans rather than re-parsing the line, so the rendered text stays a pure projection of the structured instruction.
Parameters:
MnemonicStart(Int32): The column (0-based) where the mnemonic begins in the rendered line.MnemonicLength(Int32): The mnemonic’s length in characters.OperandsStart(Int32): The column where the operand text begins, or -1 when there are no operands.OperandsLength(Int32): The operand text’s length, or 0.TargetStart(Int32): The column where the resolved-target comment begins, or -1 when there is none.TargetLength(Int32): The target comment’s length, or 0.
public NativeLineLayout(int MnemonicStart, int MnemonicLength, int OperandsStart, int OperandsLength, int TargetStart, int TargetLength)Properties
Section titled “Properties”MnemonicLength
Section titled “MnemonicLength”The mnemonic’s length in characters.
Returns: Int32
public int MnemonicLength { get; init; }MnemonicStart
Section titled “MnemonicStart”The column (0-based) where the mnemonic begins in the rendered line.
Returns: Int32
public int MnemonicStart { get; init; }OperandsLength
Section titled “OperandsLength”The operand text’s length, or 0.
Returns: Int32
public int OperandsLength { get; init; }OperandsStart
Section titled “OperandsStart”The column where the operand text begins, or -1 when there are no operands.
Returns: Int32
public int OperandsStart { get; init; }TargetLength
Section titled “TargetLength”The target comment’s length, or 0.
Returns: Int32
public int TargetLength { get; init; }TargetStart
Section titled “TargetStart”The column where the resolved-target comment begins, or -1 when there is none.
Returns: Int32
public int TargetStart { get; init; }