Giter VIP home page Giter VIP logo

baikaishiuc / ollvm-tll Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yazhiwang/ollvm-tll

0.0 0.0 1.0 59 MB

Ollvm+Armariris+LLVM 6.0.0

License: Other

CMake 0.21% Shell 0.04% Go 0.05% C++ 48.74% OCaml 0.11% Python 0.54% C 6.25% PHP 0.01% Objective-C 2.04% Makefile 0.01% LLVM 31.25% Assembly 10.19% Roff 0.01% Logos 0.01% HTML 0.51% Swift 0.01% CSS 0.01% Batchfile 0.01% Perl 0.04% Emacs Lisp 0.01%

ollvm-tll's Introduction

LLVM 6.0 + Ollvm + Armariris
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.

How to Build:

  $ git clone https://github.com/yazhiwang/ollvm-tll.git
  $ mkdir build
  $ cd build
  $ cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release ../ollvm-tll/
  $ make -j7

  
  use -mllvm -bcf -mllvm -fla -mllvm -sub -mllvm -sobf
  
* Instructions Substitution -mllvm -sub
* Bogus Control Flow -mllvm -bcf
* Control Flow Flattening -mllvm -fla
* String Obfuscation -mllvm -sobf


It has been tested on Android 3.2 preview and NDKr17:
To use it on Android studio, you need to goto following folder:
$(NDK_FOLDER)/toolchains/
cp -rf llvm orig_llvm
cd llvm/prebuilt/darwin-x86_64 # it depends on your OS, darwin-x86_64 can be others
rm -rf *
cp -rf ($BUILD_OLLVM)/bin .
cp -rf ($BUILD_OLLVM)/lib .


# This code repo is similar to the previous work of Qrilee:
https://github.com/Qrilee/Obfuscator-LLVM
The reason why I redo it is because from NDKr17, it will use clang 6.0. And by default there is parameter "-nostdlib++", which is not supported by the LLVM version he did. There are several hassles when trying to use OLLVM on Android studio. Above steps are the easiest way to compile your NDK project with obfuscation using OLLVM+String OBFU

ollvm-tll's People

Contributors

yazhiwang avatar

Forkers

apachecn

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.