Executing most scripts fail
Task Info (Flyspray) | |
---|---|
Opened By | Arvid Norlander (VorpalGun) |
Task ID | 75923 |
Type | Bug Report |
Project | Community Packages |
Category | Packages |
Version | None |
OS | All |
Opened | 2022-09-16 18:11:55 UTC |
Status | Assigned |
Assignee | Levente Polyak (anthraxx) |
Assignee | freswa (frederik) |
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:
- Load binary in CodeBrowser tool.
- Open script manager (green "play button" in the toolbar)
- Attempt to run many script in the Analysis category such as "CondenseFillerBytes.java".
- Observe failure in "Console - Scripting" output view.
- Open "Manage Script Directories" in the "Script Manager", this can be found in the toolbar of the script manager, upper right corner.
- Observe error status for some bundles.