2020-11-21 15:46:22 -08:00
|
|
|
#!/usr/bin/env bash
|
2022-01-21 15:39:53 -08:00
|
|
|
# By: Melroy van den Berg
|
|
|
|
# Description: Used for memory leak analysis,
|
2022-02-19 17:18:14 -08:00
|
|
|
# be-aware that you will get a lot of false positives messages due to GTK/Glib
|
2022-01-21 15:39:53 -08:00
|
|
|
|
2022-02-19 17:18:14 -08:00
|
|
|
cd ./build/src
|
|
|
|
G_DEBUG=gc-friendly G_SLICE=always-malloc valgrind \
|
|
|
|
--suppressions=/usr/share/glib-2.0/valgrind/glib.supp \
|
|
|
|
--leak-check=full --track-origins=yes \
|
|
|
|
./libreweb-browser
|