Differential Revision: https://phabricator.services.mozilla.com/D295796
24 lines
573 B
C++
24 lines
573 B
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef mozilla_fuzzing_FuzzingMutate_h
|
|
#define mozilla_fuzzing_FuzzingMutate_h
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
namespace mozilla {
|
|
namespace fuzzing {
|
|
|
|
class FuzzingMutate {
|
|
public:
|
|
static void ChangeBit(uint8_t* aData, size_t aLength);
|
|
static void ChangeByte(uint8_t* aData, size_t aLength);
|
|
};
|
|
|
|
} // namespace fuzzing
|
|
} // namespace mozilla
|
|
|
|
#endif
|