arrow
Return

BINO: Automatic recognition of inline binary functions from template classes

delete2023-09-01
delete0
delete
OA
AI
L
Lorenzo Binosi *
M
Mario Polino
M
Michele Carminati
S
Stefano Zanero
DOI:10.1016/j.cose.2023.103312delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
In this paper, we propose BINO, a static analysis approach that relieves reverse engineers from the chal-lenging task of recognizing library functions that have been inlined. BINO recognizes inline calls of meth-ods of C++ template classes (even with unknown data types). We do this through a binary fingerprinting and matching approach. Our fingerprint model captures syntactic and semantic features of an assem-bly function, along with its Control-Flow Graph structure. Using these fingerprints and subgraph isomor-phism, it recognizes inline method calls in a target binary. BINO automates the fingerprints generation phase by parsing the source code of the template classes and automatically building appropriate bina-ries with representative inline calls of said methods. We evaluate BINO by performing experiments on a dataset of 555 GitHub C++ projects containing 10,600 inline functions, exploring several optimization levels that allow the compiler to inline function calls. We show that our approach can recognize inline function calls to the most used methods of well-known template classes with an F1-Score up to 63% with the-O2,-O3, and-Ofast optimizations levels.& COPY; 2023 Elsevier Ltd. All rights reserved.
Keywords:
Reverse engineering
Function inlining
Template classes
Function recognition
Graph isomorphism
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

C
Computers and Security
IF:
5.4
Papers:
4.6K
Citations:
1.4W

Organization

P
Polytechnic University of Milan
Scholars:
2.0W
Papers: 1.8W
Citations: 24