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

Port 'missing field' error fix to C# #2905

Merged
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions src/ApiService/ApiService/OneFuzzTypes/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,7 @@ Uri HeartbeatQueue
// Deprecated. Retained for processing old table data.
public string? CoverageFilter { get; set; }

public bool? PreserveExistingOutputs { get; set; }
public string? ModuleAllowlist { get; set; }
public string? SourceAllowlist { get; set; }
public string? TargetAssembly { get; set; }
Expand Down
4 changes: 4 additions & 0 deletions src/ApiService/ApiService/onefuzzlib/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ await _containers.GetContainerSasUrl(x.Item2.Name, StorageType.Corpus, ConvertPe
config.CheckFuzzerHelp = task.Config.Task.CheckFuzzerHelp ?? true;
}

if (definition.Features.Contains(TaskFeature.PreserveExistingOutputs)) {
config.PreserveExistingOutputs = task.Config.Task.PreserveExistingOutputs ?? false;
}

if (definition.Features.Contains(TaskFeature.ReportList)) {
config.ReportList = task.Config.Task.ReportList;
}
Expand Down
1 change: 1 addition & 0 deletions src/ApiService/ApiService/onefuzzlib/Defs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ public static class Defs {
TaskFeature.TargetEnv,
TaskFeature.TargetOptions,
TaskFeature.CheckFuzzerHelp,
TaskFeature.PreserveExistingOutputs,
},
Vm: new VmDefinition(Compare: Compare.Equal, Value: 1),
Containers: new[] {
Expand Down