Commit Graph

153 Commits

Author SHA1 Message Date
Katy Coe
6e93d83c8b Update TODOs 2019-11-04 00:36:51 +01:00
Katy Coe
d8a020dc7a Inspector: Make custom attribute constructor pointers available 2019-11-04 00:26:02 +01:00
Katy Coe
f75e3614eb Model: Fix crash on invalid attribute index 2019-11-04 00:02:14 +01:00
Katy Coe
a82b3a7d73 Model: Fix returning wrong attribute index when no token match 2019-11-04 00:01:22 +01:00
Katy Coe
7351e339f0 Model: Initial framework for custom attributes 2019-11-03 22:25:38 +01:00
Katy Coe
7f398f40cb Model: Groundwork for custom attribute processisng 2019-11-03 06:44:50 +01:00
Katy Coe
defd553e0e Model: Add PropertyInfo.Definition and Index 2019-11-03 06:35:43 +01:00
Katy Coe
bec404d801 Model: Add ParameterInfo.Definition and Index 2019-11-03 06:34:00 +01:00
Katy Coe
614f5c0e01 Clean up TODOs 2019-11-02 18:48:44 +01:00
Katy Coe
509b0cb778 Model: Set IsGeneric* properties when creating type from IL2CPP_TYPE_GENERICINST 2019-11-02 18:43:22 +01:00
Katy Coe
b4e589f704 Model: Additional tweaks to type name properties 2019-11-02 18:33:02 +01:00
Katy Coe
a62b8bf800 Model: Add TypeInfo.ToString() 2019-11-02 17:55:56 +01:00
Katy Coe
5f8aced688 Model: Use + in FullName for nested types, no spaces between generic type parameters 2019-11-02 17:51:10 +01:00
Katy Coe
39fafb6c94 Model: Add GetAssembly, GetType, GetMethod, GetField, GetProperty helpers 2019-11-02 17:39:50 +01:00
Katy Coe
f3e9c27ae7 Model: Use square brackets for generic type parameters in FullName 2019-11-02 17:23:04 +01:00
Katy Coe
a0dae073d2 Model: Add 'Types' aggregate property 2019-11-02 17:11:18 +01:00
Katy Coe
fdab846710 Model: Handle generic methods and set DeclaringMethod 2019-11-02 01:44:09 +01:00
Katy Coe
a1046d6322 Model: Handle generic type parameter usages correctly 2019-11-01 17:41:44 +01:00
Katy Coe
364daf9dd8 Model: Handle generic type arguments in generic type declarations 2019-11-01 16:48:54 +01:00
Katy Coe
05bcf98dd3 Model: Handle generic type definitions correctly 2019-11-01 15:03:40 +01:00
Katy Coe
ac47c811be Output: Exclude root namespace by default 2019-10-31 23:35:58 +01:00
Katy Coe
dbc3ef40b0 Output: Move getParametersString into MethodBase/ParameterInfo 2019-10-31 23:23:52 +01:00
Katy Coe
3560661f9c Model: Re-implement the handling of Il2CppType 2019-10-31 17:40:33 +01:00
Katy Coe
70a541c36c Model: Handle nested types 2019-10-31 16:02:32 +01:00
Katy Coe
e26a47fd3a Rename Il2CppReflector to Il2CppModel 2019-10-31 01:21:43 +01:00
Katy Coe
d381b2ddda Model: Treat System.Decimal as a primitive type 2019-10-29 21:58:06 +01:00
Katy Coe
035a663484 Model: Give operator overloads and user-defined conversion operators the correct syntax 2019-10-29 21:44:43 +01:00
Katy Coe
26443f594a Model: Don't include backtick + digit at end of generic type names 2019-10-29 20:54:03 +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
b46565e833 X64: Auto-detect CodeRegistration and MetadataRegistration 2019-10-29 16:17:07 +01:00
Katy Coe
e92d0e5805 X64: Fix could miss first byte of opcode match 2019-10-29 13:44:03 +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
f178acccbd Clarify file format output names 2019-10-28 22:42:02 +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
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