Package Details: ghidra-git 10.2.3.r655.601ab94c1-1

Git Clone URL: https://aur.archlinux.org/ghidra-git.git (read-only, click to copy)
Package Base: ghidra-git
Description: Software reverse engineering framework (git)
Upstream URL: https://www.nsa.gov/ghidra
Keywords: binary compiler cryptor debugger decompiler disassembler ELF executable gdb ida-pro MACH MSDOS NSA OEP ollydbg open-source packer PEiD plugin reverse-engineering
Licenses: Apache
Conflicts: ghidra, ghidra-desktop, ghidra-dev
Provides: ghidra
Submitter: flacks
Maintainer: encounter (class101, nullableVoidPtr)
Last Packager: class101
Votes: 9
Popularity: 0.000014
First Submitted: 2019-04-05 17:25 (UTC)
Last Updated: 2023-02-11 02:08 (UTC)

Dependencies (7)

Sources (4)

Pinned Comments

encounter commented on 2020-10-01 07:53 (UTC) (edited on 2022-11-05 15:24 (UTC) by encounter)

All packages for Ghidra require Java 17. (package jdk17-openjdk)

You can set the active Java version using archlinux-java set java-17-openjdk

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

algebro commented on 2019-08-05 16:29 (UTC)

I'm getting the following error trying to build this package:

FAILURE: Build failed with an exception.

* Where:
Build file '/home/algebro/.cache/yay/ghidra-git/src/ghidra/build.gradle' line: 336

* What went wrong:
Could not compile build file '/home/algebro/.cache/yay/ghidra-git/src/ghidra/build.gradle'.
> startup failed:
  build file '/home/algebro/.cache/yay/ghidra-git/src/ghidra/build.gradle': 336: expecting '}', found '' @ line 336, column 1.
  1 error

It looks like there's a missing curly brace or something in the allprojects{} patch added from the PKGBUILD?

flacks commented on 2019-07-02 23:58 (UTC)

C0rn3j I didn't run into that issue when using jdk11. But the commit mumbel mentioned did make it into the tree, so try again if the build still failed for you.

mumbel commented on 2019-07-02 22:25 (UTC) (edited on 2019-07-02 22:26 (UTC) by mumbel)

@C0rn3j noticed this as well and submitted a bug report, should be fixed in 11f1a824a72c0930bde8930866fbe297f3644688

kriskras99 commented on 2019-06-11 13:42 (UTC)

@C0rn3j you should set jdk11 as your default java env, it does not work with lower versions

C0rn3j commented on 2019-06-11 13:37 (UTC)

Fails to build https://haste.rys.pw/raw/bikihavora

Could not determine the dependencies of task ':8051:compileJava'.

remitamine commented on 2019-06-09 02:29 (UTC)

missing bison and flex dependencies from makedepends. https://github.com/NationalSecurityAgency/ghidra/blob/master/DevGuide.md#building-the-natives

Philzli commented on 2019-06-04 10:39 (UTC)

Haha, the build fails if you start it on one day and end it on another.

maarroyo commented on 2019-05-25 04:29 (UTC) (edited on 2019-05-25 04:29 (UTC) by maarroyo)

For those interested in headless mode you may want to run the following:

$ ln -s /opt/ghidra/support/analyzeHeadless /usr/bin/ghidra-analyzeHeadless

flacks commented on 2019-05-16 21:54 (UTC)

kriskras99, I added a build instruction for the missing native components. thanks!

kriskras99 commented on 2019-05-04 12:05 (UTC) (edited on 2019-05-04 12:06 (UTC) by kriskras99)

If you get an error about being unable to demangle function names because of a FileNotFoundException, you should do the following:

$ cd $SRC_DIR/GPL/DemanglerGnu/

$ gradle build

$ cp -r build/os /opt/ghidra/Ghidra/Features/GnuDemangler

This should probably be fixed in the PKGBUILD, but I do not know the correct way to do this.