Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / tools / fuzzing / common / FuzzingMutate.h
blobf24f557669256c34b8fd8713eba79a0bf25724a2
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_fuzzing_FuzzingMutate_h
8 #define mozilla_fuzzing_FuzzingMutate_h
10 #include <random>
12 namespace mozilla {
13 namespace fuzzing {
15 class FuzzingMutate {
16 public:
17 static void ChangeBit(uint8_t* aData, size_t aLength);
18 static void ChangeByte(uint8_t* aData, size_t aLength);
21 } // namespace fuzzing
22 } // namespace mozilla
24 #endif