Automatic mapping of configuration options in software using static analysis
- Junyong Wang,
- ,
- Yingnan Zhou,
- Ali Ismail Awad(corresponding author),
- Bin Wang,
- Yongsheng Zhu
- Beijing Jiaotong University,
- University of Sharjah,
- Luleå University of Technology,
- United Arab Emirates University,
- University of Plymouth,
- Zhejiang Key Laboratory of Multi-dimensional Perception Technology
Open access
Abstract
Configuration errors are some of the main reasons for software failures. Some configuration options may even negatively impact the software's security, so that if a user sets the options inappropriately, there may be a huge security risk for the software. Recent studies have proposed mapping option read points to configuration options as the first step in alleviating the occurrence of configuration errors. Sadly, most available techniques use humans, and the rest require additional input, like an operation manual. Unfortunately, not all software is standardized and friendly. We propose a technique based on program and static analysis that can automatically map all the configuration options of a program just by reading the source code. Our evaluation shows that this technique achieves 88.6%, 97.7%, 94.6%, 94.8%, and 92.6% success rates with the Hadoop modules Common, Hadoop distributed file system, MapReduce, and YARN, and also PX4, when extracting configuration options. We found 53 configuration options in PX4 that were not documented and submitted these to the developers. Compared with published work, our technique is more effective in mapping options, and it may lay the foundation for subsequent research on software configuration security.
Research Output Information
Output type
Original language
EnglishPages from-to (Number of pages)
Pages 10044-10055 (12 pages)Journal (Volume, Issue Number)
Journal of King Saud University - Computer and Information Sciences (Volume 34, Issue 10)Publication milestones
- Published - 11/2022
Publication status
ISSN
1319-1578Publication IDs
- Scopus: 85140966613
