Litcius/Paper detail

Eunomia: Enabling User-Specified Fine-Grained Search in Symbolically Executing WebAssembly Binaries

Ningyu He, Zhehao Zhao, Jikai Wang, Yubin Hu, Shengjian Guo, Haoyu Wang, Guangtai Liang, Li Ding, Xiangqun Chen, Yao Guo

202311 citationsDOIOpen Access PDF

Abstract

Although existing techniques have proposed automated approaches to alleviate the path explosion problem of symbolic execution, users still need to optimize symbolic execution by applying various searching strategies carefully. As existing approaches mainly support only coarse-grained global searching strategies, they cannot efficiently traverse through complex code structures. In this paper, we propose Eunomia, a symbolic execution technique that supports fine-grained search with local domain knowledge. Eunomia uses Aes, a DSL that lets users specify local searching strategies for different parts of the program. Eunomia also isolates the context of variables for different local searching strategies, avoiding conflicts. We implement Eunomia for WebAssembly, which can analyze applications written in various languages. Eunomia is the first symbolic execution engine that supports the full features of WebAssembly. We evaluate Eunomia with a microbenchmark suite and six real-world applications. Our evaluation shows that Eunomia improves bug detection by up to three orders of magnitude. We also conduct a user study that shows the benefits of using Aes. Moreover, Eunomia verifies six known bugs and detects two new zero-day bugs in Collections-C.

Topics & Concepts

Computer scienceSymbolic executionSuiteTraverseDigital subscriber lineContext (archaeology)Code (set theory)Concolic testingProgramming languageDomain (mathematical analysis)Scheme (mathematics)Theoretical computer scienceParallel computingSoftwareBiologyMathematicsPaleontologyGeographyMathematical analysisHistoryArchaeologySet (abstract data type)GeodesyTelecommunicationsSoftware Testing and Debugging TechniquesSoftware Engineering ResearchAdvanced Malware Detection Techniques
Eunomia: Enabling User-Specified Fine-Grained Search in Symbolically Executing WebAssembly Binaries | Litcius