Skip to content

Instantly share code, notes, and snippets.

@dmthuc
Last active July 24, 2019 04:37
Show Gist options
  • Save dmthuc/d9adec6b2429cfaffb586be6dae17127 to your computer and use it in GitHub Desktop.
Save dmthuc/d9adec6b2429cfaffb586be6dae17127 to your computer and use it in GitHub Desktop.
Valgrind mem check, gdb run with command
valgrind --leak-check=full ./main arg1
# Stat with:
gdb executable
# Run with argument
r arg1 arg2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment