Download ROSE Compiler Framework/Print version
Transcript
Platform Requirement ................................................................................................... 13 Software Requirement .................................................................................................. 13 Installing boost .......................................................................................................... 14 Installing Java JDK ................................................................................................... 14 ./build ............................................................................................................................ 15 configure ....................................................................................................................... 15 make .............................................................................................................................. 15 make check.................................................................................................................... 16 make install ................................................................................................................... 16 set environment variables ............................................................................................. 16 try out a rose translator ................................................................................................. 16 ROSE tools........................................................................................................................ 17 identityTranslator .......................................................................................................... 17 Supported Programming Languages ................................................................................. 17 OpenMP support ........................................................................................................... 17 CUDA support .............................................................................................................. 18 Abstract Syntax Tree (Intermediate Representation) ........................................................ 18 visualization of AST ..................................................................................................... 18 text output of AST ........................................................................................................ 19 preprocessing info. ........................................................................................................ 19 Program Translation.......................................................................................................... 19 Expected behavior of a ROSE Translator ..................................................................... 19 SageBuilder and SageInterface ..................................................................................... 20 workflow for writing translators ................................................................................... 20 Order to traverse AST ................................................................................................... 20 example translators ....................................................................................................... 21 Program Analysis .............................................................................................................. 21 control flow graph ......................................................................................................... 21 virtual control flow graph ......................................................................................... 21 static control flow graph ........................................................................................... 22 static and interprocedural CFGs................................................................................ 22 Virtual function analysis ............................................................................................... 22 def-use analysis ............................................................................................................. 22 pointer analysis ............................................................................................................. 23 Page 2