Schloss Dagstuhl - Leibniz-Zentrum für Informatik GmbH Schloss Dagstuhl - Leibniz-Zentrum für Informatik GmbH scholarly article en Kraft, Nicholas A.; Malloy, Brian A.; Power, James F. License
when quoting this document, please refer to the following
URN: urn:nbn:de:0030-drops-4244

; ;

g4re: Harnessing GCC to Reverse Engineer C++ Applications



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.

BibTeX - Entry

  author =	{Nicholas A. Kraft and Brian A. Malloy and James F. Power},
  title =	{g4re: Harnessing GCC to Reverse Engineer C++ Applications},
  booktitle =	{Transformation Techniques in Software Engineering},
  year =	{2006},
  editor =	{James R. Cordy and Ralf L{\"a}mmel and Andreas Winter},
  number =	{05161},
  series =	{Dagstuhl Seminar Proceedings},
  ISSN =	{1862-4405},
  publisher =	{Internationales Begegnungs- und Forschungszentrum f{\"u}r Informatik (IBFI), Schloss Dagstuhl, Germany},
  address =	{Dagstuhl, Germany},
  URL =		{},
  annote =	{Keywords: Reverse engineering, schema, GXL}

Keywords: Reverse engineering, schema, GXL
Seminar: 05161 - Transformation Techniques in Software Engineering
Issue date: 2006
Date of publication: 07.03.2006

DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI