Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFound: GFileSystemFactoryFull (Ghidra 10.1+) #17

Closed
Vhati opened this issue Jan 19, 2022 · 4 comments
Closed

ClassNotFound: GFileSystemFactoryFull (Ghidra 10.1+) #17

Vhati opened this issue Jan 19, 2022 · 4 comments

Comments

@Vhati
Copy link

Vhati commented Jan 19, 2022

When adding the extension to Ghidra, I got an exception.

"Extension version for [...] is incompatible with Ghidra"

I edited "ghidra_amiga_ldr\extension.properties" to set "version=10.0" to "10.1.1" (Ghidra's current version) to see what would happen.
.
.
After installing the extension, restarting Ghidra, and attempting to import an Amiga executable, I get a different exception.

"ClassNotFoundException: ghidra.formats.gfilesystem.factory.GFileSystemFactoryFull"
.
.
The following discussion might help...

NationalSecurityAgency/ghidra#3781 (comment)

"[...] a non-standard GFileSystem (from a custom extension or plugin) installed that is built against the previous version of Ghidra."

"[...] the "GFileSystemFactoryFull" interface was deleted between 10.0 and 10.1. [...]"

"[...] GFileSystemFactoryByteProvider is the newer interface. There are a few methods on the base GFileSystem interface that have changed as well, to remove File / InputStreams from method signatures and replace them with ByteProviders. [...]"

.
Sorry I can't offer a PR for what's probably a trivial revision. This is my first time trying Ghidra.

@Vhati Vhati changed the title ClassNotFound: GFileSystemFactoryFull ClassNotFound: GFileSystemFactoryFull (Ghidra 10.1+) Jan 19, 2022
@lab313ru
Copy link
Owner

lab313ru commented Jan 19, 2022

Hi,

Upgrading to the new GHIDRA version is not that simple:) I'll try to update the loader during this week.

@lab313ru
Copy link
Owner

Check it: https://github.com/lab313ru/ghidra_amiga_ldr/releases/tag/v2.1

@Vhati
Copy link
Author

Vhati commented Jan 25, 2022

That seems to work. Thanks. 👍

I'm noobishly trying to glean the logic in a relatively simple AMOS game. The "defined strings" window shows hardcoded text, which is all consolidated in one section of the file. Ghidra's not finding the funcs that reference those strings though. No familiar landmarks in the disassembly. Maybe I should look into Amiga-based/UAE debuggers then, so I can pause and know where I'm at...

@nicodex
Copy link
Contributor

nicodex commented Jan 25, 2022

It's not that unusual that only the start of the table (separated by null-chars) has a xref, and the string is 'referenced' by the index or the offset...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants