fuzz/asn1_mutators.h
author Daiki Ueno <dueno@redhat.com>
Thu, 01 Jun 2017 15:08:29 +0200
changeset 13435 8445f247021a7cb13c08046698730aec77069b9f
parent 12937 751e9db20c0416ccc80cee69d612a4ff43ea2ed8
permissions -rw-r--r--
Bug 1280846 - taskcluster: build gtests even under modular builds, r=franziskus

/* 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 asn1_mutators_h__
#define asn1_mutators_h__

#include <stdint.h>
#include <cstddef>

size_t ASN1MutatorFlipConstructed(uint8_t *Data, size_t Size, size_t MaxSize,
                                  unsigned int Seed);
size_t ASN1MutatorChangeType(uint8_t *Data, size_t Size, size_t MaxSize,
                             unsigned int Seed);

#endif  // asn1_mutators_h__