drgn/libdrgn
Omar Sandoval b05cc0eb75 libdrgn: use libkdumpfile for ELF vmcores when available
vmcores don't include program headers for special memory regions like
vmalloc and percpu. Instead, we need to walk the kernel page table to
map those addresses. Luckily, libkdumpfile already does that. So, if
drgn was built with libkdumpfile support, use it for ELF vmcores. Also
add an environment variable to override this behavior.

Closes #15.
2019-10-02 17:15:36 -07:00
..
build-aux libdrgn: autogenerate docstrings.h 2019-09-19 11:08:04 -07:00
elfutils Import elfutils 2019-09-05 01:04:33 -07:00
include libdrgn: build with bundled elfutils 2019-09-19 11:07:12 -07:00
m4 libdrgn: build with bundled elfutils 2019-09-19 11:07:12 -07:00
python libdrgn: autogenerate docstrings.h 2019-09-19 11:08:04 -07:00
.gitignore Document with Sphinx 2019-04-11 12:48:15 -07:00
arch_x86_64.c Add basic stack trace support 2019-08-02 00:26:28 -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: build with bundled elfutils 2019-09-19 11:07:12 -07:00
Doxyfile Rewrite drgn core in C 2019-04-02 14:12:07 -07:00
drgn.h Get rid of DRGN_ERROR_{ELF,DWARF}_ERROR and FileFormatError 2019-08-15 15:03:42 -07:00
dwarf_index.c libdrgn: build with bundled elfutils 2019-09-19 11:07:12 -07:00
dwarf_index.h libdrgn: use libdwfl 2019-07-15 12:27:48 -07:00
dwarf_info_cache.c libdrgn: build with bundled elfutils 2019-09-19 11:07:12 -07:00
dwarf_info_cache.h libdrgn: replace symbol index with object index 2019-07-29 17:04:47 -07:00
error.c Get rid of DRGN_ERROR_{ELF,DWARF}_ERROR and FileFormatError 2019-08-15 15:03:42 -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 libelf: clean up SHF_COMPRESSED handling 2019-09-24 17:16:17 -07:00
internal.h libdrgn: replace symbol index with object index 2019-07-29 17:04:47 -07:00
kdump.c Add support for kdump-compressed core dumps with libkdumpfile 2019-08-02 00:20:16 -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 Get rid of DRGN_ERROR_{ELF,DWARF}_ERROR and FileFormatError 2019-08-15 15:03:42 -07:00
linux_kernel.h Add support for kdump-compressed core dumps with libkdumpfile 2019-08-02 00:20:16 -07:00
Makefile.am libdrgn: autogenerate docstrings.h 2019-09-19 11:08:04 -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: generalize architecture to platform 2019-08-02 00:11:56 -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
platform.c libdrgn: generalize architecture to platform 2019-08-02 00:11:56 -07:00
platform.h Add basic stack trace support 2019-08-02 00:26:28 -07:00
program.c libdrgn: use libkdumpfile for ELF vmcores when available 2019-10-02 17:15:36 -07:00
program.h Add basic stack trace support 2019-08-02 00:26:28 -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
stack_trace.c Add basic stack trace support 2019-08-02 00:26:28 -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