Go to the documentation of this file.
9#ifndef SQUID_VALGRIND_H
10#define SQUID_VALGRIND_H
22# include <valgrind/memcheck.h>
24# ifndef VALGRIND_MAKE_MEM_NOACCESS
25# define VALGRIND_MAKE_MEM_NOACCESS VALGRIND_MAKE_NOACCESS
26# define VALGRIND_MAKE_MEM_UNDEFINED VALGRIND_MAKE_WRITABLE
27# define VALGRIND_MAKE_MEM_DEFINED VALGRIND_MAKE_READABLE
28# define VALGRIND_CHECK_MEM_IS_ADDRESSABLE VALGRIND_CHECK_WRITABLE
30# undef VALGRIND_MAKE_NOACCESS
31# undef VALGRIND_MAKE_WRITABLE
32# undef VALGRIND_MAKE_READABLE
35# define VALGRIND_MAKE_MEM_NOACCESS(a,b) (0)
36# define VALGRIND_MAKE_MEM_UNDEFINED(a,b) (0)
37# define VALGRIND_MAKE_MEM_DEFINED(a,b) (0)
38# define VALGRIND_CHECK_MEM_IS_ADDRESSABLE(a,b) (0)
39# define VALGRIND_CHECK_MEM_IS_DEFINED(a,b) (0)
40# define VALGRIND_MALLOCLIKE_BLOCK(a,b,c,d)
41# define VALGRIND_FREELIKE_BLOCK(a,b)
42# define RUNNING_ON_VALGRIND 0
Introduction
Documentation
Support
Miscellaneous
Web Site Translations
Mirrors