mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 19:42:14 +00:00
28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
|
# GnuDisassembler
|
||
|
|
||
|
The GnuDisassembler extension module must be built using gradle prior to its use within Ghidra.
|
||
|
|
||
|
This module provides the ability to leverage the binutils disassembler capabilities
|
||
|
for various processors as a means of verifying Sleigh disassembler output syntax.
|
||
|
|
||
|
To build this extension for Linux or macOS:
|
||
|
|
||
|
1. If building for an installation of Ghidra, copy the appropriate source distribution of binutils
|
||
|
into this module's root directory. If building within a git clone of the full Ghidra source, copy
|
||
|
binutils source distribution file into the `ghidra.bin/GPL/GnuDisassembler` directory.
|
||
|
|
||
|
The supported version and archive format is identified within the build.gradle file. If a
|
||
|
different binutils distribution is used the build.gradle and/or buildGdis.gradle may require
|
||
|
modification.
|
||
|
|
||
|
The build requires the following packages to be installed:
|
||
|
* flex
|
||
|
* bison
|
||
|
* texinfo
|
||
|
* zlib1g-dev
|
||
|
|
||
|
2. Run gradle from the module's root directory (see top of `build.gradle` file for specific
|
||
|
instructions).
|
||
|
|
||
|
This resulting gdis executable will be located in `build/os/<platform>`.
|