CR3Swapper / diablo

Diablo is a retargetable link-time binary rewriting framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Diablo (Diablo Is A Better Link-time Optimizer) is a retargetable link-time
binary rewriting framework. While our focus has been mostly on program
compaction and software protection, binary rewriting has a much broader range of
applications: speed optimizations, power consumption optimizations, size
optimizations, watermarking, instrumentation, etc.

A good binary rewriting framework (one like Diablo :-)) is also very useful for
program analysis and understanding. For instance, Diablo can print out the
control flow graph for all functions in a program, annotated with for example
liveness information.

Lately Diablo has been used in the ASPIRE project to develop a number of
software protection techniques, the code of which can be found in the aspire
subdirectory.

Diablo is licensed under the GPLv2 license:

    Copyright (C) 2016  The Diablo Team

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

The full license can be found in the COPYING file.

Diablo furthermore links against (and this repository contains their code for the ease of building Diablo):
* Judy for sparse dynamic arrays (in the judy/ subdirectory)
* Jansson for working with JSON data (in the jansson-2.6 subdirectory)
which each is copyrighted by their respective authors, and each fall under their own licenses as mentioned in their respective headers and LICENSE file.

The easiest way to get Diablo compiled and running, including having a
pre-built ARM toolchain, is by using a Docker image we developed for the Aspire
FP7 project. It can be found on Github
(https://github.com/aspire-fp7/framework). Note that this Docker contains more
than just Diablo: it features the entire Aspire protection tool chain, of which
Diablo is just a part.

About

Diablo is a retargetable link-time binary rewriting framework

License:GNU General Public License v2.0


Languages

Language:C 77.3%Language:C++ 13.6%Language:Shell 3.0%Language:C# 2.2%Language:Python 1.6%Language:Yacc 0.8%Language:CMake 0.7%Language:Lex 0.4%Language:Objective-C 0.3%Language:M4 0.1%Language:Assembly 0.1%Language:Perl 0.0%