diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2009-10-20 20:14:23 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2009-10-20 20:14:23 +0000 |
commit | 9341d5c8fa7d1b09ac1acea9977de678c236467f (patch) | |
tree | 5a2874767f51f9cedf85cbb9a86f7e36aab38135 /doc/rawshark.pod | |
parent | ef2e5d71cc2f3ea962e216b2afdee4ec7e8bd366 (diff) |
Take a stab at adding a section on environment variables that affect *shark's behavior. So far, all the emem variables are included.
svn path=/trunk/; revision=30648
Diffstat (limited to 'doc/rawshark.pod')
-rw-r--r-- | doc/rawshark.pod | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/rawshark.pod b/doc/rawshark.pod index 62818d186b..7ed3a4fbce 100644 --- a/doc/rawshark.pod +++ b/doc/rawshark.pod @@ -358,6 +358,45 @@ personal preferences file. =back +=head1 ENVIRONMENT VARIABLES + +=over 4 + +=item WIRESHARK_DEBUG_EP_NO_CHUNKS + +Normally per-packet memory is allocated in large "chunks." This behavior +doesn't work well with debugging tools such as Valgrind or ElectricFence. +Export this environment variable to force individual allocations. +Note: disabling chunks also disables canaries (see below). + +=item WIRESHARK_DEBUG_SE_NO_CHUNKS + +Normally per-file memory is allocated in large "chunks." This behavior +doesn't work well with debugging tools such as Valgrind or ElectricFence. +Export this environment variable to force individual allocations. +Note: disabling chunks also disables canaries (see below). + +=item WIRESHARK_DEBUG_EP_NO_CANARY + +Normally per-packet memory allocations are separated by "canaries" which +allow detection of memory overruns. This comes at the expense of some extra +memory usage. Exporting this environment variable disables these canaries. + +=item WIRESHARK_DEBUG_SE_USE_CANARY + +Exporting this environment variable causes per-file memory allocations to be +protected with "canaries" which allow for detection of memory overruns. +This comes at the expense of significant extra memory usage. + +=item WIRESHARK_DEBUG_SCRUB_MEMORY + +If this environment variable is exported, the contents of per-packet and +per-file memory is initialized to 0xBADDCAFE when the memory is allocated +and is reset to 0xDEADBEEF when the memory is freed. This functionality is +useful mainly to developers looking for bugs in the way memory is handled. + +=back + =head1 SEE ALSO wireshark-filter(4), wireshark(1), tshark(1), editcap(1), tcpdump(8), |