Skip to content

NativeSymbolRef

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

A resolved reference to the symbol containing a target address, with the offset into it — so a call or branch landing inside a function displays honestly as Foo+0x12 rather than failing or pretending an exact hit.

public readonly record struct NativeSymbolRef : IEquatable<NativeSymbolRef>

NativeSymbolRef(ulong, string, NativeSymbolKind, long)

Section titled “NativeSymbolRef(ulong, string, NativeSymbolKind, long)”

A resolved reference to the symbol containing a target address, with the offset into it — so a call or branch landing inside a function displays honestly as Foo+0x12 rather than failing or pretending an exact hit.

Parameters:

  • Start (UInt64): The containing symbol’s start virtual address.
  • Name (String): The symbol’s display name (managed name where available, else the raw name).
  • Kind (NativeSymbolKind): The symbol’s kind.
  • Offset (Int64): The target’s byte offset from Start (0 when it is the symbol’s entry).
public NativeSymbolRef(ulong Start, string Name, NativeSymbolKind Kind, long Offset)

The symbol’s kind.

Returns: NativeSymbolKind

public NativeSymbolKind Kind { get; init; }

The symbol’s display name (managed name where available, else the raw name).

Returns: String

public string Name { get; init; }

The target’s byte offset from Start (0 when it is the symbol’s entry).

Returns: Int64

public long Offset { get; init; }

The containing symbol’s start virtual address.

Returns: UInt64

public ulong Start { get; init; }