Is -dis-symname supported by binutils?
Nick Clifton
nickc@redhat.com
Tue Jan 15 15:59:00 GMT 2019
Hi Florian,
>> --disassemble=<symbol>
>>
>> Display the assembler mnemonics for the machine instructions
>> from the input file. This option only disassembles those
>> sections which are expected to contain instructions. If the
>> optional <symbol> argument is given, then display the assembler
>> mnemonics only from <symbol> up to next symbol.
> Shouldn't it use the size of the symbol instead (at least on ELF)? Or
> disregard anything but function symbols for determining the next symbol?
You are right - it should skip non-function symbols. I will create a patch...
Cheers
Nick
More information about the Binutils
mailing list