#include <string.h>
Go to the source code of this file.
Functions | |
void * | get_bfd_pointer () |
returns pointer of bfd structure | |
const char * | get_program_name () |
returns pointer to string with the program name | |
void | libtrace_close (void) |
closes system of detection of source files and lines | |
int | libtrace_init (const char *file_name, const char *section_name, const char *target) |
initializes system of detection of source files and lines | |
int | libtrace_resolve (void *addr, char *buf_func, size_t buf_func_len, char *buf_file, size_t buf_file_len, unsigned int &line) |
returns source file name and line (optionally also function name) for given code address | |
void | set_program_name (const char *name) |
sets initializes internal variable with the program name |
void* get_bfd_pointer | ( | ) |
returns pointer of bfd structure
const char* get_program_name | ( | ) |
returns pointer to string with the program name
void libtrace_close | ( | void | ) |
closes system of detection of source files and lines
int libtrace_init | ( | const char * | file_name, | |
const char * | section_name, | |||
const char * | target | |||
) |
initializes system of detection of source files and lines
int libtrace_resolve | ( | void * | addr, | |
char * | buf_func, | |||
size_t | buf_func_len, | |||
char * | buf_file, | |||
size_t | buf_file_len, | |||
unsigned int & | line | |||
) |
returns source file name and line (optionally also function name) for given code address
void set_program_name | ( | const char * | name | ) |
sets initializes internal variable with the program name
Referenced by set_prgname().