Commit Graph

226 Commits

Author SHA1 Message Date
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
Katy Coe
9ab6d16dd0 Output an error when an unsupported CPU architecture is detected 2019-10-22 16:23:58 +02:00
Katy Coe
6075358dfe Update .NET Core publish policy to create trimmed single-file executables 2019-10-22 16:23:36 +02:00
Katy Coe
bfc6409526 Add startup banner to Il2CppDumper 2019-10-22 16:22:21 +02:00
Katy Coe
298db65a71 Add 64-bit Mach-O support 2019-10-22 15:42:11 +02:00
Katy Coe
e036151f4d Prepare for 64-bit support 2019-10-22 15:33:43 +02:00
Katy Coe
f78d7f8250 Update README.md 2019-10-22 00:41:38 +02:00
Katy Coe
9a260ef424 Remove unnecessary syntax in Il2CppBinary.Load 2019-10-22 00:38:04 +02:00
Katy Coe
ec0e771f5a Copy input stream before using 2019-10-22 00:37:38 +02:00
Katy Coe
c88f058a39 Process ELF32 relocations 2019-10-22 00:37:16 +02:00
Katy Coe
a8aa618aee Refactor ElfReader 2019-10-21 17:15:19 +02:00
Katy Coe
fde19c8972 Detect x64 and AArch64 ISAs in all binary formats 2019-10-21 14:31:09 +02:00
Katy Coe
e46cca08e0 All readers report format, endianness, word size and instruction set 2019-10-21 14:00:13 +02:00
Katy Coe
de7218602e Update System.ValueTuple 2019-10-21 11:07:45 +02:00
Katy Coe
3fb3b15d8f Refactor Il2CppBinary loads 2019-10-21 11:07:30 +02:00
Katy Coe
2ae0904226 Abstract binary file format detection into FileFormatReader.Load 2019-10-21 10:15:06 +02:00
Katy Coe
661d2c6ca7 Update README.md 2019-10-21 00:45:58 +02:00
Katy Coe
a1364010d3 Update .gitignore to ignore test folders 2019-10-21 00:29:29 +02:00
Katy Coe
5f26b2d6f0 Add NUnit test chassis and Powershelll test generator scripts 2019-10-21 00:28:52 +02:00
Katy Coe
982b4b168d Tidy up ElfReader 2019-10-21 00:12:51 +02:00
Katy Coe
bebfba4f46 Add symbol table search scaffolding and ELF32 implementation 2019-10-21 00:00:05 +02:00
Katy Coe
491735044c Target .NET Standard 2.1 and .NET Core 3.0 2019-10-20 19:48:40 +02:00
Katy Coe
227eb83b63 Recognize v24 metadata from later Unity 2018 versions ("24.1") 2019-10-20 18:59:59 +02:00
Katy Coe
41d6b45f3b Correctly handle valid virtual addresses not mapped to the image file 2019-10-16 18:30:30 +02:00
Katy Coe
38e04b72b7 Rename deprecated MethodPointers to GlobalMethodPointers 2019-10-16 17:18:43 +02:00
Katy Coe
3345d4566a Roll up Il2CppInspector.Binary and Il2CppInspector.Metadata 2019-10-16 17:00:30 +02:00