PHP-AST/ORACLE is a source code analysis framework oriented project.
It's used at NIST for developing metrics, working around obfuscations
and so on for the SAMATE project.
The project is a research tool and I distribute it in order to make 
available some metrics, or even obfuscation patterns/engine.

What you can do:
  . php-ast:     Converting a php source code to XML Abstract Syntax Tree
  . php-oracle:  Computing metrics, obfuscating source code, tracking variables,
                 Converting from the AST to PHP/C++ (Java should arrive soon).

How to compile it:
  . You only need libxml2 in order to compile the projects, then you can just type:
             make ast
             make oracle
  . This should produce 2 executable ./php-ast and ./php-oracle. In order to see how to use
    them you should see the main.cpp of php-oracle.
    For php-ast you just need to give the name of the php source code as parameter:
             ./php-ast input.php
             ./php-ast input.php output.xml

How can you use the tool:
  . php-oracle is not exactly a tool, but a framework. You can develop your own modules, algorithms, metrics,
    source code transformation etc. in order to play with source code security.

Contact:
  . Romain Gaucher - r@rgaucher.info
  . http://rgaucher.info
  
License:
  . GPL



