vix.ing · top · new · best · stats · spec

g4re: Harnessing GCC to Reverse Engineer C++ Applications

2022/01/26 by Kraft, Nicholas A., Malloy, Brian A., Power, James F.
#GXL #Reverse engineering #schema

paper · doi:10.4230/dagsemproc.05161.4

Abstract

In this paper, we describe g4re, our tool chain that exploits GENERIC, an intermediate format incorporated into the gcc C++ compiler, to facilitate analysis of real C++ applications. The gcc GENERIC representation is available through a file generated for each translation unit (TU), and g4re reads each TU file and constructs a corresponding Abstract Semantic Graph (ASG). Since TU files can be prohibitively large, ranging from 11 megabytes for a "hello world" program, to 18 gigabytes for a version of Mozilla Thunderbird, we describe our approach for reducing the size of the generated ASG.

Related