Skip to content

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>

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)

The mnemonic’s length in characters.

Returns: Int32

public int MnemonicLength { get; init; }

The column (0-based) where the mnemonic begins in the rendered line.

Returns: Int32

public int MnemonicStart { get; init; }

The operand text’s length, or 0.

Returns: Int32

public int OperandsLength { get; init; }

The column where the operand text begins, or -1 when there are no operands.

Returns: Int32

public int OperandsStart { get; init; }

The target comment’s length, or 0.

Returns: Int32

public int TargetLength { get; init; }

The column where the resolved-target comment begins, or -1 when there is none.

Returns: Int32

public int TargetStart { get; init; }