Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions centipede/puzzles/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# TODO(kcc): [impl] move all puzzles from ../BUILD here.
# TODO(kcc): [impl] allow custom sancov flags.

load("@rules_cc//cc:cc_binary.bzl", "cc_binary")

# This is somewhat similar to libFuzzer puzzles:
# https://github.com/llvm/llvm-project/tree/main/compiler-rt/test/fuzzer
load(":puzzle.bzl", "puzzle")
Expand Down Expand Up @@ -48,3 +50,26 @@ package(default_visibility = ["@com_google_fuzztest//centipede/puzzles:__subpack
"thread_uint32_cmp_1",
"pthread_exit_uint32_cmp_1",
]]

cc_binary(
name = "test_oom",
testonly = True,
srcs = ["oom.cc"],
# componentid = 1187448, #Language Platforms > Sanitizers > Centipede
# copts = copts,
# features = features,
# linkopts = linkopts,
tags = [
# Don't test this fuzz target on TAP or autofuzz, since this
# target is for testing Centipede, not for fuzzing itself.
"noautofuzz",
"notap",
"manual", # don't run as part of blaze test.
"guitar", # allow capture by Guitar workflow queries.
],
# target_compatible_with = select({
# "@platforms//os:macos": ["@platforms//os:macos"],
# "//conditions:default": ["@platforms//os:linux"],
# }),
deps = ["@com_google_fuzztest//centipede:centipede_runner"],
)
Loading