Created
September 6, 2017 03:35
-
-
Save kallewoof/8b7501ea561c8363757abd52dd547f84 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 | |
movl $32, %edi | |
callq _malloc | |
movq $0, 24(%rax) | |
movq $0, 16(%rax) | |
movq $0, 8(%rax) | |
movq $0, (%rax) | |
## InlineAsm Start | |
## InlineAsm End | |
movq %rax, %rdi | |
callq _free | |
xorl %eax, %eax | |
popq %rbp | |
retq | |
.cfi_endproc | |
.subsections_via_symbols |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment