Learning C to x86 Translation: An Experiment in Neural Compilation
arXiv:2108.07639
Abstract
Deep learning has had a significant impact on many fields. Recently, code-to-code neural models have been used in code translation, code refinement and decompilation. However, the question of whether these models can automate compilation has yet to be investigated. In this work, we explore neural compilation, building and evaluating Transformer models that learn how to produce x86 assembler from C code. Although preliminary results are relatively weak, we make our data, models and code publicly available to encourage further research in this area.
Published in AIPLANS 2021
References in corpus (6)
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- Unsupervised Translation of Programming Languages
- Generative Language Modeling for Automated Theorem Proving
- ProGraML: Graph-based Deep Learning for Program Optimization and Analysis
- Towards Neural Decompilation