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 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; }Methods
Section titled “Methods”Deconstruct(out int, out int, out int, out int, out int, out int)
Section titled “Deconstruct(out int, out int, out int, out int, out int, out int)”Parameters:
MnemonicStart(Int32)MnemonicLength(Int32)OperandsStart(Int32)OperandsLength(Int32)TargetStart(Int32)TargetLength(Int32)
public void Deconstruct(out int MnemonicStart, out int MnemonicLength, out int OperandsStart, out int OperandsLength, out int TargetStart, out int TargetLength)Equals(NativeLineLayout)
Section titled “Equals(NativeLineLayout)”Parameters:
other(NativeLineLayout)
Returns: Boolean
public bool Equals(NativeLineLayout other)Equals(object)
Section titled “Equals(object)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object obj)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(NativeLineLayout, NativeLineLayout)
Section titled “operator !=(NativeLineLayout, NativeLineLayout)”Parameters:
left(NativeLineLayout)right(NativeLineLayout)
Returns: Boolean
public static bool operator !=(NativeLineLayout left, NativeLineLayout right)operator ==(NativeLineLayout, NativeLineLayout)
Section titled “operator ==(NativeLineLayout, NativeLineLayout)”Parameters:
left(NativeLineLayout)right(NativeLineLayout)
Returns: Boolean
public static bool operator ==(NativeLineLayout left, NativeLineLayout right)