SymbolificationInterface Class Reference

#include <symbolification.h>

公共成员函数

MAXON_METHOD Result < void >  Init (const Url &symbolFile, const String &architecture)
MAXON_METHOD Result < void >  FindSymbol ( UInt64 addr, String &file, Int &line, String &function)

静态公共成员函数

static MAXON_METHOD SymbolificationInterface Alloc ( MAXON_SOURCE_LOCATION_DECLARATION )

私有成员函数

  MAXON_INTERFACE_NONVIRTUAL ( SymbolificationInterface , MAXON_REFERENCE_NORMAL , "net.maxon.interface.symbolification")

成员函数文档编制

◆  MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( SymbolificationInterface   ,
MAXON_REFERENCE_NORMAL   ,
"net.maxon.interface.symbolification"   
)
private

◆  Alloc()

static MAXON_METHOD SymbolificationInterface * Alloc ( MAXON_SOURCE_LOCATION_DECLARATION   )
static
参数
[in] allocLocation Source location.

◆  Init()

MAXON_METHOD Result <void> Init ( const Url symbolFile ,
const String architecture  
)

Initializes the symbolification interface.

参数
[in] symbolFile Refers to a dsym bundle or pdb file (must be stored on the local file system).
[in] architecture Used to select the architecture (for libraries with multiple binaries, for example "x86_64").
返回
OK on success.

◆  FindSymbol()

MAXON_METHOD Result <void> FindSymbol ( UInt64   addr ,
String file ,
Int line ,
String function  
)

Returns the file, line number and function name corresponding to an address.

参数
[in] addr Address (must be relative to the start of the module).
[out] file Name of the source file.
[out] line Line in the source file.
[out] function Name of the function.
返回
OK on success.