NativeSymbolResolver
Namespace: Dotsider.Core.Analysis.Disasm
Assembly: Dotsider.Core.dll
Resolves a code or data virtual address to the symbol that contains it, so the disassembler can
name call/branch/data targets. Returns false when no symbol covers the address. The out
Offset lets the caller render Name+0x{offset} for a target
that lands inside a symbol rather than at its start.
public delegate bool NativeSymbolResolver(ulong virtualAddress, out NativeSymbolRef symbol)Constructors
Section titled “Constructors”NativeSymbolResolver(object, nint)
Section titled “NativeSymbolResolver(object, nint)”Parameters:
public NativeSymbolResolver(object @object, nint method)Methods
Section titled “Methods”BeginInvoke(ulong, out NativeSymbolRef, AsyncCallback, object)
Section titled “BeginInvoke(ulong, out NativeSymbolRef, AsyncCallback, object)”Parameters:
virtualAddress(UInt64)symbol(NativeSymbolRef)callback(AsyncCallback)object(Object)
Returns: IAsyncResult
public virtual IAsyncResult BeginInvoke(ulong virtualAddress, out NativeSymbolRef symbol, AsyncCallback callback, object @object)EndInvoke(out NativeSymbolRef, IAsyncResult)
Section titled “EndInvoke(out NativeSymbolRef, IAsyncResult)”Parameters:
symbol(NativeSymbolRef)result(IAsyncResult)
Returns: Boolean
public virtual bool EndInvoke(out NativeSymbolRef symbol, IAsyncResult result)Invoke(ulong, out NativeSymbolRef)
Section titled “Invoke(ulong, out NativeSymbolRef)”Parameters:
virtualAddress(UInt64)symbol(NativeSymbolRef)
Returns: Boolean
public virtual bool Invoke(ulong virtualAddress, out NativeSymbolRef symbol)