drgn/tests
Omar Sandoval fd04463596 libdrgn/python: add Type.member()
In Python, looking up a member in a drgn Type by name currently looks
something like:

  member = [member for member in type.members if member.name == "foo"][0]

Add a Type.member(name) method, which is both easier and more efficient.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2020-12-15 16:10:23 -08:00
..
helpers libdrgn: linux kernel: remove THREAD_SIZE object finder 2020-12-10 02:08:13 -08:00
__init__.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
dwarf.py Add DW_LANG to generated dwarf.py 2020-02-26 19:55:42 -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 libdrgn/python: fix reference counting on Type.members and Type.parameters 2020-12-15 14:09:12 -08:00
test_language_c.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07:00
test_lexer.py Format imports with isort 2020-08-20 16:55:07 -07:00
test_object.py libdrgn: replace drgn_program_member_info() with drgn_type_find_member() 2020-12-15 14:40:54 -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 Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00
test_program.py Fix trailing commas for Black v20.8b1 2020-08-27 11:31:29 -07: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 libdrgn/python: add Type.member() 2020-12-15 16:10:23 -08:00
test_util.py Update copyright headers to Facebook and add missing headers 2020-05-15 15:13:02 -07:00