Skip to content

Instantly share code, notes, and snippets.

@bvssvni
Created October 13, 2014 09:17
Show Gist options
  • Save bvssvni/fb8073191fa34fed6e02 to your computer and use it in GitHub Desktop.
Save bvssvni/fb8073191fa34fed6e02 to your computer and use it in GitHub Desktop.
.text
.file "rust-out.0.rs"
.section .rodata.cst16,"aM",@progbits,16
.align 16
.LCPI0_0:
.quad 4607182418800017408
.quad 4607182418800017408
.section .text._ZN4main20h03e1bf4befed0cc7eaaE,"ax",@progbits
.align 16, 0x90
.type _ZN4main20h03e1bf4befed0cc7eaaE,@function
_ZN4main20h03e1bf4befed0cc7eaaE:
.cfi_startproc
cmpq %fs:112, %rsp
ja .LBB0_2
movabsq $88, %r10
movabsq $0, %r11
callq __morestack
retq
.LBB0_2:
subq $88, %rsp
.Ltmp0:
.cfi_def_cfa_offset 96
movaps .LCPI0_0(%rip), %xmm0
movaps %xmm0, 64(%rsp)
leaq _ZN3fmt11secret_show20h3837314552759199338E(%rip), %rax
movq %rax, 48(%rsp)
leaq 64(%rsp), %rax
movq %rax, 56(%rsp)
leaq _ZN4main15__STATIC_FMTSTR20h919273d872f0ae8eQaaE(%rip), %rax
movq %rax, (%rsp)
movq $1, 8(%rsp)
movq $0, 16(%rsp)
leaq 48(%rsp), %rax
movq %rax, 32(%rsp)
movq $1, 40(%rsp)
leaq (%rsp), %rdi
callq _ZN2io5stdio12println_args20h72c028dcb69afaae3SlE@PLT
addq $88, %rsp
retq
.Ltmp1:
.size _ZN4main20h03e1bf4befed0cc7eaaE, .Ltmp1-_ZN4main20h03e1bf4befed0cc7eaaE
.cfi_endproc
.section .text.main,"ax",@progbits
.globl main
.align 16, 0x90
.type main,@function
main:
.cfi_startproc
movq %rsi, %rax
movq %rdi, %rcx
leaq _ZN4main20h03e1bf4befed0cc7eaaE(%rip), %rdi
movq %rcx, %rsi
movq %rax, %rdx
jmp _ZN10lang_start20hf0c82b44bea5e5973geE@PLT
.Ltmp2:
.size main, .Ltmp2-main
.cfi_endproc
.section .text._ZN3fmt11secret_show20h3837314552759199338E,"ax",@progbits
.align 16, 0x90
.type _ZN3fmt11secret_show20h3837314552759199338E,@function
_ZN3fmt11secret_show20h3837314552759199338E:
.cfi_startproc
jmp _ZN4simd22f64x2...std..fmt..Show3fmt20h62a3f4bcf5a8c1e8b5nE@PLT
.Ltmp3:
.size _ZN3fmt11secret_show20h3837314552759199338E, .Ltmp3-_ZN3fmt11secret_show20h3837314552759199338E
.cfi_endproc
.type str1466,@object
.section .rodata.str1466,"a",@progbits
str1466:
.size str1466, 0
.type _ZN4main15__STATIC_FMTSTR20h919273d872f0ae8eQaaE,@object
.section .data.rel.ro.local._ZN4main15__STATIC_FMTSTR20h919273d872f0ae8eQaaE,"aw",@progbits
.align 8
_ZN4main15__STATIC_FMTSTR20h919273d872f0ae8eQaaE:
.quad str1466
.quad 0
.size _ZN4main15__STATIC_FMTSTR20h919273d872f0ae8eQaaE, 16
.section ".note.GNU-stack","",@progbits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment