Created
September 6, 2017 03:42
-
-
Save kallewoof/1edc1d2dfffd6b9cbd4b894b17da86fc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
.file "test_cleanse.cpp" | |
.text | |
.p2align 4,,15 | |
.globl _Z14memory_cleansePvm | |
.type _Z14memory_cleansePvm, @function | |
_Z14memory_cleansePvm: | |
.LFB77: | |
.cfi_startproc | |
pushq %rbx | |
.cfi_def_cfa_offset 16 | |
.cfi_offset 3, -16 | |
movq %rsi, %rdx | |
xorl %esi, %esi | |
movq %rdi, %rbx | |
call memset@PLT | |
popq %rbx | |
.cfi_def_cfa_offset 8 | |
ret | |
.cfi_endproc | |
.LFE77: | |
.size _Z14memory_cleansePvm, .-_Z14memory_cleansePvm | |
.section .text.startup,"ax",@progbits | |
.p2align 4,,15 | |
.globl main | |
.type main, @function | |
main: | |
.LFB78: | |
.cfi_startproc | |
subq $8, %rsp | |
.cfi_def_cfa_offset 16 | |
movl $32, %edi | |
call malloc@PLT | |
movq $0, (%rax) | |
movq $0, 8(%rax) | |
movq $0, 16(%rax) | |
movq $0, 24(%rax) | |
movq %rax, %rdi | |
call free@PLT | |
xorl %eax, %eax | |
addq $8, %rsp | |
.cfi_def_cfa_offset 8 | |
ret | |
.cfi_endproc | |
.LFE78: | |
.size main, .-main | |
.ident "GCC: (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406" | |
.section .note.GNU-stack,"",@progbits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment