AFLplusplus / AFLplusplus/LibAFL

Any reason for not having a common interface between feedbacks and observers?

Aperta
#2,677 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
2.6k
Fork
481
Merge medio
2g 30m
PR unite (30g)
16

Descrizione

I see 4 types of relations between the feedbacks and observers
1. Feedbacks that accept any observers (e.g. Diff)
2. Feedbacks that accept observers of specific traits (e.g. Map, withHash, etc.)
3. Feedbacks that accept observers of specific types (e.g. list, std, etc.)
4. Feedbacks that do not accept any observers (e.g. const, crash, etc.)

That is to say that there is no solid interface between the feedbacks and the observers, also as per the paper.

Have you thought about standardizing this interface, or are there any super dauting challenges?
The way I see it, the only visible difference amongst Observers is their output.
So is it not a better option to have a standardized interface that outputs a generic instead?

Maybe I am not seeing something you guys have seen before. If so, would love a conversation on it.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.