Feebdack
See original GitHub issueI used the mruby example and got this just when starting up:
┘mutation error: No such file or directory
[-] PROGRAM ABORT : Error in custom_fuzz. Size returned: 0
Location : fuzz_one_original(), src/afl-fuzz-one.c:1747
It should all be there:
AFL_CUSTOM_MUTATOR_ONLY=1
AFL_CUSTOM_MUTATOR_LIBRARY=/prg/Grammar-Mutator/trunk/src/libgrammarmutator.so
afl-fuzz -i in -o out -- mruby/bin/mruby @@
ls out/trees/
...
id:000070,time:0,orig:70 id:000156,time:0,orig:156 id:000242,time:0,orig:242
id:000071,time:0,orig:71 id:000157,time:0,orig:157 id:000243,time:0,orig:243
id:000072,time:0,orig:72 id:000158,time:0,orig:158 id:000244,time:0,orig:244
id:000073,time:0,orig:73 id:000159,time:0,orig:159 id:000245,time:0,orig:245
...
more feedback:
-
IMHO the GRAMMAR_FILE env var should always be required. having a JSON default is not helpful.
-
./grammar_generator 123 100 1000 /tmp/seeds /tmp/trees
-> not found. it is src/grammar_generator. better copy the grammar_generator and the .so to the project root when done compiling, maybe even with the grammar type in their filename?
export export AFL_CUSTOM_MUTATOR_LIBRARY=/path/to/libgrammarmutator.so
-> double export, also again below
dont put -o to /tmp, this is not best practice. just leave paths away so the example work in the the current directory
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (10 by maintainers)
Top Results From Across the Web
Feedback Definition & Meaning - Merriam-Webster
The meaning of FEEDBACK is the transmission of evaluative or corrective information about an action, event, or process to the original or ...
Read more >Feedback - Wikipedia
Feedback occurs when outputs of a system are routed back as inputs as part of a chain of cause-and-effect that forms a circuit...
Read more >Feedback Definition & Meaning - Dictionary.com
the process of returning part of the output of a circuit, system, or device to the input, either to oppose the input (negative...
Read more >Why Feedback Rarely Does What It's Meant To
What we mean by “feedback” is very different. Feedback is about telling people what we think of their performance and how they should...
Read more >FEEDBACK | definition in the Cambridge English Dictionary
information or statements of opinion about something, such as a new product, that can tell you if it is successful or liked: Have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s my fault. I wrongly think
strncpy
is a safer version ofstrcpy
, but the destination string afterstrncpy
is sometimes not null-terminated. I changed it tosnprintf
, which also avoids the buffer overflow.Thanks! I have submitted the final evaluation.