AeroCoder
Open the tools

DO-178C HANDBOOK · CONTENTS

DO-178C HANDBOOK

/

Special Topics

Reuse, COTS & Service History

Previously developed software, reverse engineering, COTS components and service history credit.

Desk summary

  • 01Previously developed software (PDS) is anything not developed for the current program: earlier DO-178 software, COTS, open source, military or automotive code. DO-178C §12.1 explains how to use it.
  • 02If it was approved before, at an adequate level, in an equivalent installation and is unchanged, reuse can be nearly free — backed by a similarity / usage-domain analysis.
  • 03Otherwise do a gap analysis against DO-178C and fill the gaps: added verification, reverse engineering, product service history, or other alternative methods.
  • 04Service history credit (§12.3.4) is hard to win on its own: it needs a relevant environment, sufficient hours, controlled configuration and a trustworthy problem-reporting record.
  • 05Legacy DO-178B (or earlier) software may be modified using its original processes under conditions set in AC 20-115D / AMC 20-115D; otherwise changes must follow DO-178C.

Intuition

Think of it like buying a used aircraft part

A part with complete records, from an approved source, going into the same aircraft type in the same role, goes straight in. The same part fitted to a different aircraft needs an engineering check that the loads and environment are the same. A part with no logbook might still be good — but you will have to inspect, test or document it until you can vouch for it as if it were new, and sometimes it is cheaper to buy a new one. Software reuse follows exactly the same logic.

Evaluating previously developed software

  • —Changed installation (§12.1.2): new aircraft, new interfaces or a different role — reassess the safety impact and the software level.
  • —Changed application or development environment (§12.1.3): new compiler version, options, code generator or target — change impact analysis and re-verification of what is affected.
  • —Upgrading a baseline (§12.1.4): software developed to a lower level, or with missing data, is brought up to the required level by producing the missing evidence.
  • —Usage-domain analysis should confirm at least: same software as approved, no adverse safety or operational effects, same performance, open problem reports assessed, equivalent ranges, data types and parameters, same interfaces.

Pitfall

No problem reports, no reuse

Open problem reports from the original program are part of the evidence. If the supplier cannot or will not provide them, the usage-domain analysis cannot be completed, and the reuse claim may fail regardless of how good the code is.

COTS software

COTS software — RTOSs, libraries, protocol stacks, graphics engines — is PDS developed for a broad market. Some is sold with DO-178 data packages; much is not. DO-178C has no dedicated COTS section, but DO-278A §12.4 describes a COTS integrity assurance case that DO-178C projects often borrow: claims, environment, requirements satisfied, assessment and mitigation of unneeded capability, which objectives existing data meets, how the rest are met by alternatives, and the evidence that the result gives equivalent confidence. If source code is unavailable, level D is generally the practical ceiling.

COTS evaluation questions

0/9

Reverse engineering

DO-178C defines reverse engineering as developing higher-level software data from existing data — for example, design and requirements from source code. It is an accepted way to regenerate missing life cycle data (§12.1.4), most often for mature COTS or open-source components or software built to another standard. CAST-18 records the authorities’ concerns, and they are consistent: it should be used cautiously, only for mature code with a strong track record, and not as a substitute for engineering new software.

Reverse engineering: typical problems and remedies

ProblemWhy it mattersRemedy
Undeclared reverse engineeringPlans say waterfall; data shows code came firstSay so in the plans; define the life cycle, phases and transition criteria
Wrong level of abstractionLLRs written as pseudocode that mirrors code; tests then prove “the code is the code”Write requirements about what, not how; keep MAL meaningfully above LAL
Brute-force tracingLinks made on matching words; derived tags used to avoid tracingTrace based on understanding; challenge every derived requirement
Code assumed correct“Code is king” hides latent defectsReview the code against standards first; raise change requests
No access to original developersIntent of obscure code cannot be recoveredChoose candidates where experts are available; budget for analysis
Underestimated gapsSchedule built on a quick surveyFull gap analysis by an experienced team before committing

Practitioner tip

Prototype code is a poor candidate

Writing requirements and design to match rapid-prototype code rarely saves money. The architecture was not built for robustness, and the reverse-engineered data inherits its weaknesses. Use the prototype as an input to proper requirements, then write the production code.

Product service history

DO-178C defines product service history as a continuous period during which the software operated in a known environment with failures recorded. Its section on service history grew from one page in DO-178B to several in DO-178C (§12.3.4), supported by a DO-248C discussion paper, CAST-1 and the FAA Software Service History Handbook. Even so, a claim based on service history alone has very rarely succeeded; it works best as a supplement to other evidence.

What a service history case must show (DO-178C §12.3.4)

FactorQuestions to answer
Configuration managementIs the exact version that accumulated the hours known and the same as the one proposed?
Problem reporting effectivenessWould failures in service actually have been reported, recorded and analysed?
Stability and maturityHas the software stopped changing? Were changes during the history assessed?
Relevance of environmentSame functions used, same inputs and modes, same target and operating environment? Deactivated parts claim no credit.
Length of historyIs the in-service time enough for the software level and the gaps it is meant to fill?
Actual error ratesWhat failures occurred, and are their safety effects acceptable?
Impact of modificationsDoes history before a change still apply after it?

Note

Why it is so hard

Service history is close to a reliability argument, and DO-178C does not accept software reliability models as a primary means of compliance. Companies also rarely plan for a service history claim, so the problem-reporting data is often incomplete. The FAA handbook’s question sets — dozens on problem reporting, operation, environment and time — are a good test: if you cannot answer them, the claim will not stand.

Legacy software and the move from DO-178B to DO-178C

AC 20-115D (FAA, 2017) and AMC 20-115D (EASA) recognise DO-178C and its supplements, and say how software developed to earlier versions is handled. The key distinctions are:

Legacy software under AC 20-115D / AMC 20-115D (summary)

SituationWhat applies
Unmodified legacy software, new installationAssess its in-service history and fix known safety issues; confirm its level is adequate (equivalence table for DO-178/A/B levels). The original approval can then support the new installation.
Modified legacy softwareChange impact analysis per DO-178C §12.1 and verification of the changes. Original processes may be used for the modification only if the plans and environment are maintained, any MBD/OO/formal-methods processes were previously accepted, and no claim of DO-178C compliance is made.
Continuing DO-178B processes on a new projectAllowed only if there are no known process deficiencies, the processes were used on a certified product at an equal or higher level, special-technique and configuration-data processes were previously accepted, plans and environment have not significantly changed, and DO-178C compliance is not claimed.
Conditions not metMove to DO-178C, the applicable supplements and DO-330.
Tools qualified under DO-178BDevelopment tools continue if the old level covers the new TQL; verification tools continue as TQL-5; TQL-4 (Criterion 2) needs DO-330.

Pitfall

“It was approved under DO-178B, so it is fine”

Legacy approval is a starting point, not an exemption. The authorities expect known process deficiencies and in-service problems to have been dealt with, and once the transition conditions are no longer met — a new compiler, a significant process change — the software and its tools move to DO-178C and DO-330. Earlier FAA policy also distinguished major and minor changes to legacy software; check what your authority applies today.

Model-based development

Reusing models and generated code

Reuse on model-based programs is often of models and block libraries rather than code. A reused model needs the same evaluation: was it verified to DO-331 at the required level, are its interface ranges and sample times the same in the new context, and has the code generator version or configuration changed? A new generator version means regenerated code and therefore re-verification of the generated code, even if the model did not change. Library blocks are reusable components; give them their own requirements, verification and version control.

What the auditor looks for

What the reviewer will ask

Where did this software come from, at what level, and with what data? What changed — software, installation, compiler, level? Show me the gap analysis and how each gap is filled. If you reverse-engineered, where is that life cycle in the plans? If you claim service history, how relevant and how complete is it? For legacy software, which AC 20-115D path are you on and why?

Self-check

A DO-178B level A component approved on one aircraft is reused unchanged in another, but the project switches to a newer compiler version. What is required?

Sources & further reading

  • DO-178C §12.1 (previously developed software), §12.3.4 (product service history), Annex B (reverse engineering)
  • DO-278A §12.4 (COTS software) and DO-248C (service history discussion paper)
  • Rierson, Developing Safety-Critical Software (2013), ch. 24 and 25, Appendix D (service history questions)
  • FAA AC 20-115D (2017) and EASA AMC 20-115D — legacy software, transition criteria and tool qualification
  • FAA AC 20-148, Reusable Software Components
  • CAST-1 (service history) and CAST-18 (reverse engineering)
  • Ferrell & Ferrell, Software Service History Handbook, DOT/FAA/AR-01/116 (2002)

← Previous

Configuration, Parameter & Aeronautical Data

Special Topics

Next →

Outsourcing & Supplier Oversight

Special Topics

On this page

Evaluating previously developed softwareCOTS softwareReverse engineeringProduct service historyLegacy software and the move from DO-178B to DO-178C