AeroCoder
Open the tools

DO-178C HANDBOOK · CONTENTS

DO-178C HANDBOOK

/

Verification

Reviews & Analyses

Reviewing requirements, design, code and integration outputs: checklists, criteria and evidence.

Desk summary

  • 01Reviews and analyses verify every output that cannot be (or is not yet) executed: HLR, LLR, architecture, source code and integration outputs (Tables A-3, A-4, A-5).
  • 02A review is checklist-guided expert judgement; an analysis is a documented, repeatable procedure with acceptance criteria and recorded results.
  • 03The same seven questions recur at every level: compliance, accuracy and consistency, target compatibility, verifiability, conformance to standards, traceability, algorithm accuracy.
  • 04Code and integration analyses — timing, stack, memory map, link, load, interrupts, numerical behaviour, compiler warnings — catch errors no review or functional test will.
  • 05An “analysis” that is not written down, has no pass criteria or cannot be repeated is not an analysis. It is the most common weakness authority reviewers find.

Intuition

Reviews are a conversation; analyses are a calculation

A review is like an experienced pilot reading a new checklist and saying “step 7 is ambiguous, and you forgot the fuel pump”. An analysis is like the weight-and-balance sheet: a defined method, numbers in, numbers out, and anyone can redo it and get the same answer. Both are legitimate evidence, but the authority will expect the analysis to stand on its own without the author in the room.

Running an effective review

Most programmes use a formal peer review. The item under review is baselined, the reviewers receive the item plus its inputs (the parent requirements, applicable standards, trace data), and each reviewer works through a checklist derived from the DO-178C objectives and the project standards. Comments are recorded, each one is dispositioned (accepted and fixed, rejected with rationale, or moved to a problem report), and the fix is verified before the review is closed. If the rework is substantial, the item is re-reviewed.

Anatomy of a review that survives an audit

01

Entry criteria

The item and its inputs are under configuration control at identified versions; trace data exists; the author has done a self-check. Reviewing a moving target wastes everyone’s time.

02

Assign roles

Different reviewers focus on different things: one on correctness against the parent, one on standards, one on traceability, one on testability. Independence is shown by recording who authored and who reviewed.

03

Use the checklist — visibly

Each checklist item gets an answer (yes / no / not applicable with reason). A checklist where every box is ticked with no comments on a 300-requirement document invites scrutiny.

04

Record and disposition comments

Every comment has an ID, a location, a description, a disposition and a closure verification.

05

Close and baseline

The review record identifies item versions, reviewers, date, checklist version and outcome. After closure, changes go through problem reports.

Practitioner tip

Review the plans together, not just one by one

The same idea applies to the planning data (Table A-1). Review each plan and standard on its own, then review them all together for consistency. Do not let the authority be the first person to read your PSAC, SDP, SVP, SCMP and SQAP side by side.

Reviewing requirements (Table A-3) and design (Table A-4)

DO-178C §6.3.1 and §6.3.2 ask the same family of questions of the HLR (against system requirements) and the LLR (against HLR). §6.3.3 applies them to the software architecture, adding consistency of data and control flow between components and, where partitioning is used, partitioning integrity — showing that a fault in one partition cannot corrupt another.

The recurring review attributes and what they mean in practice

AttributeQuestion the reviewer asksAvionics example of a defect found
ComplianceDoes this output fully and correctly implement its parent?System requirement says “alert below 500 ft AGL”; HLR uses barometric altitude instead of radio altitude.
Accuracy & consistencyIs it unambiguous, precise enough, free of internal conflict?Two HLR give different debounce times for the same gear-disagree warning.
Compatibility with targetCan it be met on this processor, bus, memory and timing budget?Requirement assumes 100 Hz update, but the ARINC 429 label arrives at 25 Hz.
VerifiabilityCan it be tested or otherwise verified objectively?“The display shall respond quickly” — no tolerance, so no pass/fail.
Conformance to standardsDoes it follow the project requirements/design/model standards?LLR uses an undefined abbreviation; state machine has no default transition as the standard demands.
TraceabilityIs every element traced up and down; are derived requirements flagged and sent to safety?A derived requirement for sensor-miscompare latching never reached the system safety team.
Algorithm aspectsAre algorithms accurate and behave correctly at limits and discontinuities?Heading filter mishandles the 359°→0° wrap.

DO-178C Table A-3

Verification of Outputs of Software Requirements Process

#ObjectiveRefABCDOutputs
1

High-level requirements comply with system requirements

Every allocated system requirement is fully and correctly captured.

6.3.1.aSoftware Verification Results (11.14)
2

High-level requirements are accurate and consistent

Unambiguous, sufficiently detailed, and not in conflict with each other.

6.3.1.bSoftware Verification Results (11.14)
3

High-level requirements are compatible with target computer

No conflict with hardware/software features of the target (timing, I/O, resources).

6.3.1.c··Software Verification Results (11.14)
4

High-level requirements are verifiable

Each requirement can be checked by test, analysis or review.

6.3.1.d·Software Verification Results (11.14)
5

High-level requirements conform to standards

Checked against the Software Requirements Standards from A-1 objective 5.

6.3.1.e·Software Verification Results (11.14)
6

High-level requirements are traceable to system requirements

Trace both ways; untraced high-level requirements must be derived and justified.

6.3.1.fSoftware Verification Results (11.14)
7

Algorithms are accurate

Algorithms in the high-level requirements are correct, especially at discontinuities.

6.3.1.g·Software Verification Results (11.14)
applies with independence
applies
· not required

A:7 B:7 C:6 D:3

DO-178C Table A-4

Verification of Outputs of Software Design Process

#ObjectiveRefABCDOutputs
1

Low-level requirements comply with high-level requirements

6.3.2.a·Software Verification Results (11.14)
2

Low-level requirements are accurate and consistent

6.3.2.b·Software Verification Results (11.14)
3

Low-level requirements are compatible with target computer

6.3.2.c··Software Verification Results (11.14)
4

Low-level requirements are verifiable

Unlike the high-level equivalent (A-3 obj 4), not required at Level C.

6.3.2.d··Software Verification Results (11.14)
5

Low-level requirements conform to standards

6.3.2.e·Software Verification Results (11.14)
6

Low-level requirements are traceable to high-level requirements

6.3.2.f·Software Verification Results (11.14)
7

Algorithms are accurate

6.3.2.g·Software Verification Results (11.14)
8

Software architecture is compatible with high-level requirements

6.3.3.a·Software Verification Results (11.14)
9

Software architecture is consistent

Components, data flow and control flow fit together correctly.

6.3.3.b·Software Verification Results (11.14)
10

Software architecture is compatible with target computer

6.3.3.c··Software Verification Results (11.14)
11

Software architecture is verifiable

6.3.3.d··Software Verification Results (11.14)
12

Software architecture conforms to standards

6.3.3.e·Software Verification Results (11.14)
13

Software partitioning integrity is confirmed

Conditional: only applies when partitioning is used; the only A-4 objective at Level D.

6.3.3.fSoftware Verification Results (11.14)
applies with independence
applies
· not required

A:13 B:13 C:9 D:1

Pitfall

Derived requirements that never reach safety

Derived requirements (those not directly traceable to a parent) must be identified and provided to the system safety assessment process. Reviews that simply count traces miss this: a derived requirement with a trace link to a “convenient” parent is invisible. Make “is this really derived?” an explicit checklist question.

Reviewing and analysing source code (Table A-5)

DO-178C §6.3.4 asks whether the source code complies with the LLR, matches the architecture (including its data and control flow), is verifiable, conforms to the coding standard, is traceable to LLR, and is accurate and consistent. That last attribute is broader than it looks. It covers stack usage, memory usage, fixed-point overflow and resolution, floating-point behaviour, resource contention and limits, worst-case execution timing, exception handling, use of uninitialised variables, and data corruption from task or interrupt conflicts. Many of these cannot be judged by eye; they need tool-supported static analysis or dedicated analyses.

c

/* Code review example: what a careful reviewer flags */
int16_t pitch_cmd_deg_x100;            /* scaled 0.01 deg */

void update_pitch(int16_t stick_x100, int16_t trim_x100)
{
    /* [1] int16 + int16 can overflow before the limiter runs */
    pitch_cmd_deg_x100 = stick_x100 + trim_x100;

    /* [2] LLR-042 says limit is +/-25.00 deg, code uses 2550 */
    if (pitch_cmd_deg_x100 > 2550)  { pitch_cmd_deg_x100 = 2550; }
    if (pitch_cmd_deg_x100 < -2500) { pitch_cmd_deg_x100 = -2500; }
}
/* [3] global written here and read by the 50 Hz task: is access atomic? */

Worked example

Three findings from ten lines

Finding 1 is an accuracy issue (overflow before limiting) that a static analyser or math analysis would also flag. Finding 2 is a compliance issue against the LLR and the asymmetric limits make it obvious once the reviewer compares to the requirement. Finding 3 is a data coupling / architecture issue: the reviewer checks the design’s description of how this variable is shared between tasks. None of these would necessarily be revealed by a happy-path functional test.

DO-178C Table A-5

Verification of Outputs of Software Coding & Integration Processes

#ObjectiveRefABCDOutputs
1

Source Code complies with low-level requirements

6.3.4.a·Software Verification Results (11.14)
2

Source Code complies with software architecture

6.3.4.b·Software Verification Results (11.14)
3

Source Code is verifiable

6.3.4.c··Software Verification Results (11.14)
4

Source Code conforms to standards

Checked against the Software Code Standards; static analysis tools often support this.

6.3.4.d·Software Verification Results (11.14)
5

Source Code is traceable to low-level requirements

6.3.4.e·Software Verification Results (11.14)
6

Source Code is accurate and consistent

Covers stack/memory use, fixed-point overflow, resource contention, worst-case timing and similar.

6.3.4.f·Software Verification Results (11.14)
7

Output of software integration process is complete and correct

Review compile, link and load data and memory maps for errors.

6.3.5.a·Software Verification Results (11.14)
8

Parameter Data Item File is correct and complete

Conditional: only applies when Parameter Data Item Files are used. New in DO-178C.

6.6.aSoftware Verification Cases and Procedures (11.13); Software Verification Results (11.14)
9

Verification of Parameter Data Item File is achieved

Conditional: only applies when Parameter Data Item Files are used. New in DO-178C.

6.6.b·Software Verification Results (11.14)
applies with independence
applies
· not required

A:9 B:9 C:8 D:1

Core source code review questions

0/10

Integration and code analyses

§6.3.5 covers the outputs of the integration process — compiling, linking and loading data and the memory map. In practice, a set of analyses is run on the built software. Their results usually appear in the SVR, and several (timing and memory margins) are summarised in the Software Accomplishment Summary as software characteristics.

Typical code and integration analyses

AnalysisWhat it showsHow it is usually done
Worst-case execution time (WCET)Each task or frame finishes within its allocated time with marginStatic path analysis plus on-target measurement; caches and pipelines need special treatment
Stack and memory marginStack, RAM, NVM and any heap have adequate margin for operation and growthCall-tree depth analysis on the executable image, confirmed by measurement (e.g. stack painting)
Link and memory mapEvery section lands in the right memory segment; no overlaps; only expected modules and symbolsInspect the linker map against the linker command file and memory specification
Load analysisThe right software is loaded in the right place; corrupt or invalid loads cannot executeCheck load procedure, part numbers, CRCs and load verification behaviour
Interrupt analysisEvery enabled interrupt has a correct handler; no unused handlers; context saved and restored; no blocking in ISRsSource review plus timing measurement
Math / numerical analysisNo overflow, adequate scaling and resolution, correct floating-point edge behaviourManual analysis or sound static analysis (abstract interpretation)
Compiler/linker warningsAny accepted warning has no effect on intended functionList every warning, justify each one in the build records
Partitioning analysisSpace and time partitioning are robustAnalysis of MMU/RTOS configuration plus robustness tests

What the auditor looks for

What makes an analysis acceptable

Reviewers expect an analysis to have a procedure (purpose, inputs, method, acceptance and completion criteria) and results (which procedure and which configuration item version were analysed, who did it, the findings, corrective actions raised, and a conclusion backed by data). If an analysis replaces a test, the record should explain why it finds the same classes of error, and it needs the same independence the test would have needed.

Pitfall

Late timing analysis

WCET is often measured only when the final build exists. Programmes have discovered at the last moment that worst-case frame time was 110–130% of budget. Run preliminary timing and stack analyses as soon as a representative build exists and track margin as a project metric.

Tools in reviews and analyses

Static analysers, coding-standard checkers, trace tools and WCET or stack tools are now standard. A tool that only helps a human who still checks its output needs no qualification. A tool whose output is relied on without being independently checked — for example, claiming the coding standard is met because the checker reported no violations — is eliminating or automating a DO-178C activity and must be qualified under DO-330 (typically TQL-5 for verification tools at any level). Be explicit in the PSAC/SVP about which claims rest on which tool.

Model-based development

Reviews and analyses of models

Under DO-331, specification and design models are reviewed against their parent requirements and against the Software Model Standard, and many checks move into automated model checking (naming, allowed blocks, data typing, configuration parameters). Model analysis tools can detect design errors such as division by zero, overflow, array out-of-bounds and dead logic before any code exists. In the helicopter FCC reference project, a design-error detection run on the flight control model reported that the upper limit of three actuator saturation blocks could never be reached given the declared input ranges — six decision outcomes that could never occur. Each such result must be dispositioned: is the range constraint correct and the saturation merely defensive (justify it), or is the design wrong? Simulation may also be used for model verification credit (see Simulation for Verification Credit).

Self-check

A team claims the Table A-5 “source code conforms to standards” objective using a coding-rule checker whose report is not independently reviewed. What is needed?

Sources & further reading

  • RTCA DO-178C (2011) §6.3.1–§6.3.5 and Annex A Tables A-3, A-4, A-5
  • Rierson, Developing Safety-Critical Software (2013), ch. 6–9 (reviews; §9.5 analyses)
  • RTCA DO-330, Software Tool Qualification Considerations (2011)
  • RTCA DO-331 (2011), model review and analysis guidance
  • CAST-20, Addressing Cache in Airborne Systems and Equipment (2003)
  • Helicopter FCC DO-178C/DO-331 reference project: design error and dead logic detection reports

← Previous

Verification Overview

Verification

Next →

Requirements-Based Testing

Verification

On this page

Running an effective reviewReviewing requirements (Table A-3) and design (Table A-4)Reviewing and analysing source code (Table A-5)Integration and code analysesTools in reviews and analyses