Domanda

enter image description here

Platform is on 32 bit Linux, I use objdump to disassemble a binary, and trying to re-use the address column and assemble code columns , but after searching in the objdump's manual, I can not find how to force objdump to not output the hex code columns..

I also consider writing some scripts to trim off the unnecessary column, but it seems not a very straight forward work, basically how can I distinguish from hex code and assemble code?

Could anyone give me some help?

È stato utile?

Soluzione

objdump -j .text -M intel -Dr hello | grep "^ " | cut -f2,3
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top