@@ -36,6 +36,14 @@ impl<S: HasRand> Mutator<EncodedInput, S> for EncodedRandMutator {
36
36
Ok ( MutationResult :: Mutated )
37
37
}
38
38
}
39
+ #[ inline]
40
+ fn post_exec (
41
+ & mut self ,
42
+ _state : & mut S ,
43
+ _new_corpus_id : Option < crate :: corpus:: CorpusId > ,
44
+ ) -> Result < ( ) , Error > {
45
+ Ok ( ( ) )
46
+ }
39
47
}
40
48
41
49
impl Named for EncodedRandMutator {
@@ -67,6 +75,14 @@ impl<S: HasRand> Mutator<EncodedInput, S> for EncodedIncMutator {
67
75
Ok ( MutationResult :: Mutated )
68
76
}
69
77
}
78
+ #[ inline]
79
+ fn post_exec (
80
+ & mut self ,
81
+ _state : & mut S ,
82
+ _new_corpus_id : Option < crate :: corpus:: CorpusId > ,
83
+ ) -> Result < ( ) , Error > {
84
+ Ok ( ( ) )
85
+ }
70
86
}
71
87
72
88
impl Named for EncodedIncMutator {
@@ -98,6 +114,14 @@ impl<S: HasRand> Mutator<EncodedInput, S> for EncodedDecMutator {
98
114
Ok ( MutationResult :: Mutated )
99
115
}
100
116
}
117
+ #[ inline]
118
+ fn post_exec (
119
+ & mut self ,
120
+ _state : & mut S ,
121
+ _new_corpus_id : Option < crate :: corpus:: CorpusId > ,
122
+ ) -> Result < ( ) , Error > {
123
+ Ok ( ( ) )
124
+ }
101
125
}
102
126
103
127
impl Named for EncodedDecMutator {
@@ -133,6 +157,14 @@ impl<S: HasRand> Mutator<EncodedInput, S> for EncodedAddMutator {
133
157
Ok ( MutationResult :: Mutated )
134
158
}
135
159
}
160
+ #[ inline]
161
+ fn post_exec (
162
+ & mut self ,
163
+ _state : & mut S ,
164
+ _new_corpus_id : Option < crate :: corpus:: CorpusId > ,
165
+ ) -> Result < ( ) , Error > {
166
+ Ok ( ( ) )
167
+ }
136
168
}
137
169
138
170
impl Named for EncodedAddMutator {
@@ -174,6 +206,14 @@ impl<S: HasRand> Mutator<EncodedInput, S> for EncodedDeleteMutator {
174
206
175
207
Ok ( MutationResult :: Mutated )
176
208
}
209
+ #[ inline]
210
+ fn post_exec (
211
+ & mut self ,
212
+ _state : & mut S ,
213
+ _new_corpus_id : Option < crate :: corpus:: CorpusId > ,
214
+ ) -> Result < ( ) , Error > {
215
+ Ok ( ( ) )
216
+ }
177
217
}
178
218
179
219
impl Named for EncodedDeleteMutator {
@@ -241,6 +281,14 @@ where
241
281
242
282
Ok ( MutationResult :: Mutated )
243
283
}
284
+ #[ inline]
285
+ fn post_exec (
286
+ & mut self ,
287
+ _state : & mut S ,
288
+ _new_corpus_id : Option < crate :: corpus:: CorpusId > ,
289
+ ) -> Result < ( ) , Error > {
290
+ Ok ( ( ) )
291
+ }
244
292
}
245
293
246
294
impl Named for EncodedInsertCopyMutator {
@@ -289,6 +337,14 @@ impl<S: HasRand> Mutator<EncodedInput, S> for EncodedCopyMutator {
289
337
290
338
Ok ( MutationResult :: Mutated )
291
339
}
340
+ #[ inline]
341
+ fn post_exec (
342
+ & mut self ,
343
+ _state : & mut S ,
344
+ _new_corpus_id : Option < crate :: corpus:: CorpusId > ,
345
+ ) -> Result < ( ) , Error > {
346
+ Ok ( ( ) )
347
+ }
292
348
}
293
349
294
350
impl Named for EncodedCopyMutator {
@@ -372,6 +428,14 @@ where
372
428
373
429
Ok ( MutationResult :: Mutated )
374
430
}
431
+ #[ inline]
432
+ fn post_exec (
433
+ & mut self ,
434
+ _state : & mut S ,
435
+ _new_corpus_id : Option < crate :: corpus:: CorpusId > ,
436
+ ) -> Result < ( ) , Error > {
437
+ Ok ( ( ) )
438
+ }
375
439
}
376
440
377
441
impl Named for EncodedCrossoverInsertMutator {
@@ -445,6 +509,14 @@ where
445
509
446
510
Ok ( MutationResult :: Mutated )
447
511
}
512
+ #[ inline]
513
+ fn post_exec (
514
+ & mut self ,
515
+ _state : & mut S ,
516
+ _new_corpus_id : Option < crate :: corpus:: CorpusId > ,
517
+ ) -> Result < ( ) , Error > {
518
+ Ok ( ( ) )
519
+ }
448
520
}
449
521
450
522
impl Named for EncodedCrossoverReplaceMutator {
0 commit comments