GithubHelp home page GithubHelp logo

anthrax3 / ghidra_exporttox64dbg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from schlafwandler/ghidra_exporttox64dbg

0.0 0.0 0.0 217 KB

A Ghidra script to export data to a x64dbg database

Python 100.00%

ghidra_exporttox64dbg's Introduction

ExportToX64dbg

A Ghidra script to export information to a x64dbg database.

Screenshot x64dbg

Features

  • Exports functions, function names (as labels), and function prototypes (as comments)
  • Exports labels for global variables
  • Exports bookmarks
  • Exports some (see Limitations) decompiled C statements (as comments)

Installation

Copy ExportToX64dbg.py to your Ghidra scripts directory (the Script Manager has a button to show you all directories where Ghidra is looking for scripts).

If the script is not shown in the Script Manager, try the 'Refresh Script List` button.

Usage

  • Run the script
  • Select a filename for the database (matching suffix will be appended automatically)
  • In x64dbg: Import the database (File -> Import database)

Bugs/Limitations

  • Not the full decompiled source code gets exported as comments

At the moment the source code export is limited to elements that appear as ClangStatement in the ClangTokenGroup returned by getCCodeMarkup(). This works fine for most variable assignments and function calls, but excludes most control flow altering constructs (like if, for or while).

Similar projects

GhidraX64Dbg

ret-sync

lst2x64dbg

ghidra_exporttox64dbg's People

Contributors

schlafwandler 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.