Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. ubuntuvm@ubuntuvm-VirtualBox:~/stack_overflow$ ./so hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
  2. [BEFORE] buffer_two is at 0x7ffc352628c0 and contains 'two'
  3. [BEFORE] buffer_one is at 0x7ffc352628d0 and contains 'one'
  4. [BEFORE] value is at 0x7ffc352628dc and is 5 (0x00000005)
  5.  
  6. [STRCPY] copying 39 bytes into buffer_two
  7.  
  8. [AFTER] buffer_two is at 0x7ffc352628c0 and contains 'hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii'
  9. [AFTER] buffer_one is at 0x7ffc352628d0 and contains 'iiiiiiiiiiiiiiiiiiiiiii'
  10. [AFTER] value is at 0x7ffc352628dc and is 1768515945 (0x69696969)
  11. ubuntuvm@ubuntuvm-VirtualBox:~/stack_overflow$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement