Facile-api

The Facile API is capable of reading (decompiling) .Net assemblies. Covering the metadata tables, the embedded types and methods, including their bodies as CIL (bytecode).

View the Project on GitHub TomSmartBishop/facile-api

Background

Initially the Facile API has been written to perform analysis of .Net assemblies, independent of the authoring .Net language.

Support

Please make a donation if you like it:

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4XAU6DKYLW7VA

Code Sample

try {
    //specify a path, where to find the assembly
    String assemblyName = "mscorlib.dll";
    String assemblyLocation = "../path/to/assembly/" + assemblyName;

    //reflect and load the assembly using the Facile factory
    Assembly assembly = Facile.loadAssembly(assemblyLocation);

    //perform your custom operations on the assembly...
    System.out.println("All defined types in " + assemblyName + ":\n");
    for(Type type : assembly.getAllTypes()) {
        System.out.println(type);
    }
} catch (Exception e) {
    e.printStackTrace();
}

Current Focus

Other Issues

Downloads

Commercial Use

The Facile API is commercially used by the Sonargraph Explorer: http://www.hello2morrow.com