summaryrefslogtreecommitdiffstats
path: root/MCServer/vg
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-22 17:27:12 +0200
committermadmaxoft <github@xoft.cz>2013-09-22 17:29:11 +0200
commit2a7a482f2c659745ffe411dc66a9fcc2a4da22bf (patch)
tree465f107527817866a48c035a9fdbd7d6145e90db /MCServer/vg
parentAPIDump: Forgot a function in globals. (diff)
downloadcuberite-2a7a482f2c659745ffe411dc66a9fcc2a4da22bf.tar
cuberite-2a7a482f2c659745ffe411dc66a9fcc2a4da22bf.tar.gz
cuberite-2a7a482f2c659745ffe411dc66a9fcc2a4da22bf.tar.bz2
cuberite-2a7a482f2c659745ffe411dc66a9fcc2a4da22bf.tar.lz
cuberite-2a7a482f2c659745ffe411dc66a9fcc2a4da22bf.tar.xz
cuberite-2a7a482f2c659745ffe411dc66a9fcc2a4da22bf.tar.zst
cuberite-2a7a482f2c659745ffe411dc66a9fcc2a4da22bf.zip
Diffstat (limited to '')
-rw-r--r--MCServer/vg7
-rw-r--r--MCServer/vg.supp0
2 files changed, 7 insertions, 0 deletions
diff --git a/MCServer/vg b/MCServer/vg
new file mode 100644
index 000000000..fcc8270d0
--- /dev/null
+++ b/MCServer/vg
@@ -0,0 +1,7 @@
+#! /bin/bash
+
+# This script runs MCServer under valgrind
+# It expects valgrind to be normally installed and available
+# Note that this is for Linux only and debug-only, since it slows down MCS way too much
+
+valgrind --log-file=valgrind.log --suppressions=vg.supp --tool=memcheck --leak-check=full --leak-resolution=high --show-reachable=yes --track-origins=yes -v ./MCServer
diff --git a/MCServer/vg.supp b/MCServer/vg.supp
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/MCServer/vg.supp