문제

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?

도움이 되었습니까?

해결책

objdump -j .text -M intel -Dr hello | grep "^ " | cut -f2,3
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top