aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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