summaryrefslogtreecommitdiff
path: root/tools/fuzz-test.sh
AgeCommit message (Collapse)AuthorFilesLines
2010-06-04If BIN_DIR is ".", set WIRESHARK_RUN_FROM_BUILD_DIRECTORY so that weGerald Combs1-0/+4
test plugins. svn path=/trunk/; revision=33085
2010-04-21Export MALLOC_CHECK_=3 when fuzz testing in case we're on a glibc-based system:Jeff Morriss1-2/+3
this value will cause glibc to do some memory allocation checking for us and abort if it finds a problem. (If we're not on a glibc-based system this will have no effect but should also do no harm.) (I think the buildbot already runs with this set but it's better for all of us to have it set, too.) svn path=/trunk/; revision=32528
2010-04-16Turn on memory scrubbing when fuzz testing.Jeff Morriss1-1/+3
svn path=/trunk/; revision=32487
2010-02-05Exit normally when we trap a signal so that things like Buildbot don'tGerald Combs1-1/+1
generate unnecessary errors when we cancel a fuzz test. svn path=/trunk/; revision=31803
2009-10-15Use SE canaries when fuzz testing.Jeff Morriss1-1/+1
svn path=/trunk/; revision=30566
2009-09-22Add initial support for "two pass analysis" in tshark. This allows tshark to ↵Kovarththanan Rajaratnam1-3/+7
arrive at the same protocol tree as the Wireshark GUI. Before this change tshark only supported a single scan over the file. This effectively means that packets cannot use data that are gathered from frames that appear after the current frame. By scanning twice we give the dissector the opportunity to make forward references. svn path=/trunk/; revision=30076
2009-08-20Add error probability command line parameterKovarththanan Rajaratnam1-63/+64
svn path=/trunk/; revision=29486
2009-08-12Temporarily disable dissector bug checking. Fixing the ones we've foundGerald Combs1-2/+4
so far will take a while and in the meantime looking for dissector assertions is keeping us from finding more serious bugs. svn path=/trunk/; revision=29395
2009-08-07fuzz-test: Fix/change WIRESHARK_ABORT_ON_DISSECTOR_BUG handling:Bill Meier1-2/+5
1. If enabled: the variable must be exported to the env to take effect; 2. Upon reflection: disable this feature: tshark has been changed to output WARNING messages to stderr as a default; This means that DISSECTOR_BUGs and failed DISSECTOR_ASSERTs which cause WARNING log level messages will thus be output to stderr and thus will be detected by the fuzz-test. svn path=/trunk/; revision=29330
2008-05-28Fail the fuzz test (reporting the *input* file as a problem) if capinfos ↵Jeff Morriss1-2/+15
aborts out--like it was for iSeries files prior to rev 25388. svn path=/trunk/; revision=25389
2008-04-15Added an option (-b) to specify directory containing binaries to use forStig Bjørlykke1-6/+10
fuzz testing (tshark, editcap and capinfos). svn path=/trunk/; revision=25041
2008-03-24Use cygpath to automatically find our paths under Windows.Gerald Combs1-0/+9
svn path=/trunk/; revision=24725
2007-11-12Print the pass number periodically as a convenience for running the scriptGerald Combs1-1/+6
on a large number of trace files. svn path=/trunk/; revision=23437
2007-08-23Don't rename to self when fuzz err; enable ^C file cleanup trapBill Meier1-5/+3
svn path=/trunk/; revision=22601
2006-06-26Use a more uniform name for the output files (which makes it easier toGerald Combs1-2/+3
write wrapper scripts). svn path=/trunk/; revision=18577
2006-06-23Let the user set the working directory and number of passes from the commandGerald Combs1-4/+23
line. An upcoming Buildbot step will use these. svn path=/trunk/; revision=18564
2006-05-31Rename the main executable to "wireshark", along with more conversions:Gerald Combs1-1/+1
ethereal.com -> wireshark.org mailing lists and addresses ETHEREAL -> WIRESHARK Man pages Automake/Autoconf names svn path=/trunk/; revision=18271
2006-05-31Tethereal/tethereal -> TShark/tshark.Gerald Combs1-9/+9
svn path=/trunk/; revision=18268
2006-02-03Mike Duigou:Jörg Mayer1-2/+2
I noticed that when you run fuzz testing from both a root account and a user account you can run into problems because the user account tries to use and delete temp files created by the root account and fails. This patch uses the same scheme as used for fuzz error files for naming the tampered file and for the error file to prevent filename/permission collisions between temp files from different runs. svn path=/trunk/; revision=17145
2006-01-05Reminder to clean up in case of ctrl-c etcJörg Mayer1-0/+3
svn path=/trunk/; revision=16954
2005-10-11Set ETHEREAL_ABORT_ON_DISSECTOR_BUG. Make sure we create a core file. FixGerald Combs1-10/+17
up file names and extensions. svn path=/trunk/; revision=16190
2005-09-28In case the paths to the tools are wrong, inform theJörg Mayer1-0/+11
user about it instead of complaining that no capture files could be found. svn path=/trunk/; revision=16037
2005-06-08fix a problem if the tools have a space char in their pathUlf Lamping1-5/+5
svn path=/trunk/; revision=14588
2005-06-08add some general and some cygwin related commentsUlf Lamping1-2/+15
svn path=/trunk/; revision=14587
2005-04-24Fix a quoting bug.Gerald Combs1-2/+2
svn path=/trunk/; revision=14177
2005-04-20Allow the locations of tethereal, editcap, and capinfos to be changed.Gerald Combs1-8/+18
Limit the amount of VM the process can use (default 500 MB). If we can't save a capture in libpcap format, try again with the encapsulation type set to "ether". svn path=/trunk/; revision=14156
2005-04-17Add a description and usage message. Handle invalid capture files.Gerald Combs1-1/+36
svn path=/trunk/; revision=14114
2005-04-14Add a script based on the "menagerie-fuzz" buildbot test. RunningGerald Combs1-0/+52
"./tools/fuzz-test.sh /path/to/capture/files/*" will iterate over the specified capture files, using editcap to introduce errors and tethereal to check for bugs. It will do this until tethereal exits abnormally or a dissector bug is encountered. svn path=/trunk/; revision=14073