He, NingyuZhao, ZhehaoWang, JikaiHu, YubinGuo, ShengjianWang, HaoyuLiang, GuangtaiLi, DingChen, XiangqunGuo, Yao2023-08-022023-08-022023-07-12http://hdl.handle.net/10919/115961Although 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.application/pdfenIn CopyrightEunomia: Enabling User-Specified Fine-Grained Search in Symbolically Executing WebAssembly BinariesArticle - Refereed2023-08-01The author(s)https://doi.org/10.1145/3597926.3598064