Guest User

Untitled

a guest
Mar 30th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     .text
  2.     .file   "1.c"
  3.     .globl  main
  4.     .p2align    4, 0x90
  5.     .type   main,@function
  6. main:                                   # @main
  7.     .cfi_startproc
  8. # BB#0:
  9.     pushq   %rbx
  10. .Lcfi0:
  11.     .cfi_def_cfa_offset 16
  12. .Lcfi1:
  13.     .cfi_offset %rbx, -16
  14.     movl    $10, %edi
  15.     callq   malloc
  16.     movq    %rax, %rbx
  17.     movl    $.L.str, %edi
  18.     xorl    %eax, %eax
  19.     movq    %rbx, %rsi
  20.     callq   printf
  21.     movq    %rbx, %rdi
  22.     callq   free
  23.     xorl    %eax, %eax
  24.     popq    %rbx
  25.     retq
  26. .Lfunc_end0:
  27.     .size   main, .Lfunc_end0-main
  28.     .cfi_endproc
  29.  
  30.     .type   .L.str,@object          # @.str
  31.     .section    .rodata.str1.1,"aMS",@progbits,1
  32. .L.str:
  33.     .asciz  "%x"
  34.     .size   .L.str, 3
  35.  
  36.  
  37.     .ident  "clang version 4.0.0-1ubuntu1 (tags/RELEASE_400/rc1)"
  38.     .section    ".note.GNU-stack","",@progbits
Add Comment
Please, Sign In to add comment