Abstract
The correct setting of software configuration items is essential for improving software stability and ensuring safe, reliable operation. By contrast, potential configuration errors can have serious negative effects on software operation and even cause catastrophic consequences. Compared to traditional software, autonomous driving systems involve large amounts of data acquisition, processing, and real-time decision-making, and thus have a higher degree of configurability, making them more susceptible to safety issues from configuration errors. Most previous work on configuration failure diagnosis for autonomous driving systems focused on passive diagnosis after failure occurrence, making it difficult to detect potential untriggered configuration failures during system operation. In this paper, we propose CCE&D, which automatically infers configuration constraints from source code, detect configuration failures prior to configuration-specific deployment, preventing their occurrence in autopilot systems. Experimental results show the constraint rules covers 75% of the platform’s total configuration item constraints with 98.9% accuracy. Meanwhile, the accuracy of configuration error detection reaches 96.39%, and the purpose of configuration fault prevention is achieved.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Coicheci, S., Filip, I.: Self-driving vehicles: current status of development and technical challenges to overcome. In: 2020 IEEE 14th International Symposium on Applied Computational Intelligence and Informatics (SACI), pp. 000255–000260. IEEE, Timisoara, Romania (2020)
Garcia, J., Feng, Y., Shen, J., et al.: A comprehensive study of autonomous vehicle bugs. In: Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering (ICSE ‘20), pp. 385–396. Association for Computing Machinery, New York, NY, USA (2020)
Zhang, S., Ernst, M.D.: Automated diagnosis of software configuration errors. In: 35th International Conference on Software Engineering (ICSE), pp. 312–321. IEEE, San Francisco, CA, USA (2013)
Xu, T., Zhou, Y.: Systems approaches to tackling configuration errors: a survey. ACM Comput. Surv. 47(4), 1–41 (2015)
Tian, Y., Ray, B.: Automatically diagnosing and repairing error handling bugs in c. In: Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering (ESEC/FSE 2017), pp. 752–762. Association for Computing Machinery, New York, NY, USA (2017)
Wang, C., Ko, R., Zhang, Y., et al.: Taintmini: detecting flow of sensitive data in mini-programs with static taint analysis. In: 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE), pp. 932–944. IEEE, Melbourne, Australia (2023)
Autoware Homepage. https://autoware.org/. Accessed 26 Dec 2023
Xu, T., Zhang, J., Huang, P., et al.: Do not blame users for misconfigurations. In: Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles, pp. 244–259. Association for Computing Machinery, New York, NY, USA (2013)
Zhou, S., Liu, X., Li, S., et al.: ConfMapper: automated variable finding for configuration items in source code. In: 2016 IEEE International Conference on Software Quality, Reliability and Security Companion (QRS-C), pp. 228–235. IEEE, Vienna, Austria (2016)
Nadi, S., Berger, T., Kastner, C., et al.: Mining configuration constraints: static analyses and empirical results. In: Proceedings of the 36th International Conference on Software Engineering (ICSE 2014), Association for Computing Machinery, New York, NY, USA, pp. 140–151. (2014)
Zhou, S., Liu, X., Li, S., et al.: ConfinLog: leveraging Software Logs to Infer Configuration Constraints. In: 2021 IEEE/ACM 29th International Conference on Program Comprehension (ICPC), pp. 94–105. IEEE, Madrid, Spain (2021)
Chen, Q., Wang, T., Legunsen, O., et al.: Understanding and discovering software configuration dependencies in cloud and datacenter systems. In: Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, pp. 362–374. Association for Computing Machinery, New York, NY, USA (2020)
Dawei, W., Ying, L., et al.: CarpetFuzz: automatic program option constraint extraction from documentation for fuzzing. In: 32nd USENIX Security Symposium (USENIX Security 23), pp. 1919–1936. USENIX Association, Anaheim, CA (2023)
Haochen, H., Zhouyang, J., Shanshan, L., et al.: CP-detector: using configuration-related performance properties to expose performance bugs. In: Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering (ASE ‘20), pp. 623–634. Association for Computing Machinery, New York, NY, USA (2020)
Timperley, C.S., Durschmid, T., Schmerl, B., et al.: ROSDiscover: statically detecting run-time architecture misconfigurations in robotics systems. In: 2022 IEEE 19th International Conference on Software Architecture (ICSA), pp. 112–123. IEEE, Honolulu, HI, USA (2022)
Sun, X., Cheng, R., Chen, J., et al.: Testing configuration changes in context to prevent production failures. In: 14th USENIX Symposium on Operating Systems Design and Implementation (OSDI 20), pp. 735–751. USENIX Association (2020)
Cheng, R., Zhang, L., Marinov, D., et al.: Test-case prioritization for configuration testing. In: Proceedings of the 30th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA 2021), pp. 452–465. Association for Computing Machinery, New York, NY, USA (2021)
Dong, Z., Andrzejak, A., et al.: ORPLocator: identifying read points of configuration options via static analysis. In: 2016 IEEE 27th International Symposium on Software Reliability Engineering (ISSRE), pp. 185–195. IEEE, Ottawa, ON, Canada (2016)
srcML Homepage. http://www.srcml.org/. Accessed 26 Dec 2023
Wang, L., Zhouyang, J., Shanshan, L., et al.: Challenges and opportunities: an in-depth empirical study on configuration error injection testing. In: Proceedings of the 30th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA 2021), pp. 478–490. Association for computing Machinery, New York, NY, USA (2021)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Zhang, Y., Yu, X., Liu, J., Zhang, L., Li, Y., Tan, Y. (2024). CCE&D: A Configuration Failure Prevention Method for Autonomous Driving Systems. In: Zhu, T., Li, Y. (eds) Information Security and Privacy. ACISP 2024. Lecture Notes in Computer Science, vol 14897. Springer, Singapore. https://doi.org/10.1007/978-981-97-5101-3_16
Download citation
DOI: https://doi.org/10.1007/978-981-97-5101-3_16
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-97-5100-6
Online ISBN: 978-981-97-5101-3
eBook Packages: Computer ScienceComputer Science (R0)