RtlIpv6StringToAddress fuzzer

Alex Henrie alexhenrie24 at gmail.com
Wed Mar 18 23:17:08 CDT 2020


For anyone who is interested, I am attaching the fuzzer I wrote to
find bugs in my RtlIpv6StringToAddress implementation. It has two
parts, both of which can be compiled with mingw-w64:

First, ipv6-fuzzer-wine is run on Wine. It creates the file
ipv6-test-cases.txt which says how Wine thinks each string should be
interpreted.

Then, ipv6-fuzzer-windows is run on Windows. It reads
ipv6-test-cases.txt and compares the output from Wine to the output on
Windows and prints any test cases that do not match to stdout.

I have run the fuzzer numerous times and the failing test cases that
it identified have already been accepted into Wine's test suite.
Nonetheless, if you find a new failing test case, please send it!

-Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipv6-fuzzer-wine.c
Type: text/x-csrc
Size: 2961 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200318/e3618ad6/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipv6-fuzzer-windows.c
Type: text/x-csrc
Size: 3070 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200318/e3618ad6/attachment-0001.c>


More information about the wine-devel mailing list