mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-26 21:30:07 +00:00
b8ab80843f
Adds to spirv-fuzz the option to shrink a sequence of transformations that lead to an interesting binary to be generated, to find a smaller sub-sequence of transformations that still lead to an interesting (but hopefully simpler) binary being generated. The notion of what counts as "interesting" comes from a user-provided script, the "interestingness function", similar to the way the spirv-reduce tool works. The shrinking process will give up after a maximum number of steps, which can be configured on the command line. Tests for the combination of fuzzing and shrinking are included, using a variety of interestingness functions. |
||
---|---|---|
.. | ||
as | ||
cfg | ||
dis | ||
emacs | ||
fuzz | ||
lesspipe | ||
link | ||
opt | ||
reduce | ||
util | ||
val | ||
CMakeLists.txt | ||
io.h |