aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-11 12:17:51 +0200
committerMateja <mail@matejamaric.com>2021-04-11 12:17:51 +0200
commit04cdbd47a779142f7c4be6446a509d2726674ec6 (patch)
tree6fb84f7b05bfb6d1bb1ba686692009ca89eef32a
parenta48ebe7a09ce70d7b116d529163197c64607772e (diff)
downloadmisc-04cdbd47a779142f7c4be6446a509d2726674ec6.tar.gz
misc-04cdbd47a779142f7c4be6446a509d2726674ec6.zip
Add valgrind notes.
-rw-r--r--valgrind7
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