Disassemble into x86_64 on OSX10.6 (But with _Intel_ Syntax)

后端 未结 5 1931
庸人自扰
庸人自扰 2021-02-08 18:58

I know of otool -tv, but I would much rather use the Intel syntax rather than AT&Ts, mainly to easily follow along in a book and not have to look over

5条回答
  •  天涯浪人
    2021-02-08 19:04

    For GDB, in your .gdbinit file, add:

    set disassembly-flavor intel

    then it will be the default syntax for gdb.

提交回复
热议问题