From 0f7efbcb6a40923c1a4980cb1423939421772186 Mon Sep 17 00:00:00 2001 From: Sergey Avseyev Date: Tue, 9 Oct 2018 08:01:12 +0000 Subject: [PATCH] `echo` will not interpret escape codes without `-e` --- Fuzzing-your-nim-code-to-rabbit-out-all-the-hard-bugs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fuzzing-your-nim-code-to-rabbit-out-all-the-hard-bugs.md b/Fuzzing-your-nim-code-to-rabbit-out-all-the-hard-bugs.md index 8eb8519..164c33d 100644 --- a/Fuzzing-your-nim-code-to-rabbit-out-all-the-hard-bugs.md +++ b/Fuzzing-your-nim-code-to-rabbit-out-all-the-hard-bugs.md @@ -85,7 +85,7 @@ AFL best works when given a bunch of valid test data. It *can* make up random da ``` $ mkdir afl-in/ -$ echo "\x03\02hi\05there\x03nim\x03\x02\x01\x00" > afl-in/testdata +$ echo -e "\x03\02hi\05there\x03nim\x03\x02\x01\x00" > afl-in/testdata $ ./afltestcase < afl-in/testdata Read 3 texts Read 3 picks