{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T13:33:34Z","timestamp":1790948014694,"version":"4.1.0"},"reference-count":67,"publisher":"Association for Computing Machinery (ACM)","issue":"ISSTA","license":[{"start":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T00:00:00Z","timestamp":1750550400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,22]]},"abstract":"<jats:p>Abstract interpretation is widely used to determine programs\u2019 numerical properties. However, current abstract domains primarily focus on mathematical semantics, which do not fully capture the complexities of real-world programs relying on machine integer semantics and involving extensive bit-vector operations. This paper presents a solution that combines a bit-level abstraction and aword-level abstraction to capture machine integer semantics. First, we generalize the bit-level abstraction used in the Linux eBPF verifier for determining known and unknown bits of real-world programs, by supplementing all required operations as a standard abstract domain. Based on this abstraction, we design an abstract domain that is signedness-aware and simultaneously retains both the above bit-level and the word-level bound information. These two levels of information cooperate via a standard reduced product operation to improve analysis precision.We implement the proposed domains in the Crab analyzer and the out-of-kernel eBPF verifier PREVAL. Experiments demonstrate their effectiveness in analyzing SV-COMP benchmark programs, assisting hardware designs, and eBPF verification.<\/jats:p>","DOI":"10.1145\/3728905","type":"journal-article","created":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T10:52:56Z","timestamp":1750589576000},"page":"663-685","source":"Crossref","is-referenced-by-count":5,"title":["Program Analysis Combining Generalized Bit-Level and Word-Level Abstractions"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-3534-3495","authenticated-orcid":false,"given":"Guangsheng","family":"Fan","sequence":"first","affiliation":[{"name":"National University of Defense Technology, Changsha, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8084-8009","authenticated-orcid":false,"given":"Liqian","family":"Chen","sequence":"additional","affiliation":[{"name":"National University of Defense Technology, Changsha, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2449-3287","authenticated-orcid":false,"given":"Banghu","family":"Yin","sequence":"additional","affiliation":[{"name":"National University of Defense Technology, Changsha, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-2204-4782","authenticated-orcid":false,"given":"Wenyu","family":"Zhang","sequence":"additional","affiliation":[{"name":"National University of Defense Technology, Changsha, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0342-9518","authenticated-orcid":false,"given":"Peisen","family":"Yao","sequence":"additional","affiliation":[{"name":"Zhejiang University, Hangzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0637-8744","authenticated-orcid":false,"given":"Ji","family":"Wang","sequence":"additional","affiliation":[{"name":"National University of Defense Technology, Changsha, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,6,22]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-30820-8_12"},{"key":"e_1_3_1_3_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-22110-1_16"},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-49059-0_14"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","unstructured":"Bruno Blanchet Patrick Cousot Radhia Cousot J\u00e9r\u00f4me Feret Laurent Mauborgne Antoine Min\u00e9 David Monniaux and Xavier Rival. 2003. A static analyzer for large safety-critical software. In Proceedings of the ACM SIGPLAN 2003 conference on Programming language design and implementation. 196\u2013207. doi:10.1145\/781131.781153","DOI":"10.1145\/781131.781153"},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.5555\/1882094.1882105"},{"key":"e_1_3_1_7_2","volume-title":"Principles of abstract interpretation","author":"Cousot Patrick","year":"2021","unstructured":"Patrick Cousot. 2021. Principles of abstract interpretation. MIT Press."},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","unstructured":"Patrick Cousot and Radhia Cousot. 1977. Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints. In Proceedings of the 4th ACM SIGACT-SIGPLAN symposium on Principles of programming languages. 238\u2013252. doi:10.1145\/512950.512973","DOI":"10.1145\/512950.512973"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.1145\/800022.808314"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/512760.512770"},{"key":"e_1_3_1_11_2","unstructured":"CWE-190. 2024. CWE-190: Integer Overflow or Wraparound. https:\/\/cwe.mitre.org\/data\/definitions\/190.html"},{"key":"e_1_3_1_12_2","unstructured":"CWE-191. 2024. CWE-191: Integer Underflow (Wrap or Wraparound). https:\/\/cwe.mitre.org\/data\/definitions\/191.html"},{"key":"e_1_3_1_13_2","unstructured":"CWE-192. 2024. CWE-192: Integer Coercion Error. https:\/\/cwe.mitre.org\/data\/definitions\/192.html"},{"key":"e_1_3_1_14_2","unstructured":"CWE-194. 2024. CWE-194: Unexpected Sign Extension. https:\/\/cwe.mitre.org\/data\/definitions\/194.html"},{"key":"e_1_3_1_15_2","unstructured":"CWE-195. 2024. CWE-195: Signed to Unsigned Conversion Error. https:\/\/cwe.mitre.org\/data\/definitions\/195.html"},{"key":"e_1_3_1_16_2","unstructured":"CWE-196. 2024. CWE-196: Unsigned to Signed Conversion Error. https:\/\/cwe.mitre.org\/data\/definitions\/196.html"},{"key":"e_1_3_1_17_2","unstructured":"CWE-197. 2024. CWE-197: Numeric Truncation Error. https:\/\/cwe.mitre.org\/data\/definitions\/197.html"},{"key":"e_1_3_1_18_2","unstructured":"CWE-680. 2024. CWE-680: Integer Overflow to Buffer Overflow. https:\/\/cwe.mitre.org\/data\/definitions\/197.html"},{"key":"e_1_3_1_19_2","unstructured":"CWE-681. 2024. CWE-681: Incorrect Conversion between Numeric Types. https:\/\/cwe.mitre.org\/data\/definitions\/681.html"},{"key":"e_1_3_1_20_2","unstructured":"Poorna Gaddehosur Dave Thaler. 2021. Making eBPF work on Windows. https:\/\/opensource.microsoft.com\/blog\/2021\/05\/10\/making-ebpf-work-on-windows\/"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.5555\/2157654.2157675"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/2651360"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-88806-0_7"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3314221.3314590"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-45190-5_23"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/1480881.1480912"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/1375581.1375616"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-15769-1_18"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-95561-8_8"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/3643778"},{"key":"e_1_3_1_31_2","unstructured":"Juan Jos\u00e9 L\u00f3pez Jaimez and Meador Inge. 2023. Buzzer. https:\/\/github.com\/google\/buzzer"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-02658-4_52"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/3563334"},{"key":"e_1_3_1_34_2","unstructured":"Deepak Kapur. 2006. Automatically generating loop invariants using quantifier elimination. Schloss-Dagstuhl-Leibniz Zentrum f\u00fcr Informatik."},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-70545-1_2"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-11319-2_16"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/3576915.3623186"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1145\/3575693.3575707"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-31987-0_2"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-44978-7_10"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","unstructured":"Antoine Min\u00e9. 2006. The octagon abstract domain. Higher-order and symbolic computation 19 (2006) 31\u2013100. doi:10.1007\/s10990-006-8609-1","DOI":"10.1007\/s10990-006-8609-1"},{"key":"e_1_3_1_42_2","unstructured":"Antoine Min\u00e9. 2012. Abstract domains for bit-level machine integer and floating-point operations. In WING\u201912-4th International Workshop on invariant Generation. 16."},{"key":"e_1_3_1_43_2","doi-asserted-by":"crossref","unstructured":"Antoine Min\u00e9 et al. 2017. Tutorial on static inference of numeric invariants by abstract interpretation. Foundations and Trends\u00ae in Programming Languages 4 3\u20134 (2017) 120\u2013372.","DOI":"10.1561\/2500000034"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISVLSI.2015.107"},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-49674-9_38"},{"key":"e_1_3_1_46_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-31987-0_5"},{"key":"e_1_3_1_47_2","article-title":"Analysis of modular arithmetic","volume":"5","author":"M\u00fcller-Olm Markus","year":"2007","unstructured":"Markus M\u00fcller-Olm and Helmut Seidl. 2007. Analysis of modular arithmetic. ACM Trans. Program. Lang. Syst. 29, 5 (Aug. 2007), 29-es. doi:10.1145\/1275497.1275504","journal-title":"ACM Trans. Program. Lang. Syst. 29"},{"key":"e_1_3_1_48_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-35182-2_9"},{"key":"e_1_3_1_49_2","unstructured":"Luke Nelson Jacob Van Geffen Emina Torlak and Xi Wang. 2020. Specification and verification in the field: Applying formal methods to {BPF} just-in-time compilers in the linux kernel. In 14th USENIX Symposium on Operating Systems Design and Implementation (OSDI 20). 41\u201361."},{"key":"e_1_3_1_50_2","doi-asserted-by":"publisher","DOI":"10.1145\/1159974.1134657"},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/1024393.1024410"},{"key":"e_1_3_1_52_2","unstructured":"Simon Scannell. 2020. eBPF Fuzzer. https:\/\/scannell.io\/posts\/ebpf-fuzzing"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-44245-2_22"},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3604919"},{"key":"e_1_3_1_55_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-52234-0_27"},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-74061-2_8"},{"key":"e_1_3_1_57_2","unstructured":"Hao Sun and Zhendong Su. 2024. Validating the {eBPF} verifier via state embedding. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24). 615\u2013628."},{"key":"e_1_3_1_58_2","doi-asserted-by":"publisher","DOI":"10.1145\/3627703.3629562"},{"key":"e_1_3_1_59_2","unstructured":"Joseph Tafese Isabel Garcia-Contreras and Arie Gurfinkel. 2023. BTOR2MLIR: A Format and Toolchain for Hardware Verification.. In FMCAD. 55\u201363."},{"key":"e_1_3_1_60_2","doi-asserted-by":"publisher","unstructured":"Jubi Taneja Zhengyang Liu and John Regehr. 2020. Testing static analyses for precision and soundness. In Proceedings of the 18th ACM\/IEEE International Symposium on Code Generation and Optimization. 81\u201393. doi:10.1145\/3368826.3377927","DOI":"10.1145\/3368826.3377927"},{"key":"e_1_3_1_61_2","doi-asserted-by":"publisher","DOI":"10.1109\/CGO53902.2022.9741267"},{"key":"e_1_3_1_62_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-37709-9_12"},{"key":"e_1_3_1_63_2","unstructured":"Dmitry Vyukov and Andrey Konovalov. 2015. Syzkaller: an unsupervised coverage-guided kernel fuzzer . https:\/\/github.com\/google\/syzkaller"},{"key":"e_1_3_1_64_2","unstructured":"Thomas Wahl. 2013. The k-induction principle. Northeastern University College of Computer and Information Science (2013) 1\u20132."},{"key":"e_1_3_1_65_2","doi-asserted-by":"publisher","DOI":"10.1145\/3453483.3454068"},{"key":"e_1_3_1_66_2","doi-asserted-by":"publisher","unstructured":"Peisen Yao Qingkai Shi Heqing Huang and Charles Zhang. 2020. Fast bit-vector satisfiability. In Proceedings of the 29th ACM SIGSOFT International Symposium on Software Testing and Analysis. 38\u201350. doi:10.1145\/3395363.3397378","DOI":"10.1145\/3395363.3397378"},{"key":"e_1_3_1_67_2","doi-asserted-by":"publisher","DOI":"10.1145\/3485495"},{"key":"e_1_3_1_68_2","doi-asserted-by":"publisher","DOI":"10.1145\/3591288"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3728905","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T13:54:59Z","timestamp":1787493299000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3728905"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,22]]},"references-count":67,"journal-issue":{"issue":"ISSTA","published-print":{"date-parts":[[2025,6,22]]}},"alternative-id":["10.1145\/3728905"],"URL":"https:\/\/doi.org\/10.1145\/3728905","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,22]]}}}