Skip to content

Instantly share code, notes, and snippets.

@kosaki
Created March 15, 2014 02:54
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 kosaki/9561220 to your computer and use it in GitHub Desktop.
Save kosaki/9561220 to your computer and use it in GitHub Desktop.
$ memstomp -d ./employee
memstomp: 0.1.4 successfully initialized for process employee (pid 30842).
strcat(dest=0x7fff82e79285, src=0x7fff82e79289, bytes=21) overlap for employee(30842)
??:0 strcpy()
??:0 strcpy()
??:0 strcat()
employee.c:26 main()
??:0 __libc_start_main()
??:0 _start()
John,john@example.comDoe,
$ memstomp ./employee
memstomp: 0.1.4 successfully initialized for process employee (pid 30844).
strcat(dest=0x7fffc48f56d5, src=0x7fffc48f56d9, bytes=21) overlap for employee(30844)
/lib64/libmemstomp.so(strcat+0x35) [0x7f88277e49a5]
./employee(main+0x14b) [0x400a0b]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f8827443af5]
./employee() [0x4007f9]
John,john@example.comDoe,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment