Skip to search boxSkip to navigationSkip to main content

Automatic mapping of configuration options in software using static analysis

  • Junyong Wang
    ,
  • ,
  • Yingnan Zhou
    ,
  • Ali Ismail Awad(corresponding author)
    ,
  • Bin Wang
    ,
  • Yongsheng Zhu
*Corresponding author for this work
  • 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
Research Output:
Contribution to journal
Article
Research
Peer-review

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

Research Output:
Contribution to journal
Article
Research
Peer-review

Original language

English

Pages 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

Published - 11/2022

ISSN

1319-1578

Publication IDs

  • Scopus: 85140966613

Publication metrics

Metrics

SciVal
FWCI
0.15
Scopus
citations

PlumX, opens in new tab

Citation count
3
Captures
20
Mentions
1