Advertisement
a3f

Untitled

a3f
Apr 16th, 2015
561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [a3f@a3f-mbp snippets]$ gobjdump -hdr nasmbug.o
  2.  
  3. nasmbug.o:     file format mach-o-x86-64
  4.  
  5. Sections:
  6. Idx Name          Size      VMA               LMA               File off  Algn
  7.   0 .text         00000022  0000000000000000  0000000000000000  00000120  2**0
  8.                   CONTENTS, ALLOC, LOAD, RELOC, CODE
  9.   1 .data         00000003  0000000000000022  0000000000000022  00000142  2**0
  10.                   CONTENTS, ALLOC, LOAD, DATA
  11.  
  12. Disassembly of section .text:
  13.  
  14. 0000000000000000 <start>:
  15.    0:   b8 04 00 00 02          mov    $0x2000004,%eax
  16.    5:   bf 01 00 00 00          mov    $0x1,%edi
  17.    a:   48 8d 35 fe 00 00 00    lea    0xfe(%rip),%rsi        # 10f <a+0xeb>
  18.             d: BRANCH32 a
  19.   11:   ba 02 00 00 00          mov    $0x2,%edx
  20.   16:   0f 05                   syscall
  21.   18:   b8 01 00 00 02          mov    $0x2000001,%eax
  22.   1d:   48 31 ff                xor    %rdi,%rdi
  23.   20:   0f 05                   syscall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement