Commit Graph

24 Commits

Author SHA1 Message Date
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