diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2012-03-19 02:00:42 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2012-03-19 02:00:42 +0000 |
commit | a94c84d34f3770037047e80d3fe1c047d3960016 (patch) | |
tree | 128958c70d4a42ba9c5c046387b5538f77a86950 /doc/rawshark.pod | |
parent | 13e113bd44573ac03ba9ded673eeda25c418348e (diff) |
Add a new environment variable (WIRESHARK_ABORT_ON_OUT_OF_MEMORY) that
prevents OutOfMemory exceptions from being thrown. This makes it easier
to debug such conditions.
Set this variable in test-fuzzed-cap.sh but not in fuzz-test.sh; it's nice
to see the friendly out-of-memory error message in the bug reports the
latter script generates.
svn path=/trunk/; revision=41656
Diffstat (limited to 'doc/rawshark.pod')
-rw-r--r-- | doc/rawshark.pod | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/rawshark.pod b/doc/rawshark.pod index 71196e82ce..f96affdd3a 100644 --- a/doc/rawshark.pod +++ b/doc/rawshark.pod @@ -418,7 +418,7 @@ 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 +If this environment variable is set, 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. @@ -469,18 +469,25 @@ with a protocol dissector. =item WIRESHARK_EP_VERIFY_POINTERS -This environment variable, if exported, causes certain uses of pointers to be +This environment variable, if set, causes certain uses of pointers to be audited to ensure they do not point to memory that is deallocated after each packet has been fully dissected. This can be useful to developers writing or auditing code. =item WIRESHARK_SE_VERIFY_POINTERS -This environment variable, if exported, causes certain uses of pointers to be +This environment variable, if set, causes certain uses of pointers to be audited to ensure they do not point to memory that is deallocated after when a capture file is closed. This can be useful to developers writing or auditing code. +=item WIRESHARK_ABORT_ON_OUT_OF_MEMORY + +This environment variable, if present, causes abort() to be called if certain +out-of-memory conditions (which normally result in an exception and an +explanatory error message)) are experienced. This can be useful to developers +debugging out-of-memory conditions. + =back =head1 SEE ALSO |