InterfacePointsDsl
Per-element interface-function configuration block.
Selects how the element's interface functions (sources/sinks) are determined and, in InterfacePointMode.DSL_DECLARATION mode, provides the explicit symbol lists.
Also holds references to external files used for interface-point import and ASIL annotation, so that all interface-related configuration lives in one place.
analyzerInput {
interfacePoints {
interfacePointMode = InterfacePointMode.DSL_DECLARATION // or LLVM_HARNESS_DISCOVERY, SYML
defaultAsil = ASIL.B
entryPoint = "app::lifecycle::Activity::Step()"
// External files for interface-point import / annotation.
topicsFile = repos["sourceRepo"] / "activities/aeb/aeb_fusion_activity.json"
interfacePointsAnnotationFile = repos["model_repository"] /
"models/interface-definitions/releases/current/Foo.json"
source("ns::Class::ReadFoo()")
source("ns::Class::ReadBar()", asil = ASIL.QM, usage = SourceUsage.FLOW_OFF)
sink("ns::Class::WriteBaz(int)", paramIndex = 1)
}
}Properties
Default ASIL for sources/sinks that don't declare an explicit override.
Convenience: single entry-point function name for analysis. Fully qualified including namespace. Setting this replaces entryPoints with a single-element list.
Entry-point function names used by interface-point symbol derivation and PhASAR run-plan generation. Each entry is a qualified function name. Empty falls back to the task's convention default.
true when at least one source or sink has been declared.
How interface functions are determined.
ASIL interface-points annotation file for this element, resolved from a repo directory. Contains ASIL ratings and is used for any kind of interfaces (topics or fields).
All declared sanitizer function names. Each entry is the LLVM symbol name of a function whose return value should be treated as sanitized (taint-killed) by PhASAR.
All declared sink functions.
All declared source functions.
Explicit list of .syml files. Only used when interfacePointMode = InterfacePointMode.SYML.
Folder containing .syml files. Only used when interfacePointMode = InterfacePointMode.SYML.
Topics JSON file for this element, resolved from a repo directory. Used for interface-point import and ASIL annotation.