FS#75923 - [ghidra] Executing most scripts fail

Attached to Project: Community Packages
Opened by Arvid Norlander (VorpalGun) - Friday, 16 September 2022, 18:11 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
freswa (frederik)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Some (but not all) bundled scripts with ghidra give the following type of error when attempting to execute:

> Unable to locate script class: ResolveX86orX64LinuxSyscallsScript.java

If I look at "Bundle manager" in the script manager it displays "activating bundle: RESOLVE_ERROR -" as build summary for those bundles where the scripts fail.

This works correctly with upstream zip file.

Additional info:
* package version(s): ghidra 10.1.5-2. jdk17-openjdk 17.0.4.1.u1-2 (but jdk-openjdk 18.0.2.1.u0-1 is also affected).
* config and/or log files etc. There is no useful log output
* link to upstream bug report, if any: Works correctly if I just extract a zip of upstream ghidra 10.1.5. So this must be a packaging issue.

Steps to reproduce:
1. Load binary in CodeBrowser tool.
2. Open script manager (green "play button" in the toolbar)
3. Attempt to run many script in the Analysis category such as "CondenseFillerBytes.java".
4. Observe failure in "Console - Scripting" output view.
5. Open "Manage Script Directories" in the "Script Manager", this can be found in the toolbar of the script manager, upper right corner.
6. Observe error status for some bundles.

This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:04 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/ghidra/issues/1

Loading...