drgn/tests
Omar Sandoval 5c9797a633 Allow naming and configuring order of type finders
Like for symbol finders, we want extra flexibility around configuring
type finders. The type finder callback signature also has a couple of
warts: it doesn't take the program since it was added before types
needed to be constructed from a program, and it is called separately for
each type kind since originally type lookups were for only one kind.
While we're adding a new interface, let's fix these warts: pass the
program and a set of type kinds. However, we need to keep the old
add_type_finder() interface for backwards compatibility.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2024-06-05 13:40:26 -07:00
..
helpers tests: test member_at_offset() on padding in nested structs/array elements 2024-04-04 16:20:58 -07:00
linux_kernel tests: fix -Wmissing-prototypes warning in drgn_test kmod 2024-04-04 16:21:30 -07:00
resources tests: add infrastructure for test resources 2024-03-22 16:12:05 -07:00
__init__.py Allow naming and configuring order of type finders 2024-06-05 13:40:26 -07:00
assembler.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
dwarf.py Regenerate DWARF constants 2023-09-28 09:29:37 -07:00
dwarfwriter.py libdrgn: dwarf_info: support DWO split DWARF 2023-07-19 10:10:08 -07:00
elf.py tests: make tests.elf.SHF an IntFlag 2023-10-11 14:36:03 -07:00
elfwriter.py tests: test compressed debug sections 2023-06-20 13:45:04 -07:00
libdrgn.py Translate path_iterator tests to C unit tests 2024-04-26 14:53:53 -07:00
test_docs.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
test_dwarf.py libdrgn: don't require struct/union/class/enum keyword for C++ type lookups 2023-08-21 15:18:26 -07:00
test_filename_matches.py Translate path_iterator tests to C unit tests 2024-04-26 14:53:53 -07:00
test_language_c.py Translate C lexer tests to C unit tests 2024-04-26 14:53:53 -07:00
test_logging.py libdrgn: python: log to the standard logging module 2023-07-18 12:47:34 -07:00
test_object.py libdrgn: allow reinterpreting primitive scalar values 2024-01-12 15:50:23 -08:00
test_platform.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
test_program.py Allow naming and configuring order of type finders 2024-06-05 13:40:26 -07:00
test_python.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
test_serialize.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
test_symbol.py Allow naming and configuring order of symbol finders 2024-06-05 13:40:26 -07:00
test_thread.py tests: add infrastructure for test resources 2024-03-22 16:12:05 -07:00
test_type_kind_set.py python: add TypeKindSet 2024-06-05 13:40:26 -07:00
test_type.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
test_util.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00