#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") |
|
private |
|
static |
[in] | allocLocation | Source location. |
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"). |
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. |