libsysprof-analyze: implement various SysprofElf API

This wraps our ElfParser to give us an idiomatic API we can use with
GIO/GTK/etc.
This commit is contained in:
Christian Hergert
2023-05-19 14:52:49 -07:00
parent d48f2763e0
commit 7885873ba3
2 changed files with 34 additions and 9 deletions

View File

@ -34,7 +34,7 @@ SysprofElf *sysprof_elf_new (const char *filename,
const char *sysprof_elf_get_file (SysprofElf *self);
const char *sysprof_elf_get_build_id (SysprofElf *self);
const char *sysprof_elf_get_debug_link (SysprofElf *self);
const char *sysprof_elf_get_symbol_at_address (SysprofElf *self,
char *sysprof_elf_get_symbol_at_address (SysprofElf *self,
guint64 address,
guint64 *begin_address,
guint64 *end_address);