//===- FuzzerDefs.h - Internal header for the Fuzzer ------------*- C++ -* ===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // Basic definitions. //===----------------------------------------------------------------------===//
template <class T> T Min(T a, T b) { return a < b ? a : b; } template <class T> T Max(T a, T b) { return a > b ? a : b; }
class Random; class Dictionary; class DictionaryEntry; class MutationDispatcher; struct FuzzingOptions; class InputCorpus; struct InputInfo; struct ExternalFunctions;
// Global interface to functions that may or may not be available. extern ExternalFunctions *EF;
// We are using a custom allocator to give a different symbol name to STL // containers in order to avoid ODR violations. template<typename T> class fuzzer_allocator: public std::allocator<T> { public:
fuzzer_allocator() = default;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.