Open main menu

CDOT Wiki β

Winter 2010 Posters/GCC4.5 Packaging/ViewSource Packaging

Revision as of 22:08, 16 April 2010 by JonathanDeni (talk | contribs) (Description of work + goals)

Project Name

DXR Project

Names

Jonathan Deni & Boris Chao

Description of work + goals

Our goal by the end of the semester was to get DXR working. DXR contains components such as Dehydra, Jshydra, Viewsource, and a Modified GCC compiler. We had to essentially build each of these from scratch in an attempt to put it all together and finish in time.

Definition of Packagin

Description of Packages

  • Dehydra

Dehydra is a static analysis tools able to analyze application specif C++ codes. Dehydra can be compared to as a searching tool as well. It is able to display a vast amount of information consisely using Javascripts. This tool is able to help fromo bugs in source codes, which is provides more error checking than C++ is able to by itself. Dehydra is a plugin for GCC, which make it easy to use for projects that supports GCC.

  • JSHyrda

JSHydra is static tool that is able to analyze general JavaScript Code. It was formed with the concept of previous tools Dehydra and Treehydra, which performs C++ code analysis. The backend of this tool, breaks down the Javascript code using a SpiderMonkey Engine. The breakdown of the codes are executed by running Javascripts.


  • Viewsource

Viewsource is a web-based interface to Mozilla's static analysis tools, Dehydra and JShydra. Dehydra is used to analyze C/C++ source code and JShydra is used to analyze JavaScript. Essentially you would take source code and place it into the textbox provided in the web application and select either the JShydra or Dehydra button and view the output.

  • GCC (GNU Compiler Collection)

GCC is a compilation of compilers, and was originally written for the GNU operating system. Here is a list of front end compilers in its collection: C, C++, Objective-C, Fortran, Java, and Ada, as well as libraries for these languages.

Results + What we’ve accomplished

Viewsource was built and has been deployed on one of the CDOT machine’s, everything was ready and waiting for Dehydra + Jshydra.

(Viewsource Screenshot)

Both Dehydra and Jshydra where built and finished with no errors that we knew of, although the true test would be when we incorporate GCC with it. So far Viewsource and Dehydra are ready for fedora review while Jshydra still has to be prepared.

(Dehydra Screenshot 64 + 32 bit)

GCC –


(build-failure-64bit.png) +

Summary and set of conclusions

All of the other fundamental components are built however our project is still in the midst of being complete due to GCC. Once GCC is finished it will be tested with the other components and then GCC and jshydra will be prepped according to the fedora review guidelines and we will have our DXR complete.

Acknowledgements and Links

Logos

  • Fedora
  • Seneca
  • gcc
  • Mozzila

Pictures

All pictures can be found here http://hongkong.proximity.on.ca/bchao/sbr700