NASA Logo

NTRS

NTRS - NASA Technical Reports Server

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

Back to Results
Environment Modeling Using Runtime Values for JPF-AndroidSoftware applications are developed to be executed in a specific environment. This environment includes external native libraries to add functionality to the application and drivers to fire the application execution. For testing and verification, the environment of an application is simplified abstracted using models or stubs. Empty stubs, returning default values, are simple to generate automatically, but they do not perform well when the application expects specific return values. Symbolic execution is used to find input parameters for drivers and return values for library stubs, but it struggles to detect the values of complex objects. In this work-in-progress paper, we explore an approach to generate drivers and stubs based on values collected during runtime instead of using default values. Entry-points and methods that need to be modeled are instrumented to log their parameters and return values. The instrumented applications are then executed using a driver and instrumented libraries. The values collected during runtime are used to generate driver and stub values on- the-fly that improve coverage during verification by enabling the execution of code that previously crashed or was missed. We are implementing this approach to improve the environment model of JPF-Android, our model checking and analysis tool for Android applications.
Document ID
20160000935
Acquisition Source
Ames Research Center
Document Type
Conference Paper
Authors
van der Merwe, Heila
(Stellenbosch Univ. South Africa)
Tkachuk, Oksana
(Stinger Ghaffarian Technologies, Inc. (SGT, Inc.) Moffett Field, CA, United States)
Nel, Seal
(Stellenbosch Univ. South Africa)
van der Merwe, Brink
(Stellenbosch Univ. South Africa)
Visser, Willem
(Stellenbosch Univ. South Africa)
Date Acquired
January 19, 2016
Publication Date
November 9, 2015
Subject Category
Computer Programming And Software
Report/Patent Number
ARC-E-DAA-TN27961
Report Number: ARC-E-DAA-TN27961
Meeting Information
Meeting: Java Pathfinder Workshop
Location: Lincoln, NE
Country: United States
Start Date: November 9, 2015
Sponsors: NASA Ames Research Center
Funding Number(s)
CONTRACT_GRANT: NNA14AA60C
Distribution Limits
Public
Copyright
Public Use Permitted.
Keywords
Verification
Android Application
Environment Generation
No Preview Available