]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Add a file of extra bignum tests.
authorSimon Tatham <anakin@pobox.com>
Wed, 30 Mar 2016 07:45:21 +0000 (08:45 +0100)
committerSimon Tatham <anakin@pobox.com>
Wed, 30 Mar 2016 07:45:21 +0000 (08:45 +0100)
commita22e43d3d8e43446a178bc4a49b53ce0893fd96e
tree5ad8ce0cc2b91ce3f2fa5d6645a7e6ba4622650b
parent3e40566bb053f8f438e220ede4a1da34cf386592
Add a file of extra bignum tests.

I generated these as a by-product of using afl-fuzz on the testbn
executable. I'd hoped it would find interesting bugs in the bignum
code itself, but in fact it mostly found bugs in the parsing code in
the test main(). However, even so, it did produce a list of tests
which reach as much of the code as afl-fuzz was able to, and that
seems like a useful thing to save.

Also, of course, just having a place to put explicitly specified
bignum tests is a good thing anyway, because then we can put
regression tests on the end of it every time we fix bugs.
testdata/bignumtests.txt [new file with mode: 0644]