Replacement for "objdump -d -l"?
Nick Clifton
nickc@redhat.com
Tue Aug 15 14:15:01 GMT 2023
Hi ASSI,
> Lastly, it seem brittle to parse the output as clearly it is meant to be
> human readable and might change in future versions
Correct.
> (aside from the fact
> there doesn't seem to be a documentation of the current format for
> crying out loud).
Because the output format has evolved rather than being specified by a standard.
But to be fair, the output format does not change that much, and
it could be documented if there really was a need.
> I'd be much more content with a format that was
> designed to be machine readable and fully documented (again llvm has an
> objdump that produces YAML). Is there something like that in binutils I
> can use?
No, but it would be nice to have.
A fixed, extensible, machine readable output format would be much appreciated
as a new feature for objdump. All it really needs is someone with the time,
knowledge and motivation to write it.
Cheers
Nick
More information about the Binutils
mailing list