summaryrefslogtreecommitdiff
path: root/fuzz/pchg_fuzz.tasklist
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2021-04-10 08:22:05 -0700
committerCommit Bot <commit-bot@chromium.org>2021-06-17 01:08:19 +0000
commit6bb2d508988e9725e41915d430e1feb21fe68534 (patch)
tree0aab84e31b96838b017bdb238c2cfde57ac72c61 /fuzz/pchg_fuzz.tasklist
parent2252a56cd80adb017614c35fe1a27716cc0046f8 (diff)
downloadchrome-ec-6bb2d508988e9725e41915d430e1feb21fe68534.tar.gz
PCHG: Fuzz PCHG and ctn730 driver
This patch adds a fuzz test for PCHG and ctn730 driver. With the given corpus, the test currently reaches all the normal mode states. BUG=b:190841496 BRANCH=trogdor TEST=make run-pchg_fuzz TEST=pchg_fuzz.exe -seed=1 -runs=1000000 -dict=fuzz/pchg_fuzz.corpus Change-Id: I6eedbbbdbf3396dfa2b98ca302e16d142ea251d5 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2956076
Diffstat (limited to 'fuzz/pchg_fuzz.tasklist')
-rw-r--r--fuzz/pchg_fuzz.tasklist12
1 files changed, 12 insertions, 0 deletions
diff --git a/fuzz/pchg_fuzz.tasklist b/fuzz/pchg_fuzz.tasklist
new file mode 100644
index 0000000000..5b30e09245
--- /dev/null
+++ b/fuzz/pchg_fuzz.tasklist
@@ -0,0 +1,12 @@
+/* Copyright 2021 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/**
+ * See CONFIG_TASK_LIST in config.h for details.
+ */
+#define CONFIG_TEST_TASK_LIST \
+ TASK_TEST(IRQ, irq_task, NULL, TASK_STACK_SIZE) \
+ TASK_TEST(PCHG, pchg_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_TEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE)