Giter Club home page Giter Club logo

ghidradevicetreeblob's Introduction

Ghidra Device Tree Blob

Build

Import Device Tree Information onto your Ghidra memory map. This is usefull when reversing firmware from propietary devices that do not publish SVD files.

If you have SVD files for your device, I recommend you try GhidraSVD.

Installing

Go to the releases page and download the latest version for your Ghidra distribution.

In Ghidra main window go to File > Install extensions.... In the new window press the + icon to import the downloaded zip.

Usage

In a CodeBrowser window press File > Import DTB....

A file dialog will allow you to select your device tree file and import it. Memory map will automatically be updated.

Development

Development environment

  1. First, install Eclipse for Java Developers.
  2. Once installed, open Eclipse and click on Help > Install New Software.... A window will pop up.
  3. Click on Add... > Archive.... It will open a file selection dialog. In this dialog, please select GhidraDev.zip file from <Your Ghidra install dir>/Extensions/Eclipse/GhidraDev/.
  4. Check Ghidra category (or GhidraDev entry).
  5. Repeatedly click Next.
  6. Accept the terms of the license agreement.
  7. Check the Unsigned table entry and click Trust Selected.
  8. Restart Eclipse...

Importing the project

After all of that, if you still want to develop and/or contribute to the project, first clone this repository:

git clone [email protected]:antoniovazquezblanco/GhidraDeviceTreeBlob.git

In Eclipse:

  1. Click on File > Import....
  2. In the dialog click on General > Projects from Folder or Archive > Next.
  3. Click on Directory... and select the GhidraDeviceTreeBlob folder you have just cloned.
  4. Click on Finish.
  5. Right click on the just imported project GhidraDev > Link Ghidra....
  6. Select your desired Ghidra installation and click on Finish.

You are now ready to develop!

ghidradevicetreeblob's People

Contributors

antoniovazquezblanco avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ghidradevicetreeblob's Issues

Add an analyzer plugin

Try to locate a DTB signature in the existing regions during analisys and parse data.

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.