CheckConfigInput

data class CheckConfigInput(val referencedRepoNames: Set<String>, val repoImplementationRoots: Map<String, String?>, val settingsDir: File, val topicsFile: StigRepoFile?, val interfacePointsAnnotationFile: StigRepoFile?, val interfacePointLocation: StigRepoFile?, val patchFiles: List<StigCheckConfigTask.PatchFileRef>, val sourceCodeAnalysis: SourceCodeAnalysisConfig, val nativeBuildConfigured: Boolean, val compilationUnitIncludeCount: Int, val softwareUnderAnalysisRequiresIncludes: Boolean, val interfacePointMode: InterfacePointMode, val hasEntryPoints: Boolean, val hasSources: Boolean, val hasSinks: Boolean, val symbolVerificationMode: SymbolVerificationMode, val useStubHeaders: Boolean, val stubIQuotePaths: List<String>, val provenanceBuildIncludes: List<String>, val provenanceBuildExcludes: List<String>, val compilationUnitStubSources: List<String>) : Serializable

Serializable snapshot of all DSL state the task needs for validation. Built at configuration time from the StigExtension and StigProjectConfigContext, passed to the task via a single @Input property.

Constructors

Link copied to clipboard
constructor(referencedRepoNames: Set<String>, repoImplementationRoots: Map<String, String?>, settingsDir: File, topicsFile: StigRepoFile?, interfacePointsAnnotationFile: StigRepoFile?, interfacePointLocation: StigRepoFile?, patchFiles: List<StigCheckConfigTask.PatchFileRef>, sourceCodeAnalysis: SourceCodeAnalysisConfig, nativeBuildConfigured: Boolean, compilationUnitIncludeCount: Int, softwareUnderAnalysisRequiresIncludes: Boolean, interfacePointMode: InterfacePointMode, hasEntryPoints: Boolean, hasSources: Boolean, hasSinks: Boolean, symbolVerificationMode: SymbolVerificationMode, useStubHeaders: Boolean, stubIQuotePaths: List<String>, provenanceBuildIncludes: List<String>, provenanceBuildExcludes: List<String>, compilationUnitStubSources: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Number of include(...) paths in the P4 analysis-code selection DSL.

Link copied to clipboard

Stub source file paths from the analyzer-input DSL (for existence validation).

Link copied to clipboard

Whether entryPoints are declared.

Link copied to clipboard

Whether sink(…) declarations exist.

Link copied to clipboard

Whether source(…) declarations exist.

Link copied to clipboard

interfacePointLocation DSL value.

Link copied to clipboard

Resolved interface-point mode.

Link copied to clipboard

interfacePointsAnnotationFile DSL value.

Link copied to clipboard

Whether a nativeBuild { } block is configured on this element.

Link copied to clipboard

Patch targets to validate.

Link copied to clipboard

Exclude rules from provenanceBuild DSL.

Link copied to clipboard

Include rules from provenanceBuild DSL.

Link copied to clipboard

Repo names referenced by this module (for root resolution).

Link copied to clipboard

Repo name → implementation root path (relative or absolute).

Link copied to clipboard

Settings dir for resolving relative repo roots.

Link copied to clipboard

Resolved source-code analysis toggles.

Link copied to clipboard

Stub -iquote paths (non-empty when useStubHeaders is true).

Link copied to clipboard

Symbol verification mode.

Link copied to clipboard

topicsFile DSL value.

Link copied to clipboard

Whether stub headers are enabled.