diff options
author | Mateja <mail@matejamaric.com> | 2021-04-11 12:17:51 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-04-11 12:17:51 +0200 |
commit | 04cdbd47a779142f7c4be6446a509d2726674ec6 (patch) | |
tree | 6fb84f7b05bfb6d1bb1ba686692009ca89eef32a /valgrind | |
parent | a48ebe7a09ce70d7b116d529163197c64607772e (diff) | |
download | misc-04cdbd47a779142f7c4be6446a509d2726674ec6.tar.gz misc-04cdbd47a779142f7c4be6446a509d2726674ec6.zip |
Add valgrind notes.
Diffstat (limited to 'valgrind')
-rw-r--r-- | valgrind | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/valgrind b/valgrind new file mode 100644 index 0000000..9dd5c3f --- /dev/null +++ b/valgrind @@ -0,0 +1,7 @@ +gcc -g -Wall main.c +valgrind --leak-check=full \ + --show-leak-kinds=all \ + --track-origins=yes \ + --verbose \ + --log-file=valgrind-out.txt \ + ./a.out exampleParam1 exampleParam2 |