title: How to disassemble fasm-generated binary?
body: <p>I am writing program in FASM assembler, and want to see what code is generated after all macro expansions. One usually can disasseble binary with <code>objdump -d</code>, but for binary, generated by fasm, it outputs only following:</p>
  
  <pre><code>$ cat true.fasm
  format ELF64 executable
  sys_exit = 60
  entry $
        mov eax, sys_exit
        xor edi, edi
        syscall
  $ fasm true.fasm
  $ objdum -d ./true
  out/true:     file format elf64-x86-64
  </code></pre>
  
  <p>What I can do is to load binary into <code>gdb</code>, start it with <code>starti</code> and decode instructions with <code>x/10i $rip</code>, which is sub-optimal. Is there non-interactive command that can do the same?</p>