Filesystem Testing Tools/mangle.c From Ext4 Jump to: navigation , search start content /* trivial binary file fuzzer by Ilja van Sprundel. It's usage is very simple, it takes a filename and headersize as input. it will then change approximatly between 0 and 10% of the header with random bytes (biased towards the highest bit set) obviously you need a bash script or something as a wrapper ! so far this broke: - libmagic (used file) - preview (osX pdf viewer) - xpdf (hang, not a crash ...) - mach-o loading (osX 10.3.7, seems to be fixed later) - qnx elf loader (panics almost instantly, yikes !) - FreeBSD elf loading - openoffice - amp - osX image loading (.dmg) - libbfd (used objdump) - libtiff (used tiff2pdf) - xine (division by 0, took 20 minutes of fuzzing) - O...