Giter Club home page Giter Club logo

ghidra-builder's Introduction

About

Common docker image for building software reverse engineering (SRE) framework Ghidra from Github's or private fork's source.

Using

Clone the repository:

git clone https://github.com/dukebarman/ghidra-builder
cd ghidra-builder

Create a docker image (if your user is in docker group, you may execute commands without sudo):

sudo docker-tpl/build

Run the build script from the working directory:

cd workdir
sudo ../docker-tpl/run ./build_ghidra.sh

It will clone a ghidra repository to the current directory and copy build to out dir:

ls    
build_ghidra.sh  ghidra out

At the next time, update this ghidra repo, checkout needed commit or patch:

cd workdir/ghidra
git pull

And for testing other branches, for example, with new debugger feature, you may make checkout:

cd workdir/ghidra # if you didn't make it earlier
git checkout debugger

Errors

Building process doesn't finish properly with gradle or jdk versions errors

In docker-tpl/Dockerfile you can find versions for gradle and jdk:

ARG gradle_version=7.3
ARG jdk_version=17

You can change manually with your favorite editor or run docker building with --build-arg

Some files without executable flag

After building a few files sometimes don't have executable flag:

chmod +x ./GPL/DemanglerGnu/os/linux64/demangler_gnu
chmod +x ./GPL/CabExtract/os/linux64/cabextract
chmod +x ./Ghidra/Features/Decompiler/os/linux64/decompile
chmod +x ./support/launch.sh
chmod +x ghidraRun

Or copy and use set_exec_flag.sh script to unzipped ghidra folder.

Testing

The Developers've added scripts for testing so you may uncomment Tests section in build_ghidra.sh.

ghidra-builder's People

Contributors

dukebarman avatar pandasauce avatar maxgerhardt avatar

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.