Commit Graph

59 Commits

Author SHA1 Message Date
Dimitri A.
7c4db1b3b7 Upgrade build code for Gradle 8 to remove deprecated uses
Fixes build errors that appeared as warnings in Gradle 7:

* Configurations no longer allowed as Dependencies

* AbstractArchiveTask API Cleanup: Deprecated properties `baseName`, `extension`, `destinationDir`, and `version` have been removed in Gradle 8. Instead use `archiveBaseName`, `archiveExtension`, `destinationDirectory`, and `archiveVersion`.
https://docs.gradle.org/current/userguide/upgrading_version_7.html#abstractarchivetask_api_cleanup
2024-11-06 15:59:26 +01:00
Dimitri A.
9e2c2f5f16 Upgrade gradlew to 8.10.2
This is required as Ghidra 11.2 requires JDK 21.

This is needed as Ghidra 11.2 now requires JDK 21.

Per the [compatibility matrix][1], Gradle 8.5 added full support for JDK 21, and Gradle 8.10.2 (latest release) also fully supports JDK 22 and 23. (JVM 24 is not yet supported.)
2024-11-06 15:58:00 +01:00
Maschell
1c3894b9e6 Bump version 2024-06-29 17:35:24 +02:00
Maschell
5e1e6b6133 See a908bbeeb5 and 46a85fa5e6 2024-06-29 17:35:24 +02:00
SuperDude88
3d667024cc Use String Methods
- Revert length check, test for empty string

Needs a lot of parentheses but it works
2024-06-29 13:56:19 +02:00
SuperDude88
c4370fd256 Ghidra 11.0+ Fix
- Make sure "d" exists before we try to use it
- Check for length of 1 to actually catch empty strings
2024-06-29 13:56:19 +02:00
GaryOderNichts
19c77f28f8 Make sure spr names in slaspec match pspec 2024-02-18 10:18:43 +01:00
Maschell
ab05f572e4 Bump version 2023-11-01 18:39:00 +01:00
Maschell
2544ee63d4 Update the readme 2023-11-01 18:39:00 +01:00
Maschell
8abfbe2f59 Fix SPR for espresso 2023-11-01 18:39:00 +01:00
Maschell
ce97af456d Bundle language 2023-11-01 18:39:00 +01:00
Maschell
020809807f Build for Ghidra 10.4 2023-11-01 18:39:00 +01:00
Maschell
4ce82624c8 Add workflow, thanks Ghidra-GameCube-Loader 2023-07-26 12:19:19 +02:00
Maschell
34b4eafe08 Bump version 2023-07-26 12:19:19 +02:00
Maschell
dffb4228a4 Use gradlew 2023-07-26 12:19:19 +02:00
GaryOderNichts
992817018a Ghidra 10.3 support 2023-07-25 21:49:51 +02:00
Maschell
fc59d1cfb9 Add Ghidra 10.2.1 support 2022-11-12 14:04:14 +01:00
Maschell
39fd646f53 Ghidra 10.0.1 support 2021-07-23 14:13:53 +02:00
Maschell
fb3ec7fe28 Only get the ElfSectionHeader in the RelocationHandler if it's not a special section header index to avoid a ArrayIndexOutOfBoundsException 2019-10-11 14:47:48 +02:00
Maschell
0005907547 Update the gitignore 2019-10-11 13:38:37 +02:00
Maschell
8f506864bd Update the Readme 2019-10-11 13:38:24 +02:00
Maschell
cb1f85fdf7 Update the module information 2019-10-11 13:35:28 +02:00
Maschell
9930b34783 Set the address to the external functions/locations to null to fix the "Go to External Location" features for imports 2019-10-11 13:35:18 +02:00
Maschell
9d4a4fdcfb
Merge pull request #4 from exjam/improve
Improve RPL loading
2019-10-03 13:05:09 +02:00
James Benton
08707def0e Update README.md to recommend the Gekko/Broadway language spec. 2019-10-03 11:58:35 +01:00
James Benton
55e72815e3 Zero the data in imports and exports section to prevent analysis marking strings. 2019-10-03 11:55:13 +01:00
James Benton
3275fe9c7f Improve data references. 2019-10-03 11:55:13 +01:00
James Benton
3eda80f7c5 Prefer Gekko processor but fallback to normal PowerPC if not present. 2019-10-02 21:30:57 +01:00
James Benton
dc715cfb81 Fix some compiler warnings. 2019-10-02 20:46:41 +01:00
James Benton
088a2ca0ed Force .rodata section to be read only. 2019-10-02 20:46:41 +01:00
James Benton
8155a56707 Set r2 to sda2Base and r13 to sdaBase. 2019-10-02 20:46:41 +01:00
James Benton
f9f61cdf2a Create symbols for data exports. 2019-10-02 20:46:41 +01:00
James Benton
df0b8cd768 Optimise relocations by using getUniqueExternalLocation 2019-10-02 20:46:41 +01:00
James Benton
4603bdb986 Add support for data imports. 2019-10-02 20:46:41 +01:00
James Benton
f1b7a8f517 Rewrite RPL loading. 2019-10-02 20:46:41 +01:00
Maschell
a4de06bfac - Fix references to imports in big binaries
- Revert relocating symbols to 0x01XXXXXX
- Keep imports/exports sections
2019-03-11 00:24:24 +01:00
Maschell
b37a5e6b5c Improve the handling of data and function imports. 2019-03-10 17:32:09 +01:00
Maschell
1fca6ebc8f Minor code cleanup 2019-03-10 17:31:45 +01:00
Maschell
6d487f56c5 Use the correct symbol type. 2019-03-10 17:31:30 +01:00
Maschell
194e36f4c2 Wrap and improve the logging. It's the messages will be logged to System.out and the given TaskMonitor 2019-03-10 17:31:05 +01:00
Maschell
eba14fb8f5 Get the sections header names before converting the rpl/rpx to elf 2019-03-10 17:28:48 +01:00
Maschell
92a68e21fc Imports are now only listed in the import but not export section! 2019-03-10 03:35:01 +01:00
Maschell
81a082edb1 Add references to imports. Currently the imports are handled as data, but can be converted to functions manually. 2019-03-10 01:48:02 +01:00
Maschell
7066bed843 Only set CRC and FILEINFO sections to SHT_NULL 2019-03-10 01:43:15 +01:00
Maschell
30dd840300 Set a custom address for import symbols. 2019-03-10 01:42:43 +01:00
Maschell
3085d0b374 Don't save section data for the special sections. 2019-03-10 01:41:38 +01:00
Maschell
2f4362b159 Update the README 2019-03-08 19:25:41 +01:00
Maschell
f9bc953bd6 Now rpx/rpl files can be imported directly. 2019-03-08 19:22:40 +01:00
Maschell
a366f0eafc Fix size alignment 2019-03-08 18:05:47 +01:00
Maschell
389b710a73 Setting special sections to SHT_NULL 2019-03-08 18:05:30 +01:00