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

Commit

Permalink
Add --notification_config support for dotnet templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Porges authored Feb 15, 2023
1 parent 58f756d commit fc11af5
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit fc11af5

Please sign in to comment.