Search Criteria
Package Details: ghidra-dev 10.0.BETA.r25.52d07a8e6+master-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ghidra-dev.git (read-only, click to copy) |
---|---|
Package Base: | ghidra-dev |
Description: | Software reverse engineering framework (git, current branch: master) |
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-git |
Provides: | ghidra |
Submitter: | class101 |
Maintainer: | class101 |
Last Packager: | class101 |
Votes: | 2 |
Popularity: | 0.000003 |
First Submitted: | 2021-02-24 13:57 (UTC) |
Last Updated: | 2021-06-03 02:38 (UTC) |
Dependencies (7)
- bash (bash-devel-git, bash-devel-static-git, bash-git, bash-xdg)
- java-environment (java-gcj-compat, zulu-10-bin, jdk12-openj9-bin, zulu-12-bin, jdk12, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jdk10-openj9-bin, jdk14-openj9-bin, jdk7, zulu-14-bin, amazon-corretto-15, jdk11-openjdk-dcevm-conflicts-fixed, zulu-embedded-jdk8, sapmachine-jdk-bin, amazon-corretto-16, jdk8-graalvm-bin, jdk16-graalvm-bin, jdk8-openjdk-shenandoah, zulu-16-bin, jdk11-graalvm-ee-bin, jdk16-adoptopenjdk, jdk11-microsoft-openjdk, jdk16-microsoft-openjdk, jdk11-msopenjdk-bin, jdk18-beta-temurin, jdk8-arm, jdk17-jetbrains, liberica-jdk-11-bin, liberica-jdk-11-lite-bin, liberica-jre-11-bin, jdk11-jetbrains-imfix, java-openjdk-loom-ea-bin, jdk17-dragonwell-bin, jdk7-j9-bin, jdk7r1-j9-bin, jdk8-j9-bin, jdk11-j9-bin, jdk-jetbrains, jdk11-jbr-xdg, jdk12-openjdk, jdk15-openjdk, jdk16-openjdk, jdk13-openjdk, jdk14-openjdk, jdk-bcl, amazon-corretto-18, zulu-18-bin, zulu-13-bin, bishengjdk-17, jdk-arm, jdk11-openj9-bin, jdk-openj9-bin, jdk-openj9, jabba-bin, zulu-15-bin, zulu-embedded-jdk, jdk-jbr-xdg, jdk-openjdk-xdg, jdk-openjdk-xdg-bin, zulu-embedded-jdk11, jdk-microsoft-openjdk, jdk18-openjdk, jdk17-openj9-bin, jdk11-jetbrains-bin, liberica-jdk-8-full-bin, liberica-jdk-17-full-bin, liberica-jre-11-full-bin, liberica-jdk-11-full-bin, jre-jetbrains, jdk8-dragonwell-extended-bin, jdk8-dragonwell-standard-bin, jdk11-dragonwell-extended-bin, jdk11-dragonwell-standard-bin, jdk17-dragonwell-standard-bin, jdk8-dragonwell-extended, jdk18-openj9-bin, jdk8-openj9-bin, jdk8, jdk11, jdk-android-studio, amazon-corretto-8, amazon-corretto-11, amazon-corretto-19-bin, amazon-corretto-17, zulu-8-bin, zulu-11-bin, zulu-17-bin, zulu-19-bin, jdk11-temurin, jdk17-temurin, jdk-temurin, jdk17-graalvm-ee-bin, java-openjdk-bin, liberica-jre-8-full-bin, jdk11-graalvm-bin, jdk17-graalvm-bin, jdk19-graalvm-bin, liberica-jdk-full-bin, jdk8-adoptopenjdk, jdk17-jetbrains-imfix, jdk17-jetbrains-bin, java-openjdk-ea-bin, jdk-lts, jdk, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk8-openjdk)
- polkit (polkit-no-script-git, polkit-git, polkit-consolekit)
- git (git-vfs, git-git, git-run-command-patch-git) (make)
- gradle (make)
- java-environment (java-gcj-compat, zulu-10-bin, jdk12-openj9-bin, zulu-12-bin, jdk12, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jdk10-openj9-bin, jdk14-openj9-bin, jdk7, zulu-14-bin, amazon-corretto-15, jdk11-openjdk-dcevm-conflicts-fixed, zulu-embedded-jdk8, sapmachine-jdk-bin, amazon-corretto-16, jdk8-graalvm-bin, jdk16-graalvm-bin, jdk8-openjdk-shenandoah, zulu-16-bin, jdk11-graalvm-ee-bin, jdk16-adoptopenjdk, jdk11-microsoft-openjdk, jdk16-microsoft-openjdk, jdk11-msopenjdk-bin, jdk18-beta-temurin, jdk8-arm, jdk17-jetbrains, liberica-jdk-11-bin, liberica-jdk-11-lite-bin, liberica-jre-11-bin, jdk11-jetbrains-imfix, java-openjdk-loom-ea-bin, jdk17-dragonwell-bin, jdk7-j9-bin, jdk7r1-j9-bin, jdk8-j9-bin, jdk11-j9-bin, jdk-jetbrains, jdk11-jbr-xdg, jdk12-openjdk, jdk15-openjdk, jdk16-openjdk, jdk13-openjdk, jdk14-openjdk, jdk-bcl, amazon-corretto-18, zulu-18-bin, zulu-13-bin, bishengjdk-17, jdk-arm, jdk11-openj9-bin, jdk-openj9-bin, jdk-openj9, jabba-bin, zulu-15-bin, zulu-embedded-jdk, jdk-jbr-xdg, jdk-openjdk-xdg, jdk-openjdk-xdg-bin, zulu-embedded-jdk11, jdk-microsoft-openjdk, jdk18-openjdk, jdk17-openj9-bin, jdk11-jetbrains-bin, liberica-jdk-8-full-bin, liberica-jdk-17-full-bin, liberica-jre-11-full-bin, liberica-jdk-11-full-bin, jre-jetbrains, jdk8-dragonwell-extended-bin, jdk8-dragonwell-standard-bin, jdk11-dragonwell-extended-bin, jdk11-dragonwell-standard-bin, jdk17-dragonwell-standard-bin, jdk8-dragonwell-extended, jdk18-openj9-bin, jdk8-openj9-bin, jdk8, jdk11, jdk-android-studio, amazon-corretto-8, amazon-corretto-11, amazon-corretto-19-bin, amazon-corretto-17, zulu-8-bin, zulu-11-bin, zulu-17-bin, zulu-19-bin, jdk11-temurin, jdk17-temurin, jdk-temurin, jdk17-graalvm-ee-bin, java-openjdk-bin, liberica-jre-8-full-bin, jdk11-graalvm-bin, jdk17-graalvm-bin, jdk19-graalvm-bin, liberica-jdk-full-bin, jdk8-adoptopenjdk, jdk17-jetbrains-imfix, jdk17-jetbrains-bin, java-openjdk-ea-bin, jdk-lts, jdk, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk8-openjdk) (make)
- unzip (unzip-natspec, unzip-zstd) (make)
Required by (20)
- blc-git (requires ghidra)
- ghidra-desktop (requires ghidra)
- ghidra-extension-emotionengine-git (requires ghidra)
- ghidra-extension-gamecube-loader-git (requires ghidra)
- ghidra-extension-ghidra-cpp-class-analyzer-git (requires ghidra)
- ghidra-extension-ghidra-cpp-class-analyzer-git (requires ghidra) (make)
- ghidra-extension-ghidra-firmware-utils-git (requires ghidra)
- ghidra-extension-ghidra-firmware-utils-git (requires ghidra) (make)
- ghidra-extension-ghidra2dwarf (requires ghidra)
- ghidra-extension-gotools-git (requires ghidra)
- ghidra-extension-gotools-git (requires ghidra) (make)
- ghidra-extension-kaiju-bin (requires ghidra)
- ghidra-extension-stm8-git (requires ghidra)
- ghidra-extension-stm8-git (requires ghidra) (make)
- ghidra-extension-switch-loader-git (requires ghidra)
- ghidra-extension-vmlinux-loader-git (requires ghidra) (make)
- ghidra-extension-vmlinux-loader-git (requires ghidra)
- ghidra-gekko-broadway-lang-git (requires ghidra)
- ghidra-xtensa-bin (requires ghidra)
- ret-sync-ghidra-git (requires ghidra)
Sources (5)
class101 commented on 2021-06-03 09:25 (UTC) (edited on 2021-06-03 09:46 (UTC) by class101)
⚠ Since the
class101 commented on 2021-05-20 20:08 (UTC)
You are welcome ;) I have enabled the gradle v7.x support as it seems to compile now, let me know if it is causing troubles. I have also imported a fix from origin/master to fix the build failure.
algebro commented on 2021-04-28 00:16 (UTC)
Awesome, thanks for responding quickly and packaging up that version of gradle. Also thanks for the recommendation on paru
, I had not heard of it and didn't know the backstory there.
class101 commented on 2021-04-27 23:04 (UTC) (edited on 2021-04-27 23:11 (UTC) by class101)
Yes I have seen this, fixed now.
I have added aur/gradle6
you can install with yay/paru -S gradle6
(can be installed near community/gradle
, I made sure should not conflict
Btw Paru is just a recommendation, it is made by the main committer of Yay, he made up Paru from scratch because yay was too problematic. Yay had bugs like it was missing commit update on -git packages, no more happening now with Paru, you can see it in the popular packages.
algebro commented on 2021-04-27 19:32 (UTC) (edited on 2021-04-27 20:53 (UTC) by algebro)
openjdk version "11.0.11" 2021-04-20
The issue doesn't appear to be related to yay--it does the same thing with makepkg
Update: It seems to be related to this: https://github.com/NationalSecurityAgency/ghidra/issues/2949
I downgraded from gradle 7 to 6.8.3 and it builds now--just a heads up
class101 commented on 2021-04-27 17:03 (UTC) (edited on 2021-04-27 17:15 (UTC) by class101)
@algebro
What version of openjdk are you using ? I suspect it is because your openjdk is not supported (not your fault I'm currently allowing openjdk11+ while it is not really good practice to go against the developer advice to use openjdk11)
I found it useful to allow a higher version of openjdk but I may have to force it to openjdk11 to avoid such unknown errors. The proper approach is probably
- openjdk11 as a makedeps
- openjdk>=11 as rundeps
Like that I'm not forcing openjdk11 to be installed, and it can be auto removed as makedeps by the aur helpers.
Note: I notice you are using yay :) Maybe you want to try paru, is the successor of yay
algebro commented on 2021-04-27 16:59 (UTC)
Got a build error today for some reason:
FAILURE: Build failed with an exception.
* Where:
Script '/home/algebro/.cache/yay/ghidra-dev/src/ghidra/gradle/helpProject.gradle' line: 62
* What went wrong:
A problem occurred evaluating script.
> Could not find method helpIndexCompile() for arguments [javax.help:javahelp:2.0.05] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Any ideas on how to troubleshoot?
class101 commented on 2021-04-22 16:18 (UTC)
@encounter
No problems, you are welcome :)
encounter commented on 2021-04-22 16:14 (UTC)
Hi @class101,
I integrated a lot of your changes back into ghidra-git, and credited you as a contributor.
I adopted the package from another maintainer and wasn't aware gradle/support/fetchDependencies.gradle
was a thing. Thanks!
class101 commented on 2021-04-17 19:03 (UTC)
@algebro
Thank you for your feedback, I hope you like the improvments I have made to it. Now it just does what is recommended on the Ghidra developer's guide, I find it better to do this than to remake the wheel, this is also what crashed the previous build
Pinned Comments
class101 commented on 2021-04-17 15:02 (UTC) (edited on 2021-06-03 09:48 (UTC) by class101)
⚠ Since the
origin/debugger
branch has been merged into theorigin/master
branch, from now, please useaur/ghidra-git
⚠Latest changes :
aur/gradle6
to build (can be installed nearcommunity/gradle
)PKGBUILD
master file from scratch, there were a lot of unneeded and dirty things left since the fork ofaur/ghidra-git
--parallel
build (on core i7 or greater it takes 5min to compile everything at 100% cpu cores usage)By default, gradle uses the number of your cpu cores, but you can modify this if you pass the
-Dorg.gradle.workers.max=
parameter to gradleAdvice :
To speedup compression/decompression time, I suggest you to force makepkg to use ZST compression instead of XZ (archlinux official package are moving to this format, for the 0.8% size increase, you win more than 1000% in compression/decompression time)
ZST threaded compression is also a must to have
extra/devtools
>= 2.19 for a complete zst support/etc/makepkg.conf
--threads=0
toCOMPRESSZST
as in the following codeCOMPRESS*
variablesPKGEXT
andSRCEXT
to zst