Commit Graph

46 Commits

Author SHA1 Message Date
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
Maschell
d9cbfe31da Use the TaskMonitor 2019-03-08 18:04:29 +01:00
Maschell
721b0306a5 Use proper constants 2019-03-08 18:03:29 +01:00
Maschell
67786b9384 Add missing SectionHeaderTypes 2019-03-07 01:32:27 +01:00
Maschell
bda1baae37 Add missing directories. 2019-03-07 01:32:03 +01:00
Maschell
738ebe9c6a Hacky fix for the wrong imports relocations. 2019-03-07 01:30:14 +01:00
Maschell
2ddc46b43a Skip some special section (CRC and Fileinfo) 2019-03-07 01:29:06 +01:00
Maschell
86551bf306 Turn "convertRPX" into a static method 2019-03-07 01:28:04 +01:00
Maschell
9b626131c7 Align section size by 4. 2019-03-07 01:26:32 +01:00
Maschell
606f5ab7d3 First commit. 2019-03-06 14:56:59 +01:00