Messages in this thread | | | Date | Sat, 20 Jan 2024 17:19:16 +0000 (UTC) | From | Thorsten Glaser <> | Subject | Re: [PATCH 1/2] x86: Remove dynamic NOP selection |
| |
Linus Torvalds dixit:
>On that note, does anybody have a better disassembler than objdump? Or >even a script around it to make it more useful? I do use "objdump >--disassemble" a fair amount, and I hate how bad it is.
Other than -Mintel (and -Mintel,i8086 for boot code) to make the syntax 90–95% less awful, I’m sorry I’ve also been looking.
>My pet peeve is the crazy relocation handling (or lack there-of). IOW,
Yes! This!
I’ve been putting markers into the file and then disassembling the final linked thing instead of just the object file I need because of this.
>Is there some sane tool that just does the sane thing and shows this as
The only other disassemblers I know don’t know about ELF objects at all, I’m sorry to say.
I didn’t know about objdump -r, but that’s truly awful to read. Given a wide enough screen, an intermediate | sed 's/^\t/&&&&/' at least moves the relocation info more to the right to interrupt the reading flow less.
Thanks, //mirabilos -- FWIW, I'm quite impressed with mksh interactively. I thought it was much *much* more bare bones. But it turns out it beats the living hell out of ksh93 in that respect. I'd even consider it for my daily use if I hadn't wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh
| |