Skip to content

Instantly share code, notes, and snippets.

@cjjavellana
Last active February 27, 2019 19:10
Show Gist options
  • Save cjjavellana/fc740ab2a0d2d262aa58c56b570042a6 to your computer and use it in GitHub Desktop.
Save cjjavellana/fc740ab2a0d2d262aa58c56b570042a6 to your computer and use it in GitHub Desktop.
Fun With GDB

Dereferencing a pointer

(gdb) p argv
$3 = (char **) 0x7fffffffe7a8
(gdb) x/s *((char **) 0x7fffffffe7a8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment