Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Fix: Coverage task should have access to readonly_inputs containers #2352

Merged
merged 1 commit into from
Sep 7, 2022
Merged
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
9 changes: 9 additions & 0 deletions src/cli/onefuzz/templates/libfuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,15 @@ def _create_tasks(
(ContainerType.coverage, containers[ContainerType.coverage]),
(ContainerType.readonly_inputs, containers[ContainerType.inputs]),
]

if ContainerType.readonly_inputs in containers:
coverage_containers.append(
(
ContainerType.readonly_inputs,
containers[ContainerType.readonly_inputs],
)
)

self.logger.info("creating coverage task")

# The `coverage` task is not libFuzzer-aware, so invocations of the target fuzzer
Expand Down