문제

I have a binary file made with nasm -f which I want to do some debugging, or close enough. So far I know, nasm doesn't generate proper symbols for debugging to a binary file, right? which approach could I use to e.g, see each value passed on register/memory a time? I have an "array" in a assembly program that I want to see each value of. Is there any tool would help to perform this task?

도움이 되었습니까?

해결책

If you are on linux, you should use nasm -f elf -F dwarf to get debug information, and make sure you are not stripping them during linking.

Also, to see register or memory contents you don't need debug info.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top