DynamoRIO
_drsym_line_info_t Struct Reference

#include <drsyms.h>

Data Fields

const char * cu_name
 
const char * file
 
uint64 line
 
size_t line_addr
 

Detailed Description

Line information returned by drsym_enumerate_lines(). This information should not be relied upon to be accessible beyond the return of the callback routine to which it is passed.

Note
On Windows, we have observed abnormally large values for line and line_addr (e.g., 0xfeefee or 0xe0b80000) in some symbol files. Be prepared for such values.

Field Documentation

◆ cu_name

const char* _drsym_line_info_t::cu_name

Compilation unit (object file) name

◆ file

const char* _drsym_line_info_t::file

Source file name

◆ line

uint64 _drsym_line_info_t::line

Line number

◆ line_addr

size_t _drsym_line_info_t::line_addr

Offset from module base of the first instruction of the line. For Mach-O executables, the module base is after any __PAGEZERO segment.


The documentation for this struct was generated from the following file:
  • /home/runner/work/dynamorio/dynamorio/ext/drsyms/drsyms.h