drgn/libdrgn
Omar Sandoval 71e6744210 libdrgn: add symbol table interface
Now that we're not overloading the name "symbol", we can define struct
drgn_symbol as a symbol table entry. For now, this is very minimal: it's
just a name, address, and size. We can then add a way to find the symbol
for a given address, drgn_program_find_symbol(). For now, this is only
supported through the actual ELF symbol tables. However, in the future,
we can probably support adding "symbol finders".
2019-07-30 09:25:34 -07:00
..
build-aux libdrgn: make program components pluggable 2019-05-10 12:41:07 -07:00
m4 Build Python bindings with automake 2019-04-03 17:00:53 -07:00
python libdrgn: add symbol table interface 2019-07-30 09:25:34 -07:00
.gitignore Document with Sphinx 2019-04-11 12:48:15 -07:00
binary_search_tree.h libdrgn: add splay tree implementation 2019-05-24 17:48:08 -07:00
cityhash.h Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
configure.ac libdrgn: check for Python development headers at configure time 2019-05-03 14:10:48 -07:00
Doxyfile Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
drgn.h libdrgn: add symbol table interface 2019-07-30 09:25:34 -07:00
dwarf_index.c libdrgn: dwarf_index: fix memcpy() undefined behavior 2019-07-15 12:27:48 -07:00
dwarf_index.h libdrgn: use libdwfl 2019-07-15 12:27:48 -07:00
dwarf_info_cache.c libdrgn: replace symbol index with object index 2019-07-29 17:04:47 -07:00
dwarf_info_cache.h libdrgn: replace symbol index with object index 2019-07-29 17:04:47 -07:00
elf_relocator.c libdrgn: implement optimized x86-64 ELF relocations 2019-07-15 12:27:48 -07:00
elf_relocator.h libdrgn: implement optimized x86-64 ELF relocations 2019-07-15 12:27:48 -07:00
error.c libdrgn: indicate finder lookup failure with special error 2019-07-29 17:04:47 -07:00
error.h libdrgn: use libdwfl 2019-07-15 12:27:48 -07:00
hash_table.c Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
hash_table.h libdrgn: add splay tree implementation 2019-05-24 17:48:08 -07:00
internal.c libdrgn: get rid of unnecessary gelf_getshdr() in read_elf_section() 2019-07-11 09:53:56 -07:00
internal.h libdrgn: replace symbol index with object index 2019-07-29 17:04:47 -07:00
language_c.c libdrgn: revamp hash table API 2019-05-24 17:48:05 -07:00
language.h libdrgn: make type index pluggable with callbacks 2019-05-06 14:55:34 -07:00
lexer.c libdrgn: use common vector where applicable 2019-07-15 12:27:16 -07:00
lexer.h libdrgn: use common vector where applicable 2019-07-15 12:27:16 -07:00
linux_kernel.c libdrgn: replace symbol index with object index 2019-07-29 17:04:47 -07:00
linux_kernel.h libdrgn: use libdwfl 2019-07-15 12:27:48 -07:00
Makefile.am libdrgn: add symbol table interface 2019-07-30 09:25:34 -07:00
memory_reader.c libdrgn: reorder drgn_error_create_os() arguments 2019-07-11 16:12:56 -07:00
memory_reader.h libdrgn: use splay tree for memory reader 2019-05-24 17:48:08 -07:00
object_index.c libdrgn: replace symbol index with object index 2019-07-29 17:04:47 -07:00
object_index.h libdrgn: replace symbol index with object index 2019-07-29 17:04:47 -07:00
object.c libdrgn: make program components pluggable 2019-05-10 12:41:07 -07:00
object.h libdrgn: fix C array and function casting 2019-04-12 16:40:12 -07:00
path.c libdrgn: make program components pluggable 2019-05-10 12:41:07 -07:00
program.c libdrgn: add symbol table interface 2019-07-30 09:25:34 -07:00
program.h libdrgn: add symbol table interface 2019-07-30 09:25:34 -07:00
read.h libdrgn: only load debug information from loaded kernel modules 2019-05-14 11:55:39 -07:00
serialize.c Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
serialize.h Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
siphash.h Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
splay_tree.c libdrgn: add splay tree implementation 2019-05-24 17:48:08 -07:00
string_builder.c libdrgn: move string_builder_line_break() to string_builder.c 2019-07-11 15:33:10 -07:00
string_builder.h libdrgn: move string_builder_line_break() to string_builder.c 2019-07-11 15:33:10 -07:00
symbol.c libdrgn: add symbol table interface 2019-07-30 09:25:34 -07:00
symbol.h libdrgn: add symbol table interface 2019-07-30 09:25:34 -07:00
type_index.c libdrgn: indicate finder lookup failure with special error 2019-07-29 17:04:47 -07:00
type_index.h libdrgn: revamp hash table API 2019-05-24 17:48:05 -07:00
type.c libdrgn: revamp hash table API 2019-05-24 17:48:05 -07:00
type.h libdrgn: make type index pluggable with callbacks 2019-05-06 14:55:34 -07:00
vector.c libdrgn: work around Clang __muloti4 again 2019-07-29 17:03:45 -07:00
vector.h libdrgn: add common vector implementation 2019-07-15 12:27:15 -07:00