#include <drsyms.h>
Data Fields | |
size_t | struct_size |
size_t | name_size |
size_t | file_size |
size_t | file_available_size |
char * | file |
uint64 | line |
size_t | line_offs |
size_t | start_offs |
size_t | end_offs |
drsym_debug_kind_t | debug_kind |
uint | type_id |
size_t | name_available_size |
char * | name |
uint | flags |
Data structure that holds symbol information
drsym_debug_kind_t _drsym_info_t::debug_kind |
Output: type of the debug info available for this module
size_t _drsym_info_t::end_offs |
Output: offset from module base of end of symbol.
char* _drsym_info_t::file |
Output: file name (storage allocated by caller, of size file_size). Guaranteed to be null-terminated. Optional: can be set to NULL.
size_t _drsym_info_t::file_available_size |
Output: size of data available for file (not including terminating null). Only file_size bytes will be copied to file.
size_t _drsym_info_t::file_size |
Input: should be set by caller to the size of the file buffer, in bytes
uint _drsym_info_t::flags |
Output: the demangling status of the symbol, as drsym_flags_t values.
uint64 _drsym_info_t::line |
Output: line number
size_t _drsym_info_t::line_offs |
Output: offset from address that starts at line
char* _drsym_info_t::name |
Output: symbol name (storage allocated by caller, of size name_size). Guaranteed to be null-terminated. Optional: can be set to NULL.
size_t _drsym_info_t::name_available_size |
Output: size of data available for name (not including terminating null). Only name_size bytes will be copied to name.
size_t _drsym_info_t::name_size |
Input: should be set by caller to the size of the name buffer, in bytes
size_t _drsym_info_t::start_offs |
Output: offset from module base of start of symbol. For Mach-O executables, the module base is after any __PAGEZERO segment.
size_t _drsym_info_t::struct_size |
Input: should be set by caller to sizeof(drsym_info_t)
uint _drsym_info_t::type_id |
Output: type id for passing to drsym_expand_type()