mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-22 22:28:50 +00:00
Enable dotnet fuzzing (#2273)
Add a new CLI job template, `libfuzzer dotnet_dll`, and supporting server-side definitions.
This commit is contained in:
@ -82,6 +82,9 @@ class TaskFeature(Enum):
|
||||
minimized_stack_depth = "minimized_stack_depth"
|
||||
coverage_filter = "coverage_filter"
|
||||
target_must_use_input = "target_must_use_input"
|
||||
target_assembly = "target_assembly"
|
||||
target_class = "target_class"
|
||||
target_method = "target_method"
|
||||
|
||||
|
||||
# Permissions for an Azure Blob Storage Container.
|
||||
@ -150,6 +153,9 @@ class TaskState(Enum):
|
||||
|
||||
class TaskType(Enum):
|
||||
coverage = "coverage"
|
||||
dotnet_coverage = "dotnet_coverage"
|
||||
dotnet_crash_report = "dotnet_crash_report"
|
||||
libfuzzer_dotnet_fuzz = "libfuzzer_dotnet_fuzz"
|
||||
libfuzzer_fuzz = "libfuzzer_fuzz"
|
||||
|
||||
# Deprecated, kept for deserialization of old task data.
|
||||
@ -165,8 +171,6 @@ class TaskType(Enum):
|
||||
generic_crash_report = "generic_crash_report"
|
||||
generic_regression = "generic_regression"
|
||||
|
||||
dotnet_coverage = "dotnet_coverage"
|
||||
|
||||
|
||||
class VmState(Enum):
|
||||
init = "init"
|
||||
|
@ -163,6 +163,9 @@ class TaskDetails(BaseModel):
|
||||
report_list: Optional[List[str]]
|
||||
minimized_stack_depth: Optional[int]
|
||||
coverage_filter: Optional[str]
|
||||
target_assembly: Optional[str]
|
||||
target_class: Optional[str]
|
||||
target_method: Optional[str]
|
||||
|
||||
|
||||
class TaskPool(BaseModel):
|
||||
@ -378,6 +381,9 @@ class TaskUnitConfig(BaseModel):
|
||||
report_list: Optional[List[str]]
|
||||
minimized_stack_depth: Optional[int]
|
||||
coverage_filter: Optional[str]
|
||||
target_assembly: Optional[str]
|
||||
target_class: Optional[str]
|
||||
target_method: Optional[str]
|
||||
|
||||
# from here forwards are Container definitions. These need to be inline
|
||||
# with TaskDefinitions and ContainerTypes
|
||||
|
Reference in New Issue
Block a user