Class DebugSymbol

Hierarchy

  • DebugSymbol

Constructors

Properties

address: NativePointer

Address that this symbol is for.

fileName: null | string

File name owning this symbol, or null if unknown.

lineNumber: null | number

Line number in fileName, or null if unknown.

moduleName: null | string

Module name owning this symbol, or null if unknown.

name: null | string

Name of the symbol, or null if unknown.

Methods

  • Converts to a human-readable string.

    Returns string

  • Resolves function names matching glob and returns their addresses.

    Parameters

    • glob: string

      Glob matching functions to resolve the addresses of.

    Returns NativePointer[]

  • Resolves a function name and returns its addresses.

    Parameters

    • name: string

      Function name to resolve the addresses of.

    Returns NativePointer[]

  • Looks up debug information for name.

    Parameters

    • name: string

      Name to look up details for.

    Returns DebugSymbol

  • Resolves a function name and returns its address. Returns the first if more than one function is found. Throws an exception if the name cannot be resolved.

    Parameters

    • name: string

      Function name to resolve the address of.

    Returns NativePointer

  • Loads debug symbols for a specific module.

    Parameters

    • path: string

      Path of module to load symbols for.

    Returns void

Generated using TypeDoc