BinBench: a benchmark for x64 portable operating system interface binary function representations
- PMID: 37346713
- PMCID: PMC10280411
- DOI: 10.7717/peerj-cs.1286
BinBench: a benchmark for x64 portable operating system interface binary function representations
Abstract
In this article we propose the first multi-task benchmark for evaluating the performances of machine learning models that work on low level assembly functions. While the use of multi-task benchmark is a standard in the natural language processing (NLP) field, such practice is unknown in the field of assembly language processing. However, in the latest years there has been a strong push in the use of deep neural networks architectures borrowed from NLP to solve problems on assembly code. A first advantage of having a standard benchmark is the one of making different works comparable without effort of reproducing third part solutions. The second advantage is the one of being able to test the generality of a machine learning model on several tasks. For these reasons, we propose BinBench, a benchmark for binary function models. The benchmark includes various binary analysis tasks, as well as a dataset of binary functions on which tasks should be solved. The dataset is publicly available and it has been evaluated using baseline models.
Keywords: Assembly language; Benchmark; Binary functions; Binary functions representation; Binary similarity; Compiler provenance; Dataset; Neural networks.
© 2023 Console et al.
Conflict of interest statement
The authors declare that they have no competing interests.
Figures


References
-
- Allamanis M, Barr ET, Devanbu P, Sutton C. A survey of machine learning for big code and naturalness. ACM Computing Surveys. 2018;51(4):1–37. doi: 10.1145/3212695. - DOI
-
- Alrabaee S, Shirani P, Wang L, Debbabi M. SIGMA: a semantic integrated graph matching approach for identifying reused functions in binary code. Digital Investigation. 2015;12(1):S61–S71. doi: 10.1016/j.diin.2015.01.011. - DOI
-
- Artuso F, Luna GAD, Massarelli L, Querzoni L. In nomine function: naming functions in stripped binaries with neural networks. ArXiv. 2021.
-
- Bahdanau D, Cho K, Bengio Y. 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7–9, 2015, Conference Track Proceedings. 2015. Neural machine translation by jointly learning to align and translate.
-
- Brown T, Mann B, Ryder N, Subbiah M, Kaplan JD, Dhariwal P, Neelakantan A, Shyam P, Sastry G, Askell A, Agarwal S, Herbert-Voss A, Krueger G, Henighan T, Child R, Ramesh A, Ziegler D, Wu J, Winter C, Hesse C, Chen M, Sigler E, Litwin M, Gray S, Chess B, Clark J, Berner C, McCandlish S, Radford A, Sutskever I, Amodei D. Language models are few-shot learners. In: Larochelle H, Ranzato M, Hadsell R, Balcan MF, Lin H, editors. Advances in Neural Information Processing Systems. Vol. 33. Red Hook: Curran Associates, Inc; 2020. pp. 1877–1901.
Associated data
LinkOut - more resources
Full Text Sources