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

Commit

Permalink
Coverage task should have access to readonly_inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Porges committed Sep 7, 2022
1 parent 44089d3 commit ab5e432
Showing 1 changed file with 9 additions and 0 deletions.
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

0 comments on commit ab5e432

Please sign in to comment.