drgn/libdrgn
Omar Sandoval 1c6465f0b0 libdrgn: fix infinite loop on error caching kernel module sections
If cache_kernel_module_sections() in report_loaded_kernel_module()
fails, we continue to the next iteration without advancing to the next
kernel module. Then, we fail on that same kernel module and repeat. Make
sure that we go to the next kernel module.

Fixes: 423d2cd500 ("libdrgn: dwarf_index: rework file reporting")
Reported-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Signed-off-by: Omar Sandoval <osandov@osandov.com>
2020-10-13 12:25:22 -07:00
..
build-aux libdrgn/python: add Qualifiers.NONE and stop using Optional[Qualifiers] 2020-08-27 11:31:29 -07:00
elfutils Update elfutils and revert activation frame patch 2020-05-20 13:38:49 -07:00
examples libdrgn: add load_debug_info example program 2020-07-10 16:18:58 -07:00
include Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
m4 libdrgn: build with bundled elfutils 2019-09-19 11:07:12 -07:00
python libdrgn: clean up hash function APIs and improve documentation 2020-10-12 16:20:08 -07:00
.gitignore Document with Sphinx 2019-04-11 12:48:15 -07:00
arch_x86_64.c.in Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
binary_search_tree.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
bitops.h libdrgn: split bit operations into their own header 2020-10-09 17:44:15 -07:00
cityhash.h Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
configure.ac drgn 0.0.7 2020-07-27 23:32:32 -07:00
debug_info.c libdrgn: clean up hash function APIs and improve documentation 2020-10-12 16:20:08 -07:00
debug_info.h libdrgn: fix Doxygen 2020-09-30 01:32:33 -07:00
Doxyfile libdrgn: fix Doxygen 2020-09-30 01:32:33 -07:00
drgn.h.in libdrgn: fix Doxygen 2020-09-30 01:32:33 -07:00
dwarf_index.c libdrgn: clean up hash function APIs and improve documentation 2020-10-12 16:20:08 -07:00
dwarf_index.h libdrgn: fix Doxygen 2020-09-30 01:32:33 -07:00
error.c Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
error.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
hash_table.c Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
hash_table.h libdrgn: clean up hash function APIs and improve documentation 2020-10-12 16:20:08 -07:00
helpers.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
kdump.c Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
language_c.c libdrgn: clean up hash function APIs and improve documentation 2020-10-12 16:20:08 -07:00
language.c Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
language.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
lexer.c Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
lexer.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
linux_kernel_helpers.c libdrgn: add {min,max}_iconst() and rewrite min() and max() 2020-10-10 23:48:03 -07:00
linux_kernel.c libdrgn: fix infinite loop on error caching kernel module sections 2020-10-13 12:25:22 -07:00
linux_kernel.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
Makefile.am libdrgn: add {min,max}_iconst() and rewrite min() and max() 2020-10-10 23:48:03 -07:00
memory_reader.c libdrgn: add {min,max}_iconst() and rewrite min() and max() 2020-10-10 23:48:03 -07:00
memory_reader.h libdrgn: fix Doxygen 2020-09-30 01:32:33 -07:00
minmax.h libdrgn: add {min,max}_iconst() and rewrite min() and max() 2020-10-10 23:48:03 -07:00
mread.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
object_index.c Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
object_index.h libdrgn: fold drgn_type_index into drgn_program 2020-08-26 17:36:35 -07:00
object.c libdrgn: add {min,max}_iconst() and rewrite min() and max() 2020-10-10 23:48:03 -07:00
object.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
path.c Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
path.h libdrgn: fix Doxygen 2020-09-30 01:32:33 -07:00
platform.c Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
platform.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
pp.h libdrgn: add preprocessor utility macros 2020-10-09 16:36:59 -07:00
program.c libdrgn: clean up hash function APIs and improve documentation 2020-10-12 16:20:08 -07:00
program.h libdrgn: fix Doxygen 2020-09-30 01:32:33 -07:00
serialize.c libdrgn: add {min,max}_iconst() and rewrite min() and max() 2020-10-10 23:48:03 -07:00
serialize.h Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
siphash.h Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
splay_tree.c Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
stack_trace.c Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
string_builder.c libdrgn: add {min,max}_iconst() and rewrite min() and max() 2020-10-10 23:48:03 -07:00
string_builder.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
symbol.c Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
symbol.h Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
type.c libdrgn: clean up hash function APIs and improve documentation 2020-10-12 16:20:08 -07:00
type.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00
util.h libdrgn: add {min,max}_iconst() and rewrite min() and max() 2020-10-10 23:48:03 -07:00
vector.c Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
vector.h Clean up #includes with include-what-you-use 2020-09-23 16:29:42 -07:00