Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a branch "fuzz" #142

Closed
wants to merge 11 commits into from
Closed

Create a branch "fuzz" #142

wants to merge 11 commits into from

Conversation

KimSeoYe
Copy link

@KimSeoYe KimSeoYe commented Jan 21, 2022

check this issue(bug report) : #143 (comment)

build fuzzer using Makefile
$ CC=afl-gcc make

run afl engine
$ cd build/fuzz
$ afl-fuzz -i math_input -o math_out ./math_fuzzer
$ afl-fuzz -i doge_input -o doge_out ./doge_fuzzer
$ afl-fuzz -i smallc_input -o smallc_out ./smallc_fuzzer
It now fuzz the language specification part, not parsing part.
Modified
- Makefile : to copy input & expr directories
- fuzzers : to fuzz mpca_lang, not mpc_parse_contents

Removed
- lispy fuzzers

TODO
- smallc fuzzer does not work
- It is a backup directory of "build" after executing fuzzing w/ AFL++
- Also removed smallc fuzzers
It uses mpca_lang_file() instead of mpca_lang().
I made this just for the convenience of testing.
@KimSeoYe KimSeoYe changed the title Segmentation fault and timeout occur at mpca_lang_st() Create a branch "fuzz" Jan 21, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant