Code Monkey home page Code Monkey logo

spade's Introduction

Kraken Spade

Spade is a toolkit for facilitating the analysis and modification of compiled Java applications. It can process entire applications including library code to provide extra contextual information to the analyses. The idea is to create a high level, stackless intermediate representation of the Java bytecode language which can then be analysed and transformed in a much easier and more predictable way. A lot of the ideas in this project are heavily influenced from earlier work done in Maple-IR and the creation of Spade can be almost fully attributed to various pain-points we identified in maple-ir as it grew and became more unmaintainable.

Contrasting directly with maple-ir for a moment, Spade provides the following benefits:

  • Extensive unit testing of core components, aiming towards 100% coverage, including a graph algorithm invariant framework
  • Pipeline transformation framework for facilitating higher order component composition
  • Dependency injection integration(via Guice) and containerisation
  • Immutable CodeUnit's with predictable hashCode/equals
  • User-focused OO design including code visitors and reducers/folding
  • No edge cases for users to consider when implementing transformers
  • and much more (coming soon)!

Planned Features

  • Bytecode to SSA IR generator
  • SSA IR to bytecode backtranslater (using Boissinot et al. style destructor)
  • Text based language for IR
  • Dataflow analysis framework using Soufflé

spade's People

Contributors

t81lal avatar 00-matt avatar

Stargazers

Shanyu Thibaut Juneja avatar  avatar Konloch avatar EpicFighterF avatar 3000IQPlay avatar 0x0AB8 avatar Matt avatar

Watchers

 avatar

spade's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.