drgn/tests
Nhat Pham 15cc473ec2 drgn.helpers.common.memory: add identify_address helper function
This helper function identifies the type of the address (slab allocated
or symbol) and returns a string representation of the address
accordingly. This will be useful for another helper function which
prints the stack trace with more information about each item on the
stack.

Signed-off-by: Nhat Pham <nphamcs@gmail.com>
2022-09-14 17:08:39 -07:00
..
helpers Move top-level drgn.helpers helpers into drgn.helpers.common submodules 2022-09-14 17:08:39 -07:00
linux_kernel drgn.helpers.common.memory: add identify_address helper function 2022-09-14 17:08:39 -07:00
__init__.py test: add test for _repr_pretty_() method 2022-08-25 13:52:28 -07:00
assembler.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
dwarf.py Track byte order in scalar types instead of objects 2021-02-19 21:41:29 -08:00
dwarfwriter.py libdrgn: dwarf: look up complete types in namespaces 2022-07-15 16:02:56 -07:00
elf.py tests: add tests for ELF symbols 2021-11-19 17:04:20 -08:00
elfwriter.py tests: use NOBITS section for ELF symbols 2021-12-17 16:46:12 -08:00
libdrgn.py Enable prog.type to work with classes 2022-02-22 14:55:23 -08:00
sample.coredump.zst Implement a new API for representing threads 2022-01-11 17:28:17 -08:00
test_docs.py tests: make all tests inherit from drgn's TestCase class 2022-01-11 17:28:17 -08:00
test_dwarf.py libdrgn: dwarf: look up complete types in namespaces 2022-07-15 16:02:56 -07:00
test_language_c.py Enable prog.type to work with classes 2022-02-22 14:55:23 -08:00
test_lexer.py tests: make all tests inherit from drgn's TestCase class 2022-01-11 17:28:17 -08:00
test_object.py test: add test for _repr_pretty_() method 2022-08-25 13:52:28 -07:00
test_path.py tests: make all tests inherit from drgn's TestCase class 2022-01-11 17:28:17 -08:00
test_platform.py tests: make all tests inherit from drgn's TestCase class 2022-01-11 17:28:17 -08:00
test_program.py Enable prog.type to work with classes 2022-02-22 14:55:23 -08:00
test_python.py tests: make all tests inherit from drgn's TestCase class 2022-01-11 17:28:17 -08:00
test_serialize.py tests: make all tests inherit from drgn's TestCase class 2022-01-11 17:28:17 -08:00
test_symbol.py Add methods to return multiple matching symbols 2022-01-15 11:44:33 -08:00
test_thread.py tests: find tests/sample.coredump.zst more robustly 2022-03-03 11:53:21 -08:00
test_type.py test: add test for _repr_pretty_() method 2022-08-25 13:52:28 -07:00
test_util.py tests: make all tests inherit from drgn's TestCase class 2022-01-11 17:28:17 -08:00