Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Oracle class #20

Open
andreafioraldi opened this issue Sep 2, 2020 · 1 comment
Open

Oracle class #20

andreafioraldi opened this issue Sep 2, 2020 · 1 comment

Comments

@andreafioraldi
Copy link
Member

A fuzzer can look for something different than crashes. Think about timeouts for instance.

The oracle class looks at observation channels, similarly to feedback, but it decides if the testcase is crashing, not if it is interesting.
For regular fuzzing, you should define the exit code of a process as an observation channel. To make the AFL oracle, you need two observation channels that are the exit code and the coverage map.

The dedup (you can choose also that dedup is part of oracle, not a separate entity) take a crashing input, look at observation channels and say of a crash worth saving (not a duplicate). in AFL this just uses the feedback to see if the crash triggers new coverage.

For timeout, the oracle will use the coverage and the timing observation channels. I hope it is clear.

@domenukk
Copy link
Member

domenukk commented Sep 2, 2020

This is definitely needed, however I'm not sure if the name is clear. Maybe something like assertions?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants