Representing and Reasoning about Dynamic Code

Published in Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering, 2020

Authors: Jesse Bartels, Jon Stephens, Saumya Debray

Abstract: Dynamic code, i.e., code that is created or modified at runtime, is ubiquitous in today’s world. The behavior of dynamic code can depend on the logic of the dynamic code generator in subtle and non-obvious ways, e.g., JIT compiler bugs can lead to exploitable vulnerabilities in the resulting JIT-compiled code. Existing approaches to program analysis do not provide adequate support for reasoning about such behavioral relationships. This paper takes a first step in addressing this problem by describing a program representation and a new notion of dependency that allows us to reason about dependency and information flow relationships between the dynamic code generator and the generated dynamic code. Experimental results show that analyses based on these concepts are able to capture properties of dynamic code that cannot be identified using traditional program analyses.

Bibtex:

@inproceedings{bartels2020representing,
 title={Representing and Reasoning about Dynamic Code},
 author={Bartels, Jesse and Stephens, Jon and Debray, Saumya},
 booktitle={Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering},
 year={2020},
 organization={IEEE/ACM}
 }