drgn/tests
Omar Sandoval bc8514512f libdrgn: dwarf_info: fix resolving incomplete type in wrong scope
find_namespace_containing_die() only looks for DW_TAG_namespace DIEs
containing the target DIE, but it also needs to look fo nested
classes/structs/unions. Consider the following program:

  namespace ns {
    class Bar { ... };
    class Foo {
      class Bar { ... };
      ...
    };
  };

If we encounter a declaration DIE for ns::Foo::Bar, we'll end up looking
for the definition directly in ns and finding ns::Bar instead, which is
a completely different type.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2023-08-16 14:25:06 -07:00
..
helpers drgn.helpers.common.format: add number_to_binary_units() 2023-02-01 13:18:16 -08:00
linux_kernel drgn.helpers.linux.net: add skb_shinfo() 2023-07-20 10:23:14 -07:00
__init__.py tests: don't compare values of reference objects in assertIdentical() 2023-02-22 13:33:47 -08:00
assembler.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
dwarf.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
dwarfwriter.py libdrgn: dwarf_info: support DWO split DWARF 2023-07-19 10:10:08 -07:00
elf.py tests: test compressed debug sections 2023-06-20 13:45:04 -07:00
elfwriter.py tests: test compressed debug sections 2023-06-20 13:45:04 -07:00
libdrgn.py libdrgn: add limited support for looking up types with template arguments 2022-12-14 20:55:03 -08:00
sample.coredump.zst Implement a new API for representing threads 2022-01-11 17:28:17 -08:00
test_docs.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
test_dwarf.py libdrgn: dwarf_info: fix resolving incomplete type in wrong scope 2023-08-16 14:25:06 -07:00
test_language_c.py libdrgn: support value objects with >64-bit integer types 2023-08-02 14:21:46 -07:00
test_lexer.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -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: support value objects with >64-bit integer types 2023-08-02 14:21:46 -07:00
test_path.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
test_platform.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
test_program.py libdrgn: fix finding types beginning in size_t or ptrdiff_t 2022-11-28 16:21:56 -08: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 Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -07:00
test_thread.py Relicense drgn from GPLv3+ to LGPLv2.1+ 2022-11-01 17:05:16 -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