Bugs found by jsfunfuzz
bugzilla.mozilla.org
Bugs found by jsfunfuzz
1–10 of 10 posts
Re: Bugs found by jsfunfuzz
#2Re: Bugs found by jsfunfuzz
#3Re: Bugs found by jsfunfuzz
#4This is really interesting, and a great approach to testing. I wonder if other JS engines like V8 are using this or something similar?
Re: Bugs found by jsfunfuzz
#5This is really interesting, and a great approach to testing. I wonder if other JS engines like V8 are using this or something similar?
Of course, this is no guarantee that the program actually works, but it would make me sleep better :)
Re: Bugs found by jsfunfuzz
#6This is really interesting, and a great approach to testing. I wonder if other JS engines like V8 are using this or something similar?
Indeed interesting. I wonder if there is a tool for generating input in a way that guarantees that all locations in the program are actually covered (in other words, that all reachable code has been reached). Of course, this is no guarantee that the program actually works, but it would make me sleep better :)
http://lcamtuf.coredump.cx/afl/
http://lcamtuf.blogspot.ca/2014/11/pulling-jpegs-out-of-thin...
Re: Bugs found by jsfunfuzz
#7This is really interesting, and a great approach to testing. I wonder if other JS engines like V8 are using this or something similar?
Indeed interesting. I wonder if there is a tool for generating input in a way that guarantees that all locations in the program are actually covered (in other words, that all reachable code has been reached). Of course, this is no guarantee that the program actually works, but it would make me sleep better :)
http://lcamtuf.coredump.cx/afl/
This blog post is a fascinating description of its potential:
http://lcamtuf.blogspot.com/2014/11/pulling-jpegs-out-of-thi...
I haven't had as much success with it, but it's so interesting that I'll keep trying. I'm also interested in KLEE, which I found in a similar HN story, but it has very specific build requirements:
[Edit: bhouston posted the exact same links minutes before I did. Anyway, cool stuff.]
Re: Bugs found by jsfunfuzz
#8This is really interesting, and a great approach to testing. I wonder if other JS engines like V8 are using this or something similar?
Indeed interesting. I wonder if there is a tool for generating input in a way that guarantees that all locations in the program are actually covered (in other words, that all reachable code has been reached). Of course, this is no guarantee that the program actually works, but it would make me sleep better :)
i.e. for inputs A, B, C, try every combination of A-B, A-C, and B-C
It sounds like a lot, but its not too onerous with the speed of computers we have today. This type of testing will flush out most bugs which will result from a particular combination of inputs, and is deterministic, when compared to fuzz testing.
This is not to detract from fuzz testing, just a note that it is effectively designed to be non-deterministic, which can result in a delay in bug detection.
Re: Bugs found by jsfunfuzz
#9Earlier quoted context omitted.
Indeed interesting. I wonder if there is a tool for generating input in a way that guarantees that all locations in the program are actually covered (in other words, that all reachable code has been reached). Of course, this is no guarantee that the program actually works, but it would make me sleep better :)
An instrumented fuzzer like AFL purports to do this: http://lcamtuf.coredump.cx/afl/ This blog post is a fascinating description of its potential: http://lcamtuf.blogspot.com/2014/11/pulling-jpegs-out-of-thi... I haven't had as much success with it, but it's so interesting that I'll keep trying. I'm also interested in KLEE, which I found in a similar HN story, but it has very specific build requirements: https://klee…
There's also a web interface to just play around with KLEE without having to download and install anything that a few other people and I worked on available at http://klee.doc.ic.ac.uk:55080/, which we open-sourced https://github.com/klee-web/klee-web.
Re: Bugs found by jsfunfuzz
#10Earlier quoted context omitted.
Indeed interesting. I wonder if there is a tool for generating input in a way that guarantees that all locations in the program are actually covered (in other words, that all reachable code has been reached). Of course, this is no guarantee that the program actually works, but it would make me sleep better :)
One type of testing (sorry, not a tool yet) which can help with this is combinatorial testing. Basically, when testing against a set of multiple inputs, create a test which will test every possible combination of input for a pair of inputs. i.e. for inputs A, B, C, try every combination of A-B, A-C, and B-C It sounds like a lot, but its not too onerous with the speed of computers we have today. This type of testing w…