dfsm: Return boundary numbers when fuzzing integers more often
authorPhilip Withnall <philip@tecnocode.co.uk>
Sun, 15 Jan 2012 17:12:06 +0000 (17:12 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sun, 15 Jan 2012 17:12:06 +0000 (17:12 +0000)
commitbd59fdf901d1ac96caceaff732231417a074217e
tree8395cea0d8389a7dd51458ad6249dd411565709d
parent694ff2e237f9deb1fa93b715b2df3dbdbba1c5e8
dfsm: Return boundary numbers when fuzzing integers more often

It might be the case that the program under test does arithmetic on the
integers passed to it over D-Bus, and we could find problems caused by
integer overflow/underflow. Consequently, we now return boundary numbers
with probability 0.1 when fuzzing unsigned and signed integers.
dfsm/dfsm-ast-data-structure.c