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

Add --notification_config support for dotnet templates #2842

Merged
merged 1 commit into from
Feb 15, 2023
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
4 changes: 4 additions & 0 deletions src/cli/onefuzz/templates/libfuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ def dotnet(
ensemble_sync_delay: Optional[int] = None,
check_fuzzer_help: bool = True,
expect_crash_on_failure: bool = False,
notification_config: Optional[NotificationConfig] = None,
) -> Optional[Job]:
"""
libfuzzer-dotnet task
Expand Down Expand Up @@ -670,6 +671,7 @@ def dotnet(
]

helper.create_containers()
helper.setup_notifications(notification_config)

helper.upload_setup(setup_dir, target_exe)
if inputs:
Expand Down Expand Up @@ -738,6 +740,7 @@ def dotnet_dll(
colocate_all_tasks: bool = False,
colocate_secondary_tasks: bool = True,
expect_crash_on_failure: bool = False,
notification_config: Optional[NotificationConfig] = None,
) -> Optional[Job]:
pool = self.onefuzz.pools.get(pool_name)

Expand Down Expand Up @@ -814,6 +817,7 @@ def dotnet_dll(
]

helper.create_containers()
helper.setup_notifications(notification_config)

helper.upload_setup(setup_dir, target_dll)

Expand Down