Get breakpoint filename and line number from DWARF

This commit is contained in:
2025-03-12 11:37:23 +01:00
parent dc66bc84ae
commit d4fdd69c48
3 changed files with 34 additions and 16 deletions

View File

@@ -18,8 +18,11 @@ typedef struct {
uint64_t addr;
} AddrInfo;
DEBUGUS_EXTERNC void libelfin_wrap_init(int fd);
DEBUGUS_EXTERNC AddrInfo *libelfin_wrap_info_from_rip(uint64_t rip);
typedef void * PLibelfinBinding;
DEBUGUS_EXTERNC PLibelfinBinding libelfin_wrap_get_binding(int fd);
DEBUGUS_EXTERNC void libelfin_wrap_free_binding(PLibelfinBinding pbind);
DEBUGUS_EXTERNC AddrInfo *libelfin_wrap_info_from_rip(PLibelfinBinding pbind, uint64_t rip);
DEBUGUS_EXTERNC void libelfin_wrap_free_info(AddrInfo *ai);
#endif // LIBELFIN_WRAP_H_