drgn/libdrgn
Omar Sandoval 40357b9d9e libdrgn: debug_info: don't use strlen() in drgn_debug_info_find_object()
The length of the name was passed, and the name may not be
null-terminated.

Fixes: 565e0343ef ("libdrgn: make symbol index pluggable with callbacks")
Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-11-17 18:06:43 -08:00
..
build-aux Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
examples libdrgn: support passing debug info files to load_debug_info example program 2021-06-30 16:58:47 -07:00
include libdrgn: add latest elf.h and dwarf.h to support elfutils 0.165 2021-03-21 23:18:39 -07:00
m4 Remove bundled version of elfutils 2021-03-16 00:52:09 -07:00
python Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
.gitignore libdrgn: add configure~ to .gitignore 2021-04-23 09:18:16 -07:00
arch_ppc64.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
arch_ppc64.defs Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
arch_register_layout.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
arch_x86_64.c libdrgn: add array_for_each() 2021-08-23 17:32:00 -07:00
arch_x86_64.defs Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
array.h libdrgn: add array_for_each() 2021-08-23 17:32:00 -07:00
binary_buffer.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
binary_buffer.h libdrgn: binary_buffer: handle non-canonical LEB128 numbers 2021-06-30 21:39:31 -07:00
binary_search_tree.h splay_tree.c: Rename splay_tree to avoid conflicts with splay-tree.h 2021-09-27 12:56:47 -07:00
bitops.h Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
cfi.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
cfi.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
cityhash.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
configure.ac drgn 0.0.14 2021-08-12 11:57:07 -07:00
debug_info.c libdrgn: debug_info: don't use strlen() in drgn_debug_info_find_object() 2021-11-17 18:06:43 -08:00
debug_info.h libdrgn: hash_table: move entry_to_key to DEFINE_HASH_TABLE_FUNCTIONS() 2021-10-23 00:52:23 -07:00
Doxyfile libdrgn: clean up stale comment references and Doxygen warnings 2021-03-16 16:15:43 -07:00
drgn.h.in libdrgn: Add kind and binding fields to drgn_symbol 2021-08-20 18:16:57 -07:00
dwarf_index.c libdrgn: dwarf_index: fix hash table insertion error check 2021-11-17 18:04:52 -08:00
dwarf_index.h Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
error.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
error.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
hash_table.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
hash_table.h Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
helpers.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
kdump.c Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
language_c.c Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
language.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
language.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
lazy_object.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
lazy_object.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
lexer.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
lexer.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
linux_kernel_helpers.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
linux_kernel.c libdrgn: make addresses wrap around when reading memory 2021-06-03 17:49:29 -07:00
linux_kernel.h libdrgn: make addresses wrap around when reading memory 2021-06-03 17:49:29 -07:00
Makefile.am Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
memory_reader.c libdrgn: make addresses wrap around when reading memory 2021-06-03 17:49:29 -07:00
memory_reader.h libdrgn: make addresses wrap around when reading memory 2021-06-03 17:49:29 -07:00
minmax.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
nstring.h Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
object_index.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
object_index.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
object.c libdrgn: python: add Object.to_bytes_() 2021-07-26 17:12:34 -07:00
object.h libdrgn: debug_info: implement creating objects from DWARF location descriptions 2021-06-05 16:18:51 -07:00
orc.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
path.c Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
path.h Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
platform.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
platform.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
pp.h libdrgn: pp: make PP_CAT not variadic 2021-10-29 18:38:49 -07:00
program.c Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
program.h Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
register_state.c libdrgn: rename drgn_program::_dbinfo to dbinfo 2021-10-23 00:52:23 -07:00
register_state.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
serialize.c libdrgn: debug_info: implement creating objects from DWARF location descriptions 2021-06-05 16:18:51 -07:00
serialize.h libdrgn: fix comment typo in serialize.h 2021-07-21 20:32:53 -07:00
splay_tree.c splay_tree.c: Rename splay_tree to avoid conflicts with splay-tree.h 2021-09-27 12:56:47 -07:00
stack_trace.c Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
stack_trace.h Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
string_builder.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
string_builder.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
symbol.c Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
symbol.h libdrgn: Add kind and binding fields to drgn_symbol 2021-08-20 18:16:57 -07:00
type.c libdrgn: type: fix hash table insertion error check 2021-11-17 18:04:57 -08:00
type.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
util.h Fix some include-what-you-use warnings 2021-11-10 15:09:29 -08:00
vector.c Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00
vector.h Use GPL-3.0-or-later license identifier instead of GPL-3.0+ 2021-04-03 01:10:35 -07:00