diff --git a/sqlelf/elf.py b/sqlelf/elf.py index 83d3af6..1843ff2 100644 --- a/sqlelf/elf.py +++ b/sqlelf/elf.py @@ -521,14 +521,17 @@ def dwarf_dies_generator() -> Iterator[dict[str, Any]]: DIE_t, DIE ) # annoying cast since iter_CUEs returns DIE_t | None die_name = DIE.attributes.get("DW_AT_name", None) + low_pc, high_pc = determine_high_low_pc(DIE) yield { "path": binary_name, "tag": DIE.tag, "name": bytes2str(die_name.value) if die_name else None, + "low_pc": low_pc, + "high_pc": high_pc, } generator = Generator.make_generator( - ["path", "tag", "name"], + ["path", "tag", "name", "low_pc", "high_pc"], dwarf_dies_generator, )