summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-06 16:18:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-06 16:24:15 +0100
commit2ad231f9e90071ad2d83dae7a879ce1295db39ee (patch)
tree77c9a351462459d28558f16949442c31e5ff35ef /vcl/workben
parentc43cf1d2b6b6307e9455cbd12bbcd8310e135eac (diff)
experimental afl driven ui testing
Change-Id: I1933951c52adc75ed36db2c083c232f29b6140d6
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/README.eventtesting13
-rw-r--r--vcl/workben/eventtestingbin0 -> 140 bytes
2 files changed, 13 insertions, 0 deletions
diff --git a/vcl/workben/README.eventtesting b/vcl/workben/README.eventtesting
new file mode 100644
index 000000000000..0336f2270d2e
--- /dev/null
+++ b/vcl/workben/README.eventtesting
@@ -0,0 +1,13 @@
+Notes on experimental afl driven ui fuzzing
+
+only keyboard events for now
+
+vcl/workben/eventtesting is just serialized "helloworld" keystrokes to get
+things started
+
+currently an arbitrary limit of 10 keystrokes before application quits in
+order to initially explore that shallow space
+
+Xnest :1
+cp vcl/workben/eventtesting .
+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
diff --git a/vcl/workben/eventtesting b/vcl/workben/eventtesting
new file mode 100644
index 000000000000..363260a025d7
--- /dev/null
+++ b/vcl/workben/eventtesting
Binary files differ