1 Notes on experimental afl driven ui fuzzing
3 only keyboard events for now
5 vcl/workben/eventtesting.writer is just serialized "hello" + ctrl+a + ctrl+b
6 keystrokes to get things started
8 vcl/workben/eventtesting.impress is a bit more involved and inserts text,
9 a new slide via the menu, bullets and undos for all of that
11 currently an arbitrary limit of 50 keystrokes before application quits in
12 order to initially explore that shallow space
16 cp vcl/workben/eventtesting.writer eventtesting
17 afl-fuzz -f eventtesting -t 10000 -i ~/fuzz/in.vcl -o ~/fuzz/out.vcl -d -T vcl -m 50000000 instdir/program/soffice.bin --nologo --writer --eventtesting --norestore --display :1
21 cp vcl/workben/eventtesting.impress eventtesting
22 afl-fuzz -f eventtesting -t 10000 -i ~/fuzz/in.vcl -o ~/fuzz/out.vcl -d -T vcl -m 50000000 instdir/program/soffice.bin --nologo --impress --eventtesting --norestore --display :1
24 This also works with --headless and no --display entry and thus no Xnest required