Last active
September 6, 2017 03:49
-
-
Save kallewoof/b733a0a1f8d430d935e268347de17633 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.section __TEXT,__text,regular,pure_instructions | |
.macosx_version_min 10, 12 | |
.globl __Z14memory_cleansePvm | |
.p2align 4, 0x90 | |
__Z14memory_cleansePvm: ## @_Z14memory_cleansePvm | |
.cfi_startproc | |
## BB#0: | |
pushq %rbp | |
Ltmp0: | |
.cfi_def_cfa_offset 16 | |
Ltmp1: | |
.cfi_offset %rbp, -16 | |
movq %rsp, %rbp | |
Ltmp2: | |
.cfi_def_cfa_register %rbp | |
pushq %rbx | |
pushq %rax | |
Ltmp3: | |
.cfi_offset %rbx, -24 | |
movq %rdi, %rbx | |
callq ___bzero | |
## InlineAsm Start | |
## InlineAsm End | |
addq $8, %rsp | |
popq %rbx | |
popq %rbp | |
retq | |
.cfi_endproc | |
.globl _main | |
.p2align 4, 0x90 | |
_main: ## @main | |
.cfi_startproc | |
## BB#0: | |
pushq %rbp | |
Ltmp4: | |
.cfi_def_cfa_offset 16 | |
Ltmp5: | |
.cfi_offset %rbp, -16 | |
movq %rsp, %rbp | |
Ltmp6: | |
.cfi_def_cfa_register %rbp | |
subq $48, %rsp | |
movq ___stack_chk_guard@GOTPCREL(%rip), %rax | |
movq (%rax), %rax | |
movq %rax, -8(%rbp) | |
xorps %xmm0, %xmm0 | |
movaps %xmm0, -32(%rbp) | |
movaps %xmm0, -48(%rbp) | |
leaq -48(%rbp), %rax | |
## InlineAsm Start | |
## InlineAsm End | |
movq ___stack_chk_guard@GOTPCREL(%rip), %rax | |
movq (%rax), %rax | |
cmpq -8(%rbp), %rax | |
jne LBB1_2 | |
## BB#1: | |
xorl %eax, %eax | |
addq $48, %rsp | |
popq %rbp | |
retq | |
LBB1_2: | |
callq ___stack_chk_fail | |
.cfi_endproc | |
.subsections_via_symbols |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment