Potential Errors
Addresses ISO 26262-8 11.4.4.2 f (Norm Mapping)
Each potential error is a way one of the analyzed nodes can deviate from what the node should do. The errors come from applying the guide words to the nodes. That way, the list is meant to be systematic, rather than a collection of things we happened to think of.
Every error ends up in one of two places. If we can detect an error, a detection measure covers the error, and a test proves that the detection works. If we can’t detect an error, the error becomes a constraint on the integrator, because only the integrator can rule the error out.
This chapter covers the tools. The errors of the runtime are in the runtime’s Safety Analysis.
Slint Compiler
Section titled “Slint Compiler”| Identifier | Description | Risk | Mitigation | Detectable |
|---|---|---|---|---|
slint.compiler.err.subset-not-enforced | A construct outside the qualified subset compiles without a diagnostic. | The integrator ships code that no qualification covers, believing it’s covered. | slint.compiler.avd.subset-check | Yes |
slint.compiler.err.codegen-wrong | The generated Rust doesn’t implement what the .slint source means. | Any display error, with no indication that anything is wrong. | slint.compiler.avd.spec-tests | Yes |
slint.compiler.err.binding-dropped | A lowering pass drops or reorders a property binding. | A value stops updating, so the display shows a stale reading that looks plausible. | slint.compiler.avd.spec-tests | Yes |
slint.compiler.err.missing-resource | A missing or undecodable asset isn’t reported at compile time. | The element is absent at runtime, so a warning icon may simply not appear. | slint.compiler.avd.resource-check | Yes |
slint-sc-coverage
Section titled “slint-sc-coverage”| Identifier | Description | Risk | Mitigation | Detectable |
|---|---|---|---|---|
slint.coverage.err.false-reached | A coverage point is reported as reached when the tests never reached it. | Untested .slint code passes as tested. | slint.coverage.avd.stated-coverage | Yes |
slint.coverage.err.point-missing | A coverage point is left out of the report. | Untested .slint code doesn’t show up as a gap. | slint.coverage.avd.stated-coverage | Yes |
Detection Measures and Usage Restrictions
Section titled “Detection Measures and Usage Restrictions”| Identifier | Measure |
|---|---|
slint.compiler.avd.subset-check | The compiler rejects any construct outside the qualified subset and reports an error naming the construct. |
slint.compiler.avd.opaque-window | The compiler rejects a window whose background it can’t prove is opaque, so a frame can’t depend on what the buffer held beforehand. |
slint.compiler.avd.resource-check | The compiler resolves every referenced asset at compile time and fails if an asset is missing or doesn’t decode. |
slint.compiler.avd.spec-tests | Every paragraph of the language specification is traced to at least one test. See the Traceability Matrix. |
slint.coverage.avd.stated-coverage | Runtime test cases state their expected coverage in the source, and fail on any difference from the measurement. The cases under coverage/ must state their expected coverage. See Coverage Tool Verification. |
© 2026 SixtyFPS GmbH
Built from commit e69c2a25181702af006ff3af4e084bda20a131c9