FRET-LibAFL/fuzzers/baby_fuzzer_tokens
Dongjia "toka" Zhang 78060ea308
0.11.2 (#1735)
2023-12-18 14:33:14 +01:00
..
2021-10-21 16:33:40 +02:00
2023-08-02 17:36:26 +02:00
2021-10-21 16:33:40 +02:00
2023-12-18 14:33:14 +01:00

Baby tokens fuzzer

  1. tokenizer are used to split inputs into tokens
  2. encoder_decoder will give every new token a new id and record the mapping relation. Then it can convert tokens to EncodedInput, vice versa.
  3. encoded_mutations are used to deal with token level mutation, following is the definition: ''' pub fn encoded_mutations() -> tuple_list_type!( EncodedRandMutator, EncodedIncMutator, EncodedDecMutator, EncodedAddMutator, EncodedDeleteMutator, EncodedInsertCopyMutator, EncodedCopyMutator, EncodedCrossoverInsertMutator, EncodedCrossoverReplaceMutator, ) '''