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 struct NativeSymbolRef : IEquatable<NativeSymbolRef>Implements
Section titled “Implements”Constructors
Section titled “Constructors”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)Properties
Section titled “Properties”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; }Offset
Section titled “Offset”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; }Methods
Section titled “Methods”Deconstruct(out ulong, out string, out NativeSymbolKind, out long)
Section titled “Deconstruct(out ulong, out string, out NativeSymbolKind, out long)”Parameters:
Start(UInt64)Name(String)Kind(NativeSymbolKind)Offset(Int64)
public void Deconstruct(out ulong Start, out string Name, out NativeSymbolKind Kind, out long Offset)Equals(NativeSymbolRef)
Section titled “Equals(NativeSymbolRef)”Parameters:
other(NativeSymbolRef)
Returns: Boolean
public bool Equals(NativeSymbolRef 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 !=(NativeSymbolRef, NativeSymbolRef)
Section titled “operator !=(NativeSymbolRef, NativeSymbolRef)”Parameters:
left(NativeSymbolRef)right(NativeSymbolRef)
Returns: Boolean
public static bool operator !=(NativeSymbolRef left, NativeSymbolRef right)operator ==(NativeSymbolRef, NativeSymbolRef)
Section titled “operator ==(NativeSymbolRef, NativeSymbolRef)”Parameters:
left(NativeSymbolRef)right(NativeSymbolRef)
Returns: Boolean
public static bool operator ==(NativeSymbolRef left, NativeSymbolRef right)