Skip to content

Commit 6debfca

Browse files
committed
Update readme with new installation instructions
1 parent 83d3e84 commit 6debfca

File tree

3 files changed

+3
-34
lines changed

3 files changed

+3
-34
lines changed

README.md

+3-34
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# Ghidra2Dwarf
22

3-
![](./ghidra2dwarf.png)
3+
![](./img/ghidra2dwarf.png)
44

55
Inspired by: [dwarfexport](https://github.com/ALSchwalm/dwarfexport)
66

7-
Currently only ghidra 9.1.2 is fully tested, however you can find installation instructions and various bug-fixes for ghidra 9.2 on this [branch](https://github.com/cesena/ghidra2dwarf/tree/9.2).
8-
97
Contributions are welcome, feel free to open an issue if something is broken.
108

119
Ghidra2Dwarf is a ghidra plugin that allows to exports informations (such as functions,
@@ -28,40 +26,11 @@ Inside gdb now you can use:
2826

2927
## Install
3028

31-
Ghidra 9.1.2:
32-
* Copy [libdwarf.jar](./lib/target/libdwarf.jar) inside `~/.ghidra/.${GHIDRA_VERSION}/plugins`.
33-
34-
Ghidra 9.2 (temporary fix):
35-
* Copy [libdwarf.jar](./lib/target/libdwarf.jar) inside `${GHIDRA_INSTALLATION_DIR}/Ghidra/Features/Base/lib`
36-
37-
In the script manager -> script directories add the `src` directory:
29+
- Unzip the [latest release](https://github.com/cesena/ghidra2dwarf/releases/latest).
30+
- In the script manager -> script directories add the `ghidra2dwarf` directory:
3831

3932
![](./img/script-directories.png)
4033

41-
### Linux 9.1.2
42-
43-
Bash:
44-
45-
```sh
46-
git clone https://github.com/cesena/ghidra2dwarf.git
47-
cd ghidra2dwarf
48-
export GHIDRA_VERSION="ghidra_9.1.2_PUBLIC" # Change here with correct version
49-
mkdir -p ~/.ghidra/.${GHIDRA_VERSION}/plugins
50-
cp ./lib/target/libdwarf.jar ~/.ghidra/.${GHIDRA_VERSION}/plugins
51-
```
52-
53-
### Windows 9.1.2
54-
55-
Powershell:
56-
57-
```powershell
58-
git clone https://github.com/cesena/ghidra2dwarf.git
59-
cd ghidra2dwarf
60-
Set-Variable -Name "GHIDRA_VERSION" -Value "ghidra_9.1.2_PUBLIC"
61-
mkdir -p ~\.ghidra\.$GHIDRA_VERSION\plugins
62-
cp .\lib\target\libdwarf.jar ~\.ghidra\.$GHIDRA_VERSION\plugins
63-
```
64-
6534
## Run
6635

6736
Run `ghidra2dwarf.py` inside the script manager:
File renamed without changes.

img/script-directories.png

-2.18 KB
Loading

0 commit comments

Comments
 (0)