Assignment on GDFA

Problem Statement

  1. Untar a fresh copy of the source.

  2. Download the gdfa-assignment.tar.gz tar ball. Untar it.

  3. Patch the newly extracted source with the patch-gdfa-for-gcc4.5.0 patch file.

  4. This will add gdfa to the code, enabling two data flow analyses: Availabe Expressions and Live Variables.

  5. Create a new build directory and build cc1 for this.

  6. Read the header comments in the .c files provided and analyze the output of gdfa on these input files.