Neural reverse engineering of stripped binaries using augmented control flow graphs
Open accessThe DOI matches its Crossref record; 69 of the 69 references it cites were found in a registry or an index.
Abstract
We address the problem of reverse engineering of stripped executables, which contain no debug information. This is a challenging problem because of the low amount of syntactic information available in stripped executables, and the diverse assembly code patterns arising from compiler optimizations. We present a novel approach for predicting procedure names in stripped executables. Our approach combines static analysis with neural models. The main idea is to use static analysis to obtain augmented representations of call sites; encode the structure of these call sites using the control-flow graph (CFG) and finally, generate a target name while attending to these call sites. We use our representation to drive graph-based, LSTM-based and Transformer-based architectures. Our evaluation shows that our models produce predictions that are difficult and time consuming for humans, while improving on existing methods by 28% and by 100% over state-of-the-art neural textual models that do not use any static analysis. Code and data for this evaluation are available at https://github.com/tech-srl/Nero.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“we refer to prior works focusing on code readability, which propose clear definitions regarding factors contained in code snippets [7, 55, 64], systematically categorize code features into three fundamental dimensions (semantics, format, and implementation details) based on established literature [9, 10, 16, 29, 82], and design mutation operators that comprehensively cover each dimension.”
From What Makes In-Context Examples Effective for Code Generation? (2026) · cites this paper as [16]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404
Hochreiter, S., & Schmidhuber, J. (1997) · Neural Computation · doi:10.1162/neco.1997.9.8.1735 · Cited by 102,318
Adam: A Method for Stochastic Optimization
Kingma, D. P., & Ba, J. (2014) · arXiv · doi:10.48550/arxiv.1412.6980 · Cited by 98,946
Exploiting Generative AI to Scale up Intelligent Tutoring Systems
Jakubův, J., Chvalovský, K., Goertzel, Z., Kaliszyk, C., Olšák, M., Piotrowski, B., Schulz, S., Suda, M., & Urban, J. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.itp.2023.19 · Cited by 76,658
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325
(2014) · Cited by 33,419
Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation
Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1179 · Cited by 25,545
Semi-supervised classification with graph convolutional networks
Kipf, T. N., & Welling, M. (2016) · arXiv · doi:10.48550/arxiv.1609.02907 · Cited by 24,853
Sequence to Sequence Learning with Neural Networks
Sutskever, I., Vinyals, O., & Le, Q. V. (2014) · arXiv · doi:10.48550/arxiv.1409.3215 · Cited by 17,766
Neural Machine Translation by Jointly Learning to Align and Translate
Bahdanau, D., Cho, K., & Bengio, Y. (2014) · arXiv · doi:10.48550/arxiv.1409.0473 · Cited by 16,213 · cited 2×
“In attention-based models, at each step the decoder has the ability to compute a different weighted average of all latent vectors 𝒛 = ( 𝑧 1 , ...,𝑧 𝑛 ) [Bahdanau et al. 2014; Luong et al. 2015], and not only the last state of the encoder as in traditional seq2seq models [Cho et al. 2014;…”
BackgroundEffective Approaches to Attention-based Neural Machine Translation
Luong, T., Pham, H., & Manning, C. D. (2015) · Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d15-1166 · Cited by 8,382
Refactoring: Improving the Design of Existing Code
Fowler, M. (2002) · Lecture Notes in Computer Science · doi:10.1007/3-540-45672-4_31 · Cited by 5,591
Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation
Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014) · arXiv · doi:10.48550/arxiv.1406.1078 · Cited by 3,317
Weiser, M. (1984) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1984.5010248 · Cited by 3,204
Recurrent Models of Visual Attention
Mnih, V., Heess, N., Graves, A., & Kavukcuoglu, K. (2014) · arXiv (Cornell University) · doi:10.48550/arxiv.1406.6247 · Cited by 2,568
Listen, attend and spell: A neural network for large vocabulary conversational speech recognition
Chan, W., Jaitly, N., Le, Q., & Vinyals, O. (2016) · 2016 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp.2016.7472621 · Cited by 2,226
(2011) · IEEE Software · doi:10.1109/ms.2011.67 · Cited by 1,989
Bidirectional Attention Flow for Machine Comprehension
Seo, M. J., Kembhavi, A., Farhadi, A., & Hajishirzi, H. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1611.01603 · Cited by 1,445
End-to-end attention-based large vocabulary speech recognition
Bahdanau, D., Chorowski, J., Serdyuk, D., Brakel, P., & Bengio, Y. (2016) · 2016 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp.2016.7472618 · Cited by 1,096
State-of-the-Art Speech Recognition with Sequence-to-Sequence Models
Chiu, C.-C., Sainath, T. N., Wu, Y., Prabhavalkar, R., Nguyen, P., Chen, Z., Kannan, A., Weiss, R. J., Rao, K., Gonina, E., et al. (2018) · 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp.2018.8462105 · Cited by 1,043
Learning to Represent Programs with GraphsPreprint
Allamanis, M., Brockschmidt, M., & Khademi, M. (2017) · International Conference on Learning Representations · doi:10.48550/arxiv.1711.00740 · Cited by 966
code2vec: Learning distributed representations of code
Alon, U., Zilberstein, M., Levy, O., & Yahav, E. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3290353 · Cited by 962
Self-citationMultiple Object Recognition with Visual Attention
Ba, J., Mnih, V., & Kavukcuoglu, K. (2014) · arXiv · doi:10.48550/arxiv.1412.7755 · Cited by 808
Code completion with statistical language models
Raychev, V., Vechev, M., & Yahav, E. (2014) · Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2594291.2594321 · Cited by 555 · cited 1×
“Most works focused on variable names [Alon et al. 2018; Bavishi et al. 2018], method names [Allamanis et al. 2015a, 2016; Alon et al. 2019c] or general properties of code [Raychev et al. 2016b, 2014].”
BackgroundSelf-citationNeural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
Xu, X., Liu, C., Feng, Q., Yin, H., Song, L., & Song, D. (2017) · Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3133956.3134018 · Cited by 530
Zero-Shot Relation Extraction via Reading Comprehension
Levy, O., Seo, M., Choi, E., & Zettlemoyer, L. (2017) · arXiv · doi:10.48550/arxiv.1706.04115 · Cited by 482
Zero-Shot Relation Extraction via Reading Comprehension
Levy, O., Seo, M., Choi, E., & Zettlemoyer, L. (2017) · Proceedings of the 21st Conference on Computational Natural Language Learning (CoNLL 2017) · doi:10.18653/v1/k17-1034 · Cited by 482
Using Machine Learning for Vulnerability Detection and Classification
Alon, U., Brody, S., Levy, O., & Yahav, E. (2018) · arXiv (Cornell University) · doi:10.4230/oasics.slate.2021.14 · Cited by 467
Self-citationDing, S. H. H., Fung, B. C. M., & Charland, P. (2019) · 2019 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2019.00003 · Cited by 438
Cross-Architecture Bug Search in Binary Executables
Pewny, J., Garmany, B., Gawlik, R., Rossow, C., & Holz, T. (2015) · IEEE Symposium on Security and Privacy (S&P) · doi:10.1109/sp.2015.49 · Cited by 403
Suggesting accurate method and class names
Allamanis, M., Barr, E. T., Bird, C., & Sutton, C. (2015) · Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2786805.2786849 · Cited by 369
DeepBugs: a learning approach to name-based bug detection
Pradel, M., & Sen, K. (2018) · Proceedings of the ACM on Programming Languages · doi:10.1145/3276517 · Cited by 342
Recognizing functions in binaries with neural networks
Shin, E. C. R., Song, D. X., & Moazzezi, R. (2015) · USENIX Security Symposium · Cited by 322
Predicting Program Properties from "Big Code"
Raychev, V., Vechev, M., & Krause, A. (2015) · Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages · doi:10.1145/2676726.2677009 · Cited by 296
The adverse effects of code duplication in machine learning models of code
Allamanis, M. (2019) · Proceedings of the 2019 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software · doi:10.1145/3359591.3359735 · Cited by 284
Bimodal Modelling of Source Code and Natural Language
Allamanis, M., Tarlow, D., Gordon, A. D., & Wei, Y. (2015) · Edinburgh Research Explorer (University of Edinburgh) · Cited by 216
PHOG: probabilistic model for code
Bielik, P., Raychev, V., & Vechev, M. (2016) · International Conference on Machine Learning · Cited by 202
DéjàVu: a map of code duplicates on GitHub
Lopes, C. V., Maj, P., Martins, P., Saini, V., Yang, D., Zitny, J., Sajnani, H., & Vitek, J. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3133908 · Cited by 183 · cited 1×
“Following Lopes et al. [2017] and Allamanis [2018], who pointed out the existence of code duplication in open-source datasets and its adverse effects, we created the train, validation and test sets from completely separate projects and packages.”
MethodMapping Language to Code in Programmatic Context
Iyer, S., Konstas, I., Cheung, A., & Zettlemoyer, L. (2018) · Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d18-1192 · Cited by 180 · cited 2×
“Most work in this field used either syntax only [Bielik et al. 2016; Maddison and Tarlow 2014; Raychev et al. 2016a], semantic analysis [Allamanis et al. 2018] or both [Iyer et al. 2018; Raychev et al. 2015].”
Retrieval on source code: a neural code search
Sachdev, S., Li, H., Luan, S., Kim, S., Sen, K., & Chandra, S. (2018) · Proceedings of the 2nd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages · doi:10.1145/3211346.3211353 · Cited by 176
Debin: Predicting Debug Information in Stripped Binaries
He, J.-X., Ivanov, P., Tsankov, P., Raychev, V., & Vechev, M. T. (2018) · Conference on Computer and Communications Security · doi:10.1145/3243734.3243866 · Cited by 172
Høst, E. W., & Østvold, B. M. (2009) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-03013-0_14 · Cited by 170
DIRE: A Neural Approach to Decompiled Identifier Naming
Lacomis, J., Yin, P., Schwartz, E. J., Allamanis, M., Goues, C. L., Neubig, G., & Vasilescu, B. (2019) · International Conference on Automated Software Engineering · doi:10.1109/ase.2019.00064 · Cited by 168
TIE: Principled Reverse Engineering of Types in Binary Programs
Lee, J., Avgerinos, T., & Brumley, D. (2018) · Figshare · doi:10.1184/r1/6469466 · Cited by 164
BYTEWEIGHT: Learning to Recognize Functions in Binary Code
Bao, T., Burket, J., Woo, M., Turner, R., & Brumley, D. (2018) · Figshare · doi:10.1184/r1/6468464 · Cited by 160
Probabilistic model for code with decision trees
Raychev, V., Bielik, P., & Vechev, M. (2016) · Proceedings of the 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications · doi:10.1145/2983990.2984041 · Cited by 148
Similarity of binaries through re-optimization
David, Y., Partush, N., & Yahav, E. (2017) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3062341.3062387 · Cited by 147
Self-citationStructured Neural Summarization
Fernandes, P., Allamanis, M., & Brockschmidt, M. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1811.01824 · Cited by 142
A Convolutional Attention Network for Extreme Summarization of Source Code
Allamanis, M., Peng, H. M., & Sutton, C. A. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1602.03001 · Cited by 126
Learning programs from noisy data
Raychev, V., Bielik, P., Vechev, M., & Krause, A. (2016) · Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages · doi:10.1145/2837614.2837671 · Cited by 123
Structured Generative Models of Natural Source Code
Maddison, C. J., & Tarlow, D. (2014) · arXiv (Cornell University) · doi:10.48550/arxiv.1401.0514 · Cited by 122
A general path-based representation for predicting program properties
Alon, U., Zilberstein, M., Levy, O., & Yahav, E. (2018) · Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/3192366.3192412 · Cited by 79
Self-citationLabeling library functions in stripped binaries
Jacobson, E. R., Rosenblum, N. E., & Miller, B. P. (2011) · doi:10.1145/2024569.2024571 · Cited by 73
An Observational Investigation of Reverse Engineers' ProcessesPreprint
Votipka, D., Rabin, S. M., Micinski, K., Foster, J. S., & Mazurek, M. L. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1912.00317 · Cited by 68
Generative Code Modeling with Graphs
Brockschmidt, M., Allamanis, M., Gaunt, A. L., & Polozov, O. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1805.08490 · Cited by 67
Path-based function embedding and its application to error-handling specification mining
DeFreez, D., Thakur, A. V., & Rubio-González, C. (2018) · Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3236024.3236059 · Cited by 61
Detecting argument selection defects
Rice, A. C., Aftandilian, E. E., Jaspan, C. N. C., Johnston, E., Pradel, M., & Arroyo-Paredes, Y. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3133928 · Cited by 53
Neural Sketch Learning for Conditional Program Generation
Murali, V., Qi, L., Chaudhuri, S., & Jermaine, C. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1703.05698 · Cited by 47
Context2Name: A Deep Learning-Based Approach to Infer Natural Variable Names from Usage Contexts
Bavishi, R., Pradel, M., & Sen, K. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1809.05193 · Cited by 42
A Next-Generation Platform for Analyzing Executables
Reps, T., Balakrishnan, G., Lim, J., & Teitelbaum, T. (2005) · Lecture notes in computer science · doi:10.1007/11575467_15 · Cited by 41
Bayesian Sketch Learning for Program Synthesis.Preprint
Murali, V., Chaudhuri, S., & Jermaine, C. (2017) · arXiv (Cornell University) · Cited by 31
Statistical Reconstruction of Class Hierarchies in Binaries
Katz, O., Rinetzky, N., & Yahav, E. (2018) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3173162.3173202 · Cited by 16
Self-citationData-Driven Program CompletionPreprint
Lu, Y., Chaudhuri, S., Jermaine, C., & Melski, D. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1705.09042 · Cited by 15
Structural Language Models for Any-Code Generation.Preprint
Alon, U., Sadaka, R., Levy, O., & Yahav, E. (2019) · arXiv (Cornell University) · Cited by 12
Self-citationDIRE: A Neural Approach to Decompiled Identifier Naming
Lacomis, J., Yin, P., Schwartz, E. J., Allamanis, M., Goues, C. L., Neubig, G., & Vasilescu, B. (2019) · Zenodo (CERN European Organization for Nuclear Research) · doi:10.5281/zenodo.3403077 · Cited by 8
Chen, T., Wang, Z., Li, L., Li, D., Li, Z., Chang, X., Bian, P., Liang, G., Wang, Q., & Xie, T. (2025) · Schloss Dagstuhl – Leibniz-Zentrum für Informatik · doi:10.4230/lipics.ecoop.2025.6
Research works printed but not linked: 8
- Allamanis Miltiadis, 2016, Proceedings of the 33nd International Conference on Machine Learning, ICML 2016
- Alon Uri, 2019, International Conference on Learning Representations. https://openreview.net/forum?id=H1gKYo09tX
- Bielik Pavol, 2016, Proceedings of the 33nd International Conference on Machine Learning, ICML 2016
- Cho Kyunghyun, 2014, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio.
- Ding Steven H H, 2019, Benjamin C M Fung, and Philippe Charland
- Lacomis Jeremy, 2019, Graham Neubig, and Bogdan Vasilescu.
- Lyle James R, 1993, Proceedings of the 1993 Software Engineering Research Forum. Citeseer, 255-260
- Maddison Chris, 2014, International Conference on Machine Learning. 649-657
Cited by
DOBF: A Deobfuscation Pre-Training Objective for Programming Languages
Rozière, B., Lachaux, M.-A., Szafraniec, M., & Lample, G. (2021) · neural information processing systems · doi:10.48550/arxiv.2102.07492 · Cited by 176
Adversarial examples for models of code
Yefet, N., Alon, U., & Yahav, E. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428230 · Cited by 161
Self-citationJin, X., Pei, K., Won, J. Y., & Lin, Z. (2022) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3548606.3560612 · Cited by 136
DeGPT: Optimizing Decompiler Output with LLM
Hu, P., Liang, R., & Chen, K. (2024) · Network and Distributed System Security Symposium · doi:10.14722/ndss.2024.24401 · Cited by 154
ReSym: Harnessing LLMs to Recover Variable and Data Structure Symbols from Stripped Binaries
Xie, D.-N., Zhang, Z., Jiang, N., Xu, X.-Z., Tan, L., & Zhang, X.-Y. (2024) · Conference on Computer and Communications Security · doi:10.1145/3658644.3670340 · Cited by 113
Metadata
- Authors
- David, Y., Alon, U., & Yahav, E.
- Affiliations
- Technion – Israel Institute of Technology (IL)
- Venue
- Proceedings of the ACM on Programming Languages
- Published
- 2020-11-13
- Volume
- 4
- Issue
- OOPSLA
- Pages
- 1-28
- ISSN
- 2475-1421 (ISSN-L)
- OpenAlex
- W3093415205
- Semantic Scholar
- 9cdcb661b797d58f0058a6896d47aa1d0cd8d19c
- Cited by
- 84
- References
- 69
- Citations by year
- 2026: 12 · 2025: 13 · 2024: 14 · 2023: 20 · 2022: 11 · 2021: 11 · 2020: 1
- FWCI
- 10.12
- Type
- journal article
- Language
- en
- Open access
- diamond
- doi.org
- Licence
- Locations
- Proceedings of the ACM on Programming Languages (publishedVersion, cc-by-nc-sa)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Zenodo (CERN European Organization for Nuclear Research) (cc-by)
- Funders
- Israel Ministry of Science and Technology (3-9779)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Hardware and Architecture › Security and Verification in Computing
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Keywords
- stripped binaries, reverse engineering, control flow graph, static analysis, neural network architecture, transformer models, LSTM, compiler optimization, binary analysis
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.