| 119 | |
| 120 | #[derive(Copy, Clone, Debug, serde::Serialize, serde::Deserialize)] |
| 121 | pub enum Mutation { |
| 122 | // Bit manipulation. |
| 123 | BitFlip, |
| 124 | IncDec, |
| 125 | |
| 126 | // Byte operations. |
| 127 | ReplaceByte, |
| 128 | InsertByte, |
| 129 | Insert4, |
| 130 | |
| 131 | // Dictionary / interesting value replacements. |
| 132 | InterestingValue, |
| 133 | DictReplace, |
| 134 | DictInsert, |
| 135 | |
| 136 | // Splice operations |
| 137 | StreamSplice, |
| 138 | InnerSplice, |
| 139 | RandomSplice, |
| 140 | |
| 141 | // Removal operations |
| 142 | RemoveByte, |
| 143 | Remove4, |
| 144 | RemoveRegion, |
| 145 | } |
| 146 | |
| 147 | pub static ALL_MUTATIONS: &[Mutation] = &[ |
| 148 | Mutation::BitFlip, |
nothing calls this directly
no outgoing calls
no test coverage detected