@inproceedings{8f21ea7459554067a72bc1c5c7b2529d,
title = "Modeling code manipulation in JIT compilers",
abstract = "Just-in-Time (JIT) compilers are widely used to improve the performance of interpreter-based language implementations by creating optimized code at runtime. However, bugs in the JIT compiler's code manipulation and optimization can result in the generation of incorrect code. Such bugs can be difficult to diagnose and fix, and can result in exploitable vulnerabilities. Unfortunately, existing approaches to automatic bug localization do not carry over well to such bugs. This paper discusses a different approach to analyzing JIT compiler optimization behaviors, based on using dynamic analysis to construct abstract models of the JIT compiler's optimizer and back end. By comparing the models obtained for buggy and non-buggy executions of the JIT compiler, we can pinpoint the components of the JIT compiler's internal representation that have been affected by the bug; this can then be mapped back to identify the buggy code. Our experiments with two real bugs for Google V8 JIT compiler, TurboFan, show the utility and practicality of our approach.",
keywords = "dynamic code generation, jit compiler, optimization, program analysis",
author = "Lim, {Heui Chan} and Xiyu Kang and Saumya Debray",
note = "Funding Information: This research was supported in part by the National Science Foundation under grant no. 1908313. Publisher Copyright: {\textcopyright} 2022 Owner/Author.; 11th ACM SIGPLAN International Workshop on the State Of the Art in Program Analysis, SOAP 2022, co-located with the 43rd ACM SIGPLAN International Conference on Programming Language Design and Implementation, PLDI 2022 ; Conference date: 14-06-2022",
year = "2022",
month = jun,
day = "14",
doi = "10.1145/3520313.3534656",
language = "English (US)",
series = "SOAP 2022 - Proceedings of the 11th ACM SIGPLAN International Workshop on the State Of the Art in Program Analysis, co-located with PLDI 2022",
publisher = "Association for Computing Machinery, Inc",
pages = "9--15",
editor = "Laure Gonnord and Laura Titolo",
booktitle = "SOAP 2022 - Proceedings of the 11th ACM SIGPLAN International Workshop on the State Of the Art in Program Analysis, co-located with PLDI 2022",
}