Commit Graph

29 Commits

Author SHA1 Message Date
Katy Coe
d8a020dc7a Inspector: Make custom attribute constructor pointers available 2019-11-04 00:26:02 +01:00
Katy Coe
7351e339f0 Model: Initial framework for custom attributes 2019-11-03 22:25:38 +01:00
Katy Coe
05bcf98dd3 Model: Handle generic type definitions correctly 2019-11-01 15:03:40 +01:00
Katy Coe
70a541c36c Model: Handle nested types 2019-10-31 16:02:32 +01:00
Katy Coe
f7eb9395a5 Move method pointer logic from Model to Inspector 2019-10-29 20:53:22 +01:00
Katy Coe
98f18c0098 Inspector: Don't crash when field offsets are not mapped in image 2019-10-29 20:10:51 +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
a8a9bd121f Output value of global offset, CodeRegistration and MetadataRegistration 2019-10-26 04:57:03 +02:00
Katy Coe
1a3028087d Tidy up FileFormatReader stream access methods 2019-10-23 23:51:16 +02:00
Katy Coe
7e3777dddd Correctly process 64-bit data structures in IL2CPP binaries 2019-10-23 03:37:01 +02:00
Katy Coe
cc2e1b61a6 Don't prevent other exceptions on known architecture 2019-10-22 16:44:44 +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
ec0e771f5a Copy input stream before using 2019-10-22 00:37:38 +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
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
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
Katy Coe
6721d937c3 Output detected metadata version 2019-10-16 10:45:15 +02:00
Katy Coe
56e1e0372a Remove obsolete GetTypeName method 2017-11-22 15:34:45 +01:00
Katy Coe
0a0876c337 Fix some UTF-8 encoding bugs 2017-11-10 14:09:49 +01:00
Katy Coe
b6f34bf486 Update constants from Unity 2017.2 headers 2017-11-09 12:46:44 +01:00
Katy Coe
138c2cec48 Merge GetFieldOffsetFromIndex into Il2CppInspector ctor 2017-11-08 00:24:19 +01:00
Katy Coe
2a2617674a Collect field defaults into Il2CppInspector.FieldDefaultValue on load 2017-11-07 07:04:46 +01:00
Katy Coe
5890b0a1c1 Update copyright notices and using statements 2017-11-07 05:41:32 +01:00
Katy Coe
521f82ed4d Implement MemberInfo, FieldInfo, TypeInfo.DeclaredFields
Rename Type to TypeInfo
Add TypeInfo.CSharpName
Implement some generic types/parameters
Implement arrays
Remove obsolete Il2CppType.GetTypeFromTypeIndex
Implement enhanced Il2CppReflector.GetTypeFromTypeIndex (can create array and generic types on-the-fly from Il2CppType usages)
2017-11-07 05:31:52 +01:00
Katy Coe
0ab1b75ef4 Additional refactoring 2017-10-23 16:12:40 +02:00