diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-11 09:24:56 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-11 09:24:56 +0000 |
commit | e0e33ca74b8bfa520cc4feee23985b18e2d0b35d (patch) | |
tree | 46d58165c275eb97dce0793303ceff491a15da8b /epan/emem.h | |
parent | a8fbd4577f775b8d6079e901243141db5896760e (diff) |
We now expose the following environment variables:
* WIRESHARK_DEBUG_EP_NO_CHUNKS
* WIRESHARK_DEBUG_SE_NO_CHUNKS
* WIRESHARK_DEBUG_EP_NO_CANARY
* WIRESHARK_DEBUG_SE_NO_CANARY
This allows us to enable/disable memory chunks and canaries at runtime _without_ needing to recompile.
svn path=/trunk/; revision=29375
Diffstat (limited to 'epan/emem.h')
-rw-r--r-- | epan/emem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/emem.h b/epan/emem.h index 1c81887fd1..0d59354749 100644 --- a/epan/emem.h +++ b/epan/emem.h @@ -474,7 +474,7 @@ emem_strbuf_t *ep_strbuf_truncate(emem_strbuf_t *strbuf, gsize len); /* #define DEBUG_INTENSE_CANARY_CHECKS */ /* Helper to troubleshoot ep memory corruption - * if compiled and the environment variable WIRESHARK_DEBUG_EP_CANARY exists + * if compiled and the environment variable WIRESHARK_DEBUG_EP_INTENSE_CANARY exists * it will check the canaries and when found corrupt stop there in the hope * the corruptor is still there in the stack. * Some checkpoints are already set in packet.c in strategic points |