From def44ec32cd98e133635b143becfc23f9804a782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Cortier?= Date: Thu, 7 Mar 2024 22:16:51 +0900 Subject: [PATCH] ci: enable the cliprdr_format fuzz harness (#398) --- .github/workflows/fuzz.yml | 2 +- fuzz/Cargo.toml | 6 ++++++ xtask/src/main.rs | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index b98650b7..6a4dcfaf 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -41,7 +41,7 @@ jobs: strategy: fail-fast: false matrix: - target: [ pdu_decoding, rle_decompression, bitmap_stream ] + target: [ pdu_decoding, rle_decompression, bitmap_stream, cliprdr_format ] steps: - uses: actions/checkout@v3 diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index adcbe334..57c12e8d 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -34,3 +34,9 @@ name = "bitmap_stream" path = "fuzz_targets/bitmap_stream.rs" test = false doc = false + +[[bin]] +name = "cliprdr_format" +path = "fuzz_targets/cliprdr_format.rs" +test = false +doc = false diff --git a/xtask/src/main.rs b/xtask/src/main.rs index f22e9f9d..26a25067 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -33,7 +33,7 @@ pub const CARGO: &str = env!("CARGO"); pub const WASM_PACKAGES: &[&str] = &["ironrdp-web"]; -pub const FUZZ_TARGETS: &[&str] = &["pdu_decoding", "rle_decompression", "bitmap_stream"]; +pub const FUZZ_TARGETS: &[&str] = &["pdu_decoding", "rle_decompression", "bitmap_stream", "cliprdr_format"]; fn main() -> anyhow::Result<()> { let args = match cli::parse_args() {