| /external/pigweed/third_party/fuzztest/fuzztest/ |
| D | BUILD.gn | 20 import("$dir_pw_third_party/fuzztest/fuzztest.gni") 22 # Generated from @com_google_fuzztest//fuzztest:absl_helpers 25 "$dir_pw_third_party_fuzztest/fuzztest/internal/domains/absl_helpers.h", 33 # Generated from @com_google_fuzztest//fuzztest:any 35 public = [ "$dir_pw_third_party_fuzztest/fuzztest/internal/any.h" ] 42 # Generated from @com_google_fuzztest//fuzztest:compatibility_mode 45 [ "$dir_pw_third_party_fuzztest/fuzztest/internal/compatibility_mode.h" ] 47 [ "$dir_pw_third_party_fuzztest/fuzztest/internal/compatibility_mode.cc" ] 59 # Generated from @com_google_fuzztest//fuzztest:configuration 61 public = [ "$dir_pw_third_party_fuzztest/fuzztest/internal/configuration.h" ] [all …]
|
| /external/pigweed/pw_fuzzer/ |
| D | BUILD.gn | 20 import("$dir_pw_third_party/fuzztest/fuzztest.gni") 50 "guides/fuzztest.rst", 57 "examples/fuzztest/BUILD.gn", 58 "examples/fuzztest/BUILD.bazel", 59 "examples/fuzztest/CMakeLists.txt", 60 "examples/fuzztest/metrics.h", 61 "examples/fuzztest/metrics_unittest.cc", 62 "examples/fuzztest/metrics_fuzztest.cc", 69 "examples/fuzztest:tests", 75 # FuzzTest support [all …]
|
| D | CMakeLists.txt | 18 # FuzzTest support 20 # Create FuzzTest-style fuzzers by adding a dep on pw_fuzzer.fuzztest 22 # If a project configure `pw_unit_test_BACKEND` to use FuzzTest, this 23 # target pulls in the "real" FuzzTest. Otherwise, it uses a "stub" which 25 if(pw_unit_test_BACKEND STREQUAL "pw_third_party.fuzztest") 26 pw_add_library(pw_fuzzer.fuzztest INTERFACE 28 public/pw_fuzzer/fuzztest.h 29 private/pw_fuzzer/internal/fuzztest.h 35 pw_third_party.fuzztest 41 pw_add_library(pw_fuzzer.fuzztest INTERFACE [all …]
|
| D | BUILD.bazel | 20 # FuzzTest support 22 # Create FuzzTest-style fuzzers by adding a dep on //pw_fuzzer:fuzztest 24 # Identifies when upstream FuzzTest is being used. 29 "@pigweed//pw_fuzzer:fuzztest_backend": "@com_google_fuzztest//fuzztest:fuzztest_core", 34 name = "fuzztest", 36 hdrs = ["public/pw_fuzzer/fuzztest.h"] + select({ 37 ":use_fuzztest": ["private/pw_fuzzer/internal/fuzztest.h"], 62 "private_overrides/pw_fuzzer/internal/fuzztest.h", 63 "public_overrides/fuzztest/fuzztest.h",
|
| /external/pigweed/pw_fuzzer/public/pw_fuzzer/ |
| D | fuzztest.h | 16 /// @file fuzztest.h 17 /// Pigweed interface to FuzzTest 20 /// This header exposes the portion of the FuzzTest interface that only depends 33 /// https://github.com/google/fuzztest/blob/main/doc/domains-reference.md 36 /// https://github.com/google/fuzztest/blob/main/doc/fuzz-test-macro.md 44 #include "pw_fuzzer/internal/fuzztest.h" 53 using Domain = fuzztest::Domain<T>; 64 /// This defines a new template rather than using the `fuzztest` one directly in 68 /// https://github.com/google/fuzztest/blob/main/doc/domains-reference.md#arbitrary-domains 71 auto operator()() { return fuzztest::Arbitrary<T>(); } in operator() [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/ |
| D | fuzztest.bazelrc | 5 # bazel run @com_google_fuzztest//bazel:setup_configs > fuzztest.bazelrc 9 # try-import %workspace%/fuzztest.bazelrc 17 build:fuzztest-common --linkopt=-fsanitize=address 18 build:fuzztest-common --copt=-fsanitize=address 21 build:fuzztest-common --copt=-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION 24 build:fuzztest-common --copt=-UNDEBUG 28 build:fuzztest-common --copt=-D_LIBCPP_ENABLE_ASSERTIONS=1 31 ### FuzzTest build configuration. 33 # Use with: --config=fuzztest 35 build:fuzztest --config=fuzztest-common [all …]
|
| /external/pigweed/third_party/fuzztest/ |
| D | fuzztest.bazelrc | 5 # bazel run @com_google_fuzztest//bazel:setup_configs > fuzztest.bazelrc 9 # try-import %workspace%/fuzztest.bazelrc 17 build:fuzztest-common --linkopt=-fsanitize=address 18 build:fuzztest-common --copt=-fsanitize=address 21 build:fuzztest-common --copt=-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION 24 build:fuzztest-common --copt=-UNDEBUG 28 build:fuzztest-common --copt=-D_LIBCPP_ENABLE_ASSERTIONS=1 31 ### FuzzTest build configuration. 33 # Use with: --config=fuzztest 35 build:fuzztest --config=fuzztest-common [all …]
|
| D | docs.rst | 4 FuzzTest title 6 The ``$dir_pw_third_party/fuzztest/`` module provides build files to allow 7 optionally including upstream FuzzTest. 12 Using upstream FuzzTest 14 If you want to use FuzzTest, you must do the following: 18 Add FuzzTest to your workspace with the following command. 22 git submodule add https://github.com/google/fuzztest.git \ 23 third_party/fuzztest 31 * Set ``dir_pw_third_party_fuzztest`` to the location of the FuzzTest 33 ``//third_party/fuzztest``. [all …]
|
| D | CMakeLists.txt | 18 pw_add_error_target(pw_third_party.fuzztest 20 "Attempted to build the pw_third_party.fuzztest without configuring it " 22 "See https://pigweed.dev/third_party/fuzztest." 28 "See https://pigweed.dev/third_party/fuzztest." 32 add_subdirectory("${dir_pw_third_party_fuzztest}" third_party/fuzztest) 35 # See also //pw_fuzzer:fuzztest. 36 add_library(pw_third_party.fuzztest INTERFACE) 37 target_link_libraries(pw_third_party.fuzztest 43 target_include_directories(pw_third_party.fuzztest
|
| D | fuzztest.gni | 20 # If compiling tests with FuzzTest, this variable is set to the path to the 21 # FuzzTest installation. When set, a pw_source_set for the FuzzTest library is 22 # created at "$dir_pw_third_party/fuzztest". 26 # Like `pw_source_set`, but with modified configs for building FuzzTest. 32 public_configs += [ "$dir_pw_third_party/fuzztest:fuzztest_public_config" ]
|
| /external/grpc-grpc/tools/ |
| D | fuzztest.bazelrc | 5 # bazel run @com_google_fuzztest//bazel:setup_configs > fuzztest.bazelrc 9 # try-import %workspace%/fuzztest.bazelrc 17 build:fuzztest-common --linkopt=-fsanitize=address 18 build:fuzztest-common --copt=-fsanitize=address 21 build:fuzztest-common --copt=-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION 24 build:fuzztest-common --copt=-UNDEBUG 28 build:fuzztest-common --copt=-D_LIBCPP_ENABLE_ASSERTIONS=1 31 ### FuzzTest build configuration. 33 # Use with: --config=fuzztest 35 build:fuzztest --config=fuzztest-common [all …]
|
| /external/pigweed/pw_fuzzer/guides/ |
| D | fuzztest.rst | 4 pw_fuzzer: Adding Fuzzers Using FuzzTest 11 `FuzzTest`_ is currently only supported on Linux and MacOS using Clang. 16 Step 0: Set up FuzzTest for your project 22 FuzzTest and its dependencies are not included in Pigweed and need to be added. 58 FuzzTest is enabled by setting several CMake variables. The easiest way to 68 "path/to/fuzztest" 76 "pw_third_party.fuzztest" 83 FuzzTest provides a build configuration that can be imported into your 88 # Include FuzzTest build configurations. 89 try-import %workspace%/third_party/fuzztest/fuzztest.bazelrc [all …]
|
| /external/cronet/testing/libfuzzer/fuzzers/ |
| D | libyuv_scale_fuzztest.cc | 5 #include "third_party/fuzztest/src/fuzztest/domain.h" 6 #include "third_party/fuzztest/src/fuzztest/fuzztest.h" 11 // FuzzTest norms are to name the function according to the invariant 24 // This happens to be the first FuzzTest fuzzer we've tried to use in Chrome. 33 fuzztest::Arbitrary<bool>(), 34 fuzztest::InRange(1, 256), 35 fuzztest::InRange(1, 256), 36 fuzztest::InRange(1, 256), 37 fuzztest::InRange(1, 256), 38 fuzztest::InRange(0, static_cast<int>(libyuv::FilterMode::kFilterBox)), [all …]
|
| /external/pigweed/pw_fuzzer/private_overrides/pw_fuzzer/internal/ |
| D | fuzztest.h | 17 /// Stubs for the Pigweed-compatible subset of the FuzzTest interface 20 /// This header provides stubs for the portion of the FuzzTest interface that 24 /// This header is included when FuzzTest is disabled, e.g. for GN, when 26 /// set. Otherwise, ``//pw_fuzzer/public/pw_fuzzer/internal/fuzztest.h`` is used 30 /// https://github.com/google/fuzztest/blob/main/doc/domains-reference.md 33 /// https://github.com/google/fuzztest/blob/main/doc/fuzz-test-macro.md 50 fuzztest::internal::TypeCheckFuzzTest(test_name).IgnoreFunction() 55 fuzztest::internal::TypeCheckFuzzTest(test_name).IgnoreFunction() 57 namespace fuzztest { 59 /// Stub for a FuzzTest domain that produces values. [all …]
|
| /external/cronet/testing/libfuzzer/ |
| D | getting_started.md | 5 It guides you how to use our latest fuzzing technology, called [FuzzTest]. This 24 3. In the unit tests code, `#include "third_party/fuzztest/src/fuzztest/fuzztest.h"` 59 "//third_party/fuzztest:fuzztest_gtest_main", 69 While the FuzzTest framework supports mixed unit and fuzz tests, 93 * add a dependency on the appropriate fuzztest libraries; 99 your executable to initialize FuzzTest. This should be the case already. 102 unit test target they may need to explicitly depend upon `//third_party/fuzztest` 111 First, `#include "third_party/fuzztest/src/fuzztest/fuzztest.h"`. 141 In more complex cases, you'll need to tell FuzzTest about the expected domains 150 .WithDomains(/*i:*/fuzztest::Positive<int>()); [all …]
|
| /external/jazzer-api/src/main/java/com/code_intelligence/jazzer/junit/ |
| D | AgentConfiguringArgumentsProvider.java | 26 implements ArgumentsProvider, AnnotationConsumer<FuzzTest> { 27 private FuzzTest fuzzTest; field in AgentConfiguringArgumentsProvider 30 public void accept(FuzzTest fuzzTest) { in accept() argument 31 this.fuzzTest = fuzzTest; in accept() 40 FuzzTestExecutor.configureAndInstallAgent(extensionContext, fuzzTest.maxDuration()); in provideArguments()
|
| /external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/util/ |
| D | def_to_proto_test.cc | 157 TEST(FuzzTest, EmptyPackage) { in TEST() argument 161 TEST(FuzzTest, EmptyName) { in TEST() argument 165 TEST(FuzzTest, EmptyPackage2) { in TEST() argument 170 TEST(FuzzTest, FileNameEmbeddedNull) { in TEST() argument 174 TEST(FuzzTest, EditionEmbeddedNull) { in TEST() argument 179 TEST(FuzzTest, DuplicateOneofIndex) { in TEST() argument 192 TEST(FuzzTest, NanValue) { in TEST() argument 204 TEST(FuzzTest, EnumValueEmbeddedNull) { in TEST() argument 215 TEST(FuzzTest, EnumValueNoNumber) { in TEST() argument 226 TEST(FuzzTest, DefaultWithUnterminatedHex) { in TEST() argument [all …]
|
| D | def_to_proto_fuzz_test.cc | 6 #include "testing/fuzzing/fuzztest.h" 11 FUZZ_TEST(FuzzTest, RoundTripDescriptor) 13 ::fuzztest::Arbitrary<google::protobuf::FileDescriptorSet>().WithProtobufField( 15 ::fuzztest::Arbitrary<google::protobuf::FileDescriptorProto>() 21 ::fuzztest::Arbitrary<google::protobuf::ServiceDescriptorProto>()
|
| /external/grpc-grpc/third_party/upb/upb/util/ |
| D | def_to_proto_test.cc | 137 TEST(FuzzTest, EmptyPackage) { in TEST() argument 141 TEST(FuzzTest, EmptyName) { in TEST() argument 145 TEST(FuzzTest, EmptyPackage2) { in TEST() argument 150 TEST(FuzzTest, FileNameEmbeddedNull) { in TEST() argument 154 TEST(FuzzTest, DuplicateOneofIndex) { in TEST() argument 167 TEST(FuzzTest, NanValue) { in TEST() argument 179 TEST(FuzzTest, EnumValueEmbeddedNull) { in TEST() argument 190 TEST(FuzzTest, EnumValueNoNumber) { in TEST() argument 201 TEST(FuzzTest, DefaultWithUnterminatedHex) { in TEST() argument 218 TEST(FuzzTest, DefaultWithValidHexEscape) { in TEST() argument [all …]
|
| /external/pigweed/pw_fuzzer/public_overrides/fuzztest/ |
| D | fuzztest.h | 16 /// @file fuzztest.h 17 /// Stubs for the FuzzTest interface 24 /// This header provides stubs for the full FuzzTest interface, including 30 /// If possible, consider including ``pw_fuzzer/fuzztest.h`` instead. 32 /// This header is included when FuzzTest is disabled, e.g. for GN, when 34 /// set. Otherwise, ``$dir_pw_third_party_fuzztest/fuzztest.h`` is used instead. 37 /// https://github.com/google/fuzztest/blob/main/doc/domains-reference.md 40 /// https://github.com/google/fuzztest/blob/main/doc/fuzz-test-macro.md 53 #include "pw_fuzzer/internal/fuzztest.h" 55 namespace fuzztest { [all …]
|
| /external/pigweed/pw_fuzzer/private/pw_fuzzer/internal/ |
| D | fuzztest.h | 16 /// @file fuzztest.h 17 /// Replaceable interface to FuzzTest 20 /// When FuzzTest is enabled, this header includes the FuzzTest interface. It 21 /// exists only so that it can be replaced by stubs when FuzzTest is *not* 25 #include "fuzztest/fuzztest_core.h"
|
| /external/zstd/.github/workflows/ |
| D | dev-long-tests.yml | 55 no-intrinsics-fuzztest: 59 - name: no intrinsics fuzztest 60 run: MOREFLAGS="-DZSTD_NO_INTRINSICS" make -C tests fuzztest 77 tsan-fuzztest: 81 - name: thread sanitizer fuzztest 82 run: CC=clang make tsan-fuzztest 139 CC=gcc-8 FUZZER_FLAGS="--long-tests" make clean uasan-fuzztest 146 run: CC=clang FUZZER_FLAGS="--long-tests" make clean uasan-fuzztest 156 CFLAGS="-O3 -m32" FUZZER_FLAGS="--long-tests" make uasan-fuzztest 166 CC=clang CFLAGS="-O3 -m32" FUZZER_FLAGS="--long-tests" make uasan-fuzztest [all …]
|
| /external/pigweed/pw_fuzzer/examples/fuzztest/ |
| D | CMakeLists.txt | 18 pw_add_library(pw_fuzzer.examples.fuzztest.metrics_lib STATIC 31 pw_add_test(pw_fuzzer.examples.fuzztest.metrics_unittest 35 pw_fuzzer.examples.fuzztest.metrics_lib 42 pw_add_test(pw_fuzzer.examples.fuzztest.metrics_fuzztest 46 pw_fuzzer.fuzztest # <- Added! 47 pw_fuzzer.examples.fuzztest.metrics_lib
|
| /external/pigweed/pw_package/py/pw_package/packages/ |
| D | fuzztest.py | 14 """Install and check status of FuzzTest.""" 23 class FuzzTest(pw_package.git_repo.GitRepo): class 24 """Install and check status of FuzzTest.""" 29 name='fuzztest', 32 'third_party/github/google/fuzztest' 46 pw_package.package_manager.register(FuzzTest)
|
| /external/rust/beto-rust/nearby/presence/ldt_np_adv_ffi/c/fuzz/ |
| D | ldt_fuzzer.cc | 20 #include "fuzztest/fuzztest.h" 64 .WithDomains(fuzztest::Arbitrary<std::array<uint8_t, 32>>(), 65 fuzztest::Arbitrary<std::array<uint8_t, 2>>(), 66 fuzztest::Arbitrary<std::vector<uint8_t>>() 69 fuzztest::Arbitrary<std::array<uint8_t, 32>>()); 121 .WithDomains(fuzztest::Arbitrary<std::array<uint8_t, 32>>(), 122 fuzztest::Arbitrary<std::array<uint8_t, 2>>(), 123 fuzztest::Arbitrary<std::vector<uint8_t>>()
|