tests: Add a test-pseudotcp-fuzzy test for fuzzing PseudoTcpSocket
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 16 Apr 2014 11:41:47 +0000 (12:41 +0100)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Thu, 17 Apr 2014 21:59:39 +0000 (17:59 -0400)
commitb8508d2711900227a6b33e92d7f3f0b5b8420c38
tree1fe448767309ebca1aa4254f27cfc3dbad999e9c
parent1d796cfacd2db2082d83395250565624f1ce5415
tests: Add a test-pseudotcp-fuzzy test for fuzzing PseudoTcpSocket

As documented at the top of the file, this creates two PseudoTcpSockets
in a loopback configuration, and mutates the raw packets which are sent
between them, hoping to cause assertion failures and illegal memory
accesses in the pseudotcp code.

Best run under Valgrind or GDB.
.gitignore
tests/Makefile.am
tests/test-pseudotcp-fuzzy.c [new file with mode: 0644]