Learning C to x86 Translation: An Experiment in Neural Compilation

Autor: Armengol-Estapé, Jordi, O'Boyle, Michael F. P.
Rok vydání: 2021
Předmět:
Zdroj: Armengol-Estap\'e, J. and O'Boyle, M. Learning C to x86 translation: An experiment in neural compilation. In Advances in Programming Languages and Neurosymbolic Systems Workshop, 2021. URL \url{https://openreview.net/forum?id=444ug_EYXet}
Druh dokumentu: Working Paper
Popis: 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.
Comment: Published in AIPLANS 2021
Databáze: arXiv