drgn/tests
Omar Sandoval 55e3a58e06 libdrgn: python: use correct member offset when creating object from value
We need to use the offset of the member in the outermost object type,
not the offset in the immediate containing type in the case of nested
anonymous structs.

Fixes: e72ecd0e2c ("libdrgn: replace drgn_program_member_info() with drgn_type_find_member()")
Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-02-21 02:29:59 -08:00
..
helpers Remove register numbers from API and add register aliases 2021-01-28 17:47:45 -08:00
__init__.py Track byte order in scalar types instead of objects 2021-02-19 21:41:29 -08:00
dwarf.py Track byte order in scalar types instead of objects 2021-02-19 21:41:29 -08:00
dwarfwriter.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
elf.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
elfwriter.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
libdrgn.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_docs.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
test_dwarf.py Track byte order in scalar types instead of objects 2021-02-19 21:41:29 -08:00
test_language_c.py libdrgn: remove half-baked support for complex types 2021-02-17 14:56:33 -08:00
test_lexer.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_object.py libdrgn: python: use correct member offset when creating object from value 2021-02-21 02:29:59 -08:00
test_path.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
test_platform.py Remove register numbers from API and add register aliases 2021-01-28 17:47:45 -08:00
test_program.py libdrgn/python: remove Type == operator 2020-12-22 03:11:38 -08:00
test_python.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_serialize.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_type.py Track byte order in scalar types instead of objects 2021-02-19 21:41:29 -08:00
test_util.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00