laanwj / dwarf_to_c

Tool to recover C headers (types, function signatures) from DWARF debug data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is it possible to fixx ?

marakew opened this issue · comments

Warning: Unexpected tag structure_type inside struct or union (die 405)
Warning: Unexpected tag union_type inside struct or union (die 1618)
Warning: Unexpected tag union_type inside struct or union (die 1804)
Warning: Unexpected tag union_type inside struct or union (die 1804)
Warning: unhandled 0x39 (die 2604)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: Unexpected tag subprogram inside struct or union (die 4643)
Warning: unhandled 0x39 (die 5093)
Warning: unhandled class_type (die 5179)
Warning: unhandled class_type (die 5775)
Warning: unhandled class_type (die 5930)
Warning: unhandled class_type (die 6831)
Warning: unhandled class_type (die 6837)
Warning: unhandled class_type (die 6888)
Warning: unhandled class_type (die 7756)
Warning: unhandled class_type (die 7762)
Warning: unhandled class_type (die 7825)
Warning: unhandled class_type (die 7831)
Warning: unhandled class_type (die 7837)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: Unexpected tag subprogram inside struct or union (die 7843)
Warning: unhandled class_type (die 8529)
Warning: unhandled class_type (die 8751)
Warning: unhandled class_type (die 9002)
Warning: unhandled class_type (die 9402)
Warning: unhandled class_type (die 9795)
Warning: unhandled class_type (die 10525)
Warning: unhandled class_type (die 11092)
Warning: unhandled class_type (die 12419)
Warning: unhandled class_type (die 13298)
Warning: unhandled class_type (die 13304)
Warning: unhandled class_type (die 13355)
Warning: unhandled class_type (die 14108)
Warning: unhandled class_type (die 14565)
Warning: unhandled class_type (die 14999)
Warning: unhandled variable (die 19172)
Warning: unhandled variable (die 19185)
Warning: unhandled variable (die 19203)
Warning: unhandled variable (die 19221)
Warning: unhandled variable (die 19239)

Warning: unhandled class_type (die 208)
Warning: Unexpected tag inheritance inside struct or union (die 912)
Warning: Unexpected tag subprogram inside struct or union (die 912)
Warning: Unexpected tag subprogram inside struct or union (die 912)
Warning: Unexpected tag subprogram inside struct or union (die 912)
Warning: unhandled class_type (die 6772)
Warning: unhandled class_type (die 7353)
Warning: unhandled class_type (die 7488)
Warning: unhandled class_type (die 7567)
Warning: Unexpected tag enumeration_type inside struct or union (die 7725)
Warning: Unexpected tag inheritance inside struct or union (die 7725)
Warning: unhandled class_type (die 15197)
Traceback (most recent call last):
File "./dwarf_to_c/src/dwarf_to_c.py", line 355, in
main()
File "./dwarf_to_c/src/dwarf_to_c.py", line 349, in main
statements = parse_dwarf(args.input,args.cuname)
File "./dwarf_to_c/src/dwarf_to_c.py", line 305, in parse_dwarf
statements.extend(process_compile_unit(dwarf, cu, written))
File "./dwarf_to_c/src/dwarf_to_c.py", line 334, in process_compile_unit
to_c_process(child, cu.dies_dict, names, statements, written)
File "./dwarf_to_c/src/dwarf_to_c.py", line 201, in to_c_process
items.append(c_ast.Decl(ename,[],[],[], ref(ename), None,
File "./dwarf_to_c/src/dwarf_to_c.py", line 270, in
return lambda x: c_ast.PtrDecl([], ref(x))
File "./dwarf_to_c/src/dwarf_to_c.py", line 66, in call
raise ValueError('Error: %s (for die %i)' % (name, self.offset))
ValueError: Error: Sock (for die 15197)

I can take a look. Can you send me the executable that you're trying this
on to laanwj@gmail.com (gpg encrypted if necessary)?

sent to gmail

sorry for disturb, any progress?