Commit Graph

151 Commits

Author SHA1 Message Date
Katy Coe
925dd99ff7 PS: Fix not using newest installed Unity version 2019-10-29 13:43:23 +01:00
Katy Coe
c1331af070 PS: Generate x64 test binaries 2019-10-29 13:40:21 +01:00
Katy Coe
2257bf8ad1 PS: Copy expected results of 2nd image in update-expected-results.ps1 2019-10-29 01:23:34 +01:00
Katy Coe
d0c7efcdd2 X64: Descend through first LEA pointer to Il2CppCodegenRegistration(void) 2019-10-29 01:16:49 +01:00
Katy Coe
e260a92f1b PE: Fix calculation of GlobalOffset 2019-10-29 01:15:48 +01:00
Katy Coe
858be5fa3e X64: Add stub code 2019-10-28 23:23:19 +01:00
Katy Coe
55ffc12348 PE32+: Get function table correctly 2019-10-28 23:23:07 +01:00
Katy Coe
c5d62330e5 Add PowerShell script to update expected test results 2019-10-28 22:42:18 +01:00
Katy Coe
f178acccbd Clarify file format output names 2019-10-28 22:42:02 +01:00
Katy Coe
be2bc858af Tests: Look for GameAssembly.dll in test folder 2019-10-28 22:13:39 +01:00
Katy Coe
1496bbb623 PE32+: Initial support 2019-10-28 22:13:20 +01:00
Katy Coe
94b87fa6f0 Match PE field names with official documentation 2019-10-28 21:40:23 +01:00
Katy Coe
a87c701f12 Include constructors in model (ConstructorInfo) 2019-10-28 04:20:06 +01:00
Katy Coe
6c41ce724e Don't add "<Module>" types 2019-10-28 03:23:19 +01:00
Katy Coe
2e256909a6 Refactor MethodBase / MethodInfo 2019-10-28 03:06:32 +01:00
Katy Coe
4e0f11bde4 Disambiguate field offset array; fix pre-v21.x field offset word size in 64-bit binaries 2019-10-27 23:04:07 +01:00
Katy Coe
c17f47cb71 ARM64: Pre-v21 support 2019-10-27 22:39:09 +01:00
Katy Coe
3abf5a9409 ARM64: Add sign extended 21-bit ADR support 2019-10-27 22:34:32 +01:00
Katy Coe
adb26aef9b Update README.md 2019-10-27 22:02:34 +01:00
Katy Coe
a0eb128dce Unlock experimental support for v16-20 2019-10-27 22:02:26 +01:00
Katy Coe
7467873d0a Implement two-step address load linear sweep for Thumb-2 functions 2019-10-27 22:01:48 +01:00
Katy Coe
b863cf74b8 MachO: Read __mod_init_func instead of LC_FUNCTION_STARTS 2019-10-27 22:00:48 +01:00
Katy Coe
1616699977 Separate TWord conversion logic from ElfReader.cs 2019-10-27 22:00:13 +01:00
Katy Coe
32662a10af Output address of matching function from code heuristics 2019-10-27 16:22:00 +01:00
Katy Coe
e5ccb385cf Add version attributes for metadata v16 and v19 2019-10-27 00:59:42 +02:00
Katy Coe
678f17a954 Don't crash in x86 ConsierCode when matching prologue but next opcode is not "lea eax, address" 2019-10-27 00:50:16 +02:00
Katy Coe
9ee2e7567c Fix x86 analysis based on ELF PLT 2019-10-26 15:18:55 +02:00
Katy Coe
3a66e59447 Remove ARMv7 A32 reliance on ELF global offset table 2019-10-26 13:56:19 +02:00
Katy Coe
2236764715 Fix incorrect use of GlobalOffset in ELF (WARNING: breaks some binaries from resolving) 2019-10-26 05:39:54 +02:00
Katy Coe
a8a9bd121f Output value of global offset, CodeRegistration and MetadataRegistration 2019-10-26 04:57:03 +02:00
Katy Coe
d79b5cf723 Implement two-step address load linear sweep for ARMv8 functions 2019-10-26 03:16:44 +02:00
Katy Coe
baf11e517a Add ELF64 support (load, relocations, symbol table, function table) 2019-10-26 00:42:08 +02:00
Katy Coe
729a4cc6a6 Add ARMv8 (A64 ISA) support 2019-10-24 00:59:07 +02:00
Katy Coe
65982c6dec Fix filename bug in TestRunner when comparing multi-image files 2019-10-24 00:47:56 +02:00
Katy Coe
1a3028087d Tidy up FileFormatReader stream access methods 2019-10-23 23:51:16 +02:00
Katy Coe
19127a6649 Fix losing top 32 bits of MethodInfo.VirtualAddress 2019-10-23 14:51:38 +02:00
Katy Coe
0441334947 Fix incorrect method virtual address output for 64-bit binaries in v24.2 2019-10-23 04:19:52 +02:00
Katy Coe
11af58f0db Fix incorrect read of generic type parameters in 64-bit binaries 2019-10-23 04:01:40 +02:00
Katy Coe
f7cf93f136 Fix bug reading 64-bit pointer array 2019-10-23 03:49:39 +02:00
Katy Coe
7e3777dddd Correctly process 64-bit data structures in IL2CPP binaries 2019-10-23 03:37:01 +02:00
Katy Coe
79b62e2566 Update BinObject submodule 2019-10-23 02:55:48 +02:00
Katy Coe
dda58af124 Add Mach-O relocation processing stub 2019-10-22 23:41:18 +02:00
Katy Coe
8299414fba Handle 64-bit Mach-O virtual address mapping correctly 2019-10-22 22:35:20 +02:00
Katy Coe
490736f68e Add Mach-O static symbol table analysis 2019-10-22 22:19:12 +02:00
Katy Coe
98d573d1c6 Add ARM64 stub 2019-10-22 21:09:09 +02:00
Katy Coe
b63c09bf4b Fix looking through code in wrong image of multi-image (UB) files for any except the first 2019-10-22 17:11:23 +02:00
Katy Coe
3e1326bb65 Fix regression added in eeb46c58 2019-10-22 17:02:54 +02:00
Katy Coe
48df3c42b3 Replace Exception with InvalidOperationException in Metadata.cs 2019-10-22 16:44:56 +02:00
Katy Coe
cc2e1b61a6 Don't prevent other exceptions on known architecture 2019-10-22 16:44:44 +02:00
Katy Coe
eeb46c5820 Fix x86 edge case bugs 2019-10-22 16:24:23 +02:00