Skip to content

Instantly share code, notes, and snippets.

@kallewoof
Created September 6, 2017 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kallewoof/75846ad463cb5ab1954d90705a41452f to your computer and use it in GitHub Desktop.
Save kallewoof/75846ad463cb5ab1954d90705a41452f to your computer and use it in GitHub Desktop.
.file "test_cleanse.cpp"
.text
.p2align 4,,15
.globl _Z14memory_cleansePvm
.type _Z14memory_cleansePvm, @function
_Z14memory_cleansePvm:
.LFB77:
.cfi_startproc
movq %rsi, %rdx
xorl %esi, %esi
jmp memset@PLT
.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
xorl %eax, %eax
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