NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Press Enter or click the Search button to begin your search.

Back to Results
Seeing the Invisible: Embedding Tests in Code That Cannot be ModifiedThe difficulty of characterizing and observing valid software behavior during testing can be very difficult in flight systems. To address this issue, we evaluated several approaches to increasing test observability on the Shuttle Abort Flight Management (SAFM) system. To increase test observability, we added probes into the running system to evaluate the internal state and analyze test data. To minimize the impact of the instrumentation and reduce manual effort, we used Aspect-Oriented Programming (AOP) tools to instrument the source code. We developed and elicited a spectrum of properties, from generic to application specific properties, to be monitored via the instrumentation. To evaluate additional approaches, SAFM was ported to Linux, enabling the use of gcov for measuring test coverage, Valgrind for looking for memory usage errors, and libraries for finding non-normal floating point values. An in-house C++ source code scanning tool was also used to identify violations of SAFM coding standards, and other potentially problematic C++ constructs. Using these approaches with the existing test data sets, we were able to verify several important properties, confirm several problems and identify some previously unidentified issues.
Document ID
20060019189
Acquisition Source
Ames Research Center
Document Type
Conference Paper
Authors
O'Malley, Owen
(QSS Group, Inc. Moffett Field, CA, United States)
Mansouri-Samani, Masoud
(Computer Sciences Corp. Moffett Field, CA, United States)
Mehlitz, Peter
(QSS Group, Inc. Moffett Field, CA, United States)
Penix, John
(NASA Ames Research Center Moffett Field, CA, United States)
Date Acquired
August 23, 2013
Publication Date
January 1, 2005
Subject Category
Computer Programming And Software
Meeting Information
Meeting: AIAA Infotech@Aerospace
Location: Arlington, VA
Country: United States
Start Date: September 26, 2006
End Date: September 29, 2006
Sponsors: American Inst. of Aeronautics and Astronautics
Distribution Limits
Public
Copyright
Public Use Permitted.
No Preview Available