fix: memcheck should compile with -O0 and -g flags.