+ UNPOISON macro

This commit is contained in:
Frank Denis 2017-11-06 23:57:23 +01:00
parent ce3ca605a3
commit a9b6eda279

View File

@ -234,10 +234,13 @@ xor_buf(unsigned char *out, const unsigned char *in, size_t n)
#endif #endif
#ifdef HAVE_LIBCTGRIND #ifdef HAVE_LIBCTGRIND
extern void ct_poison(const void *, size_t); extern void ct_poison (const void *, size_t);
extern void ct_unpoison(const void *, size_t);
# define POISON(X, L) ct_poison((X), (L)) # define POISON(X, L) ct_poison((X), (L))
# define UNPOISON(X, L) ct_unpoison((X), (L))
#else #else
# define POISON(X, L) (void) 0 # define POISON(X, L) (void) 0
# define UNPOISON(X, L) (void) 0
#endif #endif
#endif #endif