mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 12:28:07 +00:00
fix logic to set check_fuzzer_help (#3130)
This commit is contained in:
@ -66,7 +66,6 @@ class Libfuzzer(Command):
|
|||||||
colocate_all_tasks: bool = False,
|
colocate_all_tasks: bool = False,
|
||||||
colocate_secondary_tasks: bool = True,
|
colocate_secondary_tasks: bool = True,
|
||||||
check_fuzzer_help: bool = False,
|
check_fuzzer_help: bool = False,
|
||||||
no_check_fuzzer_help: bool = False,
|
|
||||||
expect_crash_on_failure: bool = False,
|
expect_crash_on_failure: bool = False,
|
||||||
minimized_stack_depth: Optional[int] = None,
|
minimized_stack_depth: Optional[int] = None,
|
||||||
module_allowlist: Optional[str] = None,
|
module_allowlist: Optional[str] = None,
|
||||||
@ -76,15 +75,7 @@ class Libfuzzer(Command):
|
|||||||
analyzer_env: Optional[Dict[str, str]] = None,
|
analyzer_env: Optional[Dict[str, str]] = None,
|
||||||
tools: Optional[Container] = None,
|
tools: Optional[Container] = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
if check_fuzzer_help:
|
|
||||||
self.logger.warning(
|
|
||||||
"--check_fuzzer_help is the default and does not need to be set; this parameter will be removed in a future version"
|
|
||||||
)
|
|
||||||
check_fuzzer_help = not no_check_fuzzer_help
|
|
||||||
del no_check_fuzzer_help
|
|
||||||
|
|
||||||
target_options = target_options or []
|
target_options = target_options or []
|
||||||
|
|
||||||
regression_containers = [
|
regression_containers = [
|
||||||
(ContainerType.setup, containers[ContainerType.setup]),
|
(ContainerType.setup, containers[ContainerType.setup]),
|
||||||
(ContainerType.crashes, containers[ContainerType.crashes]),
|
(ContainerType.crashes, containers[ContainerType.crashes]),
|
||||||
|
Reference in New Issue
Block a user