From e44833dec03ddd005f2c1845418b2b2770705097 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:53:01 +0100 Subject: [PATCH 01/29] Update run.sh --- tests/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run.sh b/tests/run.sh index 663087b..13d562c 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # tests/run.sh — run every tests/test_*.sh, report pass/fail. set -uo pipefail From 7407709762030df8475d76bb0d6ec22e2b4e046c Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:53:42 +0100 Subject: [PATCH 02/29] Change shebang to use env for bash --- tests/test_auto_at_placeholder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_auto_at_placeholder.sh b/tests/test_auto_at_placeholder.sh index 672073e..3891a93 100755 --- a/tests/test_auto_at_placeholder.sh +++ b/tests/test_auto_at_placeholder.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Feature test: when the coverage binary is built from the cov-analysis driver # (it reads inputs from file arguments, not stdin) and the user forgot the @@ # placeholder, cov-analysis must behave as if " @@" had been given. From 6281249ea51be8718fb99e316ead50126c25444d Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:53:53 +0100 Subject: [PATCH 03/29] Change shebang to use env for bash --- tests/test_build_environment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_build_environment.sh b/tests/test_build_environment.sh index c68c80a..00a5f52 100755 --- a/tests/test_build_environment.sh +++ b/tests/test_build_environment.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From c6e89a14087d94e28ed2df4ed034c8cf100c7d62 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:54:04 +0100 Subject: [PATCH 04/29] Update test_ci_workflow.sh --- tests/test_ci_workflow.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ci_workflow.sh b/tests/test_ci_workflow.sh index 5ef38a1..6770d45 100644 --- a/tests/test_ci_workflow.sh +++ b/tests/test_ci_workflow.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From 71cca9e1064022bc102c1a91b0d6ce9077502d66 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:54:14 +0100 Subject: [PATCH 05/29] Change shebang to use env for bash --- tests/test_command_model.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_command_model.sh b/tests/test_command_model.sh index 2ee9406..184492d 100755 --- a/tests/test_command_model.sh +++ b/tests/test_command_model.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From b08fda789ed4afe392263790c562a055a03e5082 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:54:24 +0100 Subject: [PATCH 06/29] Update test_commands.sh --- tests/test_commands.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_commands.sh b/tests/test_commands.sh index 44975cf..30428ab 100755 --- a/tests/test_commands.sh +++ b/tests/test_commands.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # End-to-end integration test exercising every cov-analysis command against the # tests/test.c LLVMFuzzerTestOneInput target (a magic-value NULL-deref crash on # inputs of the form "FA$$$"). Gated on clang/llvm-cov/llvm-profdata/make; skips From cdc0371d36b49f20bcdff18d76a0c792ff954a86 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:54:34 +0100 Subject: [PATCH 07/29] Change shebang to use env for bash --- tests/test_diff_line_states.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_diff_line_states.sh b/tests/test_diff_line_states.sh index ac3645c..c975a91 100755 --- a/tests/test_diff_line_states.sh +++ b/tests/test_diff_line_states.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From 3d3252df2d4016f7cfa40585de0f4796ad38caa9 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:54:47 +0100 Subject: [PATCH 08/29] Change shebang to use env for bash --- tests/test_diff_no_args.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_diff_no_args.sh b/tests/test_diff_no_args.sh index 8322f8d..c6e1543 100755 --- a/tests/test_diff_no_args.sh +++ b/tests/test_diff_no_args.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Behavior test: `cov-analysis diff` with no arguments and no default reports in # the current directory prints help (exit 0) instead of erroring. When a default # report IS present, the original "report does not exist" error is preserved. From cbc74c2e85eea46df617358f8292ef7a0b462957 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:55:01 +0100 Subject: [PATCH 09/29] Update test_driver.sh --- tests/test_driver.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_driver.sh b/tests/test_driver.sh index af9d4a6..2f88056 100755 --- a/tests/test_driver.sh +++ b/tests/test_driver.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From 2d94a4aec7b4b006a1d32ceb4dc961e978257f1c Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:55:14 +0100 Subject: [PATCH 10/29] Change shebang to use env for bash --- tests/test_find_crash_timeout_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_find_crash_timeout_files.sh b/tests/test_find_crash_timeout_files.sh index 4a9d29a..e09840b 100755 --- a/tests/test_find_crash_timeout_files.sh +++ b/tests/test_find_crash_timeout_files.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Verify find_crash_timeout_files emits the right set per layout. set -uo pipefail From 6101ecbc850e3666bd99b9a2af5b68e394086b6d Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:55:25 +0100 Subject: [PATCH 11/29] Change shebang to use env for bash --- tests/test_find_queue_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_find_queue_files.sh b/tests/test_find_queue_files.sh index edd6ba1..8b5486d 100755 --- a/tests/test_find_queue_files.sh +++ b/tests/test_find_queue_files.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Verify find_queue_files emits the right set of paths per layout. set -uo pipefail From 7981f28bd8f199963b9d200d57435bf2f53e8d26 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:55:34 +0100 Subject: [PATCH 12/29] Update test_find_tool.sh --- tests/test_find_tool.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_find_tool.sh b/tests/test_find_tool.sh index 57f20c3..a998612 100755 --- a/tests/test_find_tool.sh +++ b/tests/test_find_tool.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Verify find_tool() selects the LLVM tool matching the chosen clang version. # # Regression: with CC=clang-22 selected, find_tool must return llvm-profdata-22 From c6a937560085a35abf15ab7aa1a853c46390e906 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:55:45 +0100 Subject: [PATCH 13/29] Update test_install.sh --- tests/test_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_install.sh b/tests/test_install.sh index f627fd1..2d273f9 100755 --- a/tests/test_install.sh +++ b/tests/test_install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From 974b277954ab48ac7fa4c4013f5909aceb68cf96 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:56:10 +0100 Subject: [PATCH 14/29] Change shebang to use env for bash --- tests/test_large_argument_sets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_large_argument_sets.sh b/tests/test_large_argument_sets.sh index fb53bd8..8a6bf86 100755 --- a/tests/test_large_argument_sets.sh +++ b/tests/test_large_argument_sets.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From c676d827ca2d36ba93aaa740b7ff7a166e584d26 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:56:20 +0100 Subject: [PATCH 15/29] Update test_layout_detection.sh --- tests/test_layout_detection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_layout_detection.sh b/tests/test_layout_detection.sh index c94b566..877cfd8 100755 --- a/tests/test_layout_detection.sh +++ b/tests/test_layout_detection.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Verify detect_fuzzer_layout() correctly classifies each supported layout. set -uo pipefail From 859c9857593707d3b49c0faf7b25acdff95bbf35 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:56:32 +0100 Subject: [PATCH 16/29] Change shebang to use env for bash --- tests/test_llvm_version_hint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_llvm_version_hint.sh b/tests/test_llvm_version_hint.sh index d33a82c..49d66d5 100755 --- a/tests/test_llvm_version_hint.sh +++ b/tests/test_llvm_version_hint.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From a9e1f4c24a2596d78170c55279aea2e13c1aa52d Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:56:43 +0100 Subject: [PATCH 17/29] Change shebang to use env for bash --- tests/test_prerequisites.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_prerequisites.sh b/tests/test_prerequisites.sh index 3d19d3e..0fb5500 100755 --- a/tests/test_prerequisites.sh +++ b/tests/test_prerequisites.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From 7a7455305c63921f7bc177568b2cd6720af533d7 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:56:54 +0100 Subject: [PATCH 18/29] Change shebang to use env for bash --- tests/test_reachability.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_reachability.sh b/tests/test_reachability.sh index 1b32276..22ca0ea 100755 --- a/tests/test_reachability.sh +++ b/tests/test_reachability.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Verify reachability-aware annotation of llvm-cov's own reports: cross coverage # with the fuzz-reachability tool's output and, in place, # - tint each function's lines in the HTML file view (dark grey = unreachable, From e296dec3637ab70f811dd97f46c8e34451e7e036 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:57:04 +0100 Subject: [PATCH 19/29] Update test_reachability_cpp_e2e.sh --- tests/test_reachability_cpp_e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_reachability_cpp_e2e.sh b/tests/test_reachability_cpp_e2e.sh index efbdcf9..5ef817a 100755 --- a/tests/test_reachability_cpp_e2e.sh +++ b/tests/test_reachability_cpp_e2e.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # tests/test_reachability_cpp_e2e.sh — C++ keystone round-trip: fuzz-reachability's # static analysis of a deliberately adversarial C++ harness (every indirect-call # flavor, plus red-herring and genuinely-dead functions) cross-referenced against From 7c0759ba055c4c61affbe6e664c2f71b6e831aa8 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:57:13 +0100 Subject: [PATCH 20/29] Update test_reachability_rust_e2e.sh --- tests/test_reachability_rust_e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_reachability_rust_e2e.sh b/tests/test_reachability_rust_e2e.sh index d40944f..7101ee6 100755 --- a/tests/test_reachability_rust_e2e.sh +++ b/tests/test_reachability_rust_e2e.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # tests/test_reachability_rust_e2e.sh — keystone round-trip: fuzz-reachability's # static analysis of a real Rust staticlib, cross-referenced against a real # `-Cinstrument-coverage` build replayed through llvm-cov, via cov-analysis's From db464e619f60060b22dd3c68057cc4b5148a174e Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:57:23 +0100 Subject: [PATCH 21/29] Change shebang to use env for bash --- tests/test_reachability_rust_v0_e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_reachability_rust_v0_e2e.sh b/tests/test_reachability_rust_v0_e2e.sh index e1b6ddf..e252658 100755 --- a/tests/test_reachability_rust_v0_e2e.sh +++ b/tests/test_reachability_rust_v0_e2e.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From ce399a90240d33ef9e494b27d46bbb3521c85253 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:57:32 +0100 Subject: [PATCH 22/29] Update test_reachability_ziggy_e2e.sh --- tests/test_reachability_ziggy_e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_reachability_ziggy_e2e.sh b/tests/test_reachability_ziggy_e2e.sh index cb36305..eccc2e1 100755 --- a/tests/test_reachability_ziggy_e2e.sh +++ b/tests/test_reachability_ziggy_e2e.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # tests/test_reachability_ziggy_e2e.sh — cargo-ziggy keystone round-trip: # fuzz-reachability analyses a real cargo-ziggy fuzz target (rooted at `main` via # the `ziggy::fuzz!` closure, the ziggy entry) with `--lang ziggy --mangling v0`, From 708c2edc835ac414dcf2383a9ee6a71f1dbce283 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:57:42 +0100 Subject: [PATCH 23/29] Change shebang to use env for bash --- tests/test_report_transaction.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_report_transaction.sh b/tests/test_report_transaction.sh index 909dc21..15eb35c 100755 --- a/tests/test_report_transaction.sh +++ b/tests/test_report_transaction.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From ea81fe868bb7c9ec17f0a78cf791df43933fce0d Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:57:51 +0100 Subject: [PATCH 24/29] Update test_rust_llvm_toolchain.sh --- tests/test_rust_llvm_toolchain.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_rust_llvm_toolchain.sh b/tests/test_rust_llvm_toolchain.sh index b775012..5b4070d 100755 --- a/tests/test_rust_llvm_toolchain.sh +++ b/tests/test_rust_llvm_toolchain.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From 828d7bae0c9f4e616f9671f09690dec80525d3d3 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:58:00 +0100 Subject: [PATCH 25/29] Update test_search.sh --- tests/test_search.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_search.sh b/tests/test_search.sh index 1862f2b..8e2ccfc 100755 --- a/tests/test_search.sh +++ b/tests/test_search.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Tests for the `search` subcommand: pure helpers (always) + an integration # test gated on clang/llvm-cov (skipped cleanly when the toolchain is absent). set -uo pipefail From b4cd164d05e8096db3342943c3688c1bf547c559 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:58:11 +0100 Subject: [PATCH 26/29] Update test_search_crash_only.sh --- tests/test_search_crash_only.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_search_crash_only.sh b/tests/test_search_crash_only.sh index 34087b3..4dbde90 100755 --- a/tests/test_search_crash_only.sh +++ b/tests/test_search_crash_only.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From da62dded824ef11c93b08f33e35d5ed7a5476179 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:58:25 +0100 Subject: [PATCH 27/29] Update test_stability_executed_lines.sh --- tests/test_stability_executed_lines.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_stability_executed_lines.sh b/tests/test_stability_executed_lines.sh index 22d0a08..884afe5 100755 --- a/tests/test_stability_executed_lines.sh +++ b/tests/test_stability_executed_lines.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.." From d30b10a901c098e765cae8b0c6579e87dc2e79e2 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:58:33 +0100 Subject: [PATCH 28/29] Update test_stability_resilience.sh --- tests/test_stability_resilience.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_stability_resilience.sh b/tests/test_stability_resilience.sh index f8dacf5..58d2938 100755 --- a/tests/test_stability_resilience.sh +++ b/tests/test_stability_resilience.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Regression test: a single failed pass must NOT abort the whole stability run. # # Reproduces the reported bug "llvm-profdata merge failed for pass 4" aborting From db85ef7aa203efc5d4c9c1f08b77072e788536e1 Mon Sep 17 00:00:00 2001 From: Houssam Miliani <149241633+N0rmalizer@users.noreply.github.com> Date: Wed, 15 Jul 2026 12:58:42 +0100 Subject: [PATCH 29/29] Change shebang to use env for bash --- tests/test_timeout_enforcement.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_timeout_enforcement.sh b/tests/test_timeout_enforcement.sh index 9bd7e98..441e17c 100755 --- a/tests/test_timeout_enforcement.sh +++ b/tests/test_timeout_enforcement.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -uo pipefail cd "$(dirname "$0")/.."