| 179 | } |
| 180 | |
| 181 | static void ov_proof(ov_fixture_t *f, bool present, unsigned char marker) { |
| 182 | ov_u8(f, present ? 1 : 0); |
| 183 | if (present) { |
| 184 | unsigned char bytes[32]; |
| 185 | memset(bytes, marker, sizeof(bytes)); |
| 186 | ov_put(f, bytes, sizeof(bytes)); |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | static void ov_rehash(ov_fixture_t *f) { |
| 191 | f->input.manifest = (cbm_coverage_origin_bytes_t){f->wire, f->length}; |