volatilityfoundation / dwarf2json

convert ELF/DWARF symbol and type information into vol3's intermediate JSON
Other
106 stars 28 forks source link

struct name lost? #43

Closed diguasange closed 7 months ago

diguasange commented 2 years ago

when struct defined in this style: tyedef struct{ ... }aaa; aaa bbb; The output json will not contain the name "aaa", just show unamed_xxxx. So the json can output the real struct name directly? output such as: "bbb": { "type": { "kind": "struct", "name": "aaa" }, "offset": 7 }

mkonshie commented 7 months ago

This issue should be resolved by this commit: 9b43eb8fc85b7b2851485fadea30fd4213bfc57b

Closing this issue, feel free to open it back up if the issue persists.