diff --git a/Makefile b/Makefile index 0590ad8..e585d31 100644 --- a/Makefile +++ b/Makefile @@ -99,6 +99,9 @@ CPPFLAGS += $(shell pkg-config $(PKG_CONFIG_EXTRA) --cflags libusb-1.0) CPPFLAGS += $(OLD_URI) -DCORRTABLE_PATH=\"$(BACKEND_DATA_DIR)\" LIBLDFLAGS = -g -shared +# Debugging +#CFLAGS += -fsanitize=address + # List of backends BACKENDS = canonselphy canonselphyneo dnpds40 hiti kodak605 kodak1400 kodak6800 magicard mitsu70x mitsu9550 mitsud90 mitsup95d shinkos1245 shinkos2145 shinkos6145 shinkos6245 sonyupd sonyupdneo diff --git a/regression.pl b/regression.pl index 9a1e17d..e2c7fad 100755 --- a/regression.pl +++ b/regression.pl @@ -120,7 +120,7 @@ if ($proc_count > 1 && $kid > 0) { if ($quiet) { unshift(@args,"-q"); } - unshift(@args,"valgrind", "--track-origins=yes"); + unshift(@args,"valgrind", "--track-origins=yes", "--leak-check=full"); } if (!$quiet) { print join(":", @args) . "\n";