On 11/25/24 06:04, Richard Henderson wrote:
On 11/23/24 18:21, Pierrick Bouvier wrote:
After thinking about it, a simple, exhaustive and reliable way to find this type
information is the debug (dwarf) info.
By compiling qemu binaries with --enable-debug, and extracting info using
llvm-dwarfdump
plus a custom filter [4], we can obtain a text representation of all structures
QEMU uses.
It appears you are re-creating libabigail's abidiff tool.
https://sourceware.org/libabigail/manual/abidiff.html
r~
Thanks for mentioning it.
To make sure we don't miss anything, I made sure to run that using
windows binaries.
So, except if I missed something on how to use those tools, this
excludes support for abidiff and pahole which are ELF centric.
Thus the idea to simply to dump full dwarf info included in COFF and
compare the result.