Commit Graph

32 Commits

Author SHA1 Message Date
Katy Coe
c758b122be AppModel: Don't rebuild on re-use if not necessary 2020-11-26 14:03:31 +01:00
Katy Coe
85ab34f569 C++: Include unused concrete types in scaffolding output (#71) 2020-09-21 20:56:19 +02:00
Katy Coe
fd4e61bacd AppModel/C++: Unused concrete value types were not included 2020-09-05 11:42:58 +02:00
Katy Coe
2024a3bfac AppModel: Add WordSizeBytes; tidy up a bit 2020-08-17 02:49:01 +02:00
Katy Coe
5f7218f7df IL2CPP: Encoded tokens in metadata v27 must be shifted right 1 bit 2020-08-16 02:35:33 +02:00
Katy Coe
945c978c9b AppModel: Silent build option 2020-08-15 02:38:24 +02:00
Katy Coe
95d88e60d7 AppModel: Build model by default in constructor 2020-08-15 02:34:19 +02:00
Katy Coe
3a22ac203a AppModel: Add AppModel.Image convenience property 2020-08-14 02:23:53 +02:00
Katy Coe
ca55125858 Rename AppModel.ILModel to AppModel.TypeModel 2020-08-14 02:18:53 +02:00
Katy Coe
38bbe4830d AppModel: Add GetVTableOffset(), GetVTableIndexFromClassOffset() 2020-08-13 07:59:15 +02:00
Katy Coe
ef853b6fd2 Model: Add AppModel.GetAddressMap() with cache 2020-08-11 07:36:53 +02:00
Katy Coe
e2289fb9c0 AppModel: Include all binary symbols in model 2020-08-09 19:54:43 +02:00
Katy Coe
32497364e5 AppModel: Don't crash on MetadataUsage MethodDef/Ref without prior method definition 2020-08-07 19:08:27 +02:00
Katy Coe
9966af0e73 AppModel: Prefer the latest Unity header versions instead of the earliest 2020-07-24 17:01:55 +02:00
Katy Coe
e0a6c8746e AppModel: Only populate API exports existing in both the binary and selected API header 2020-07-24 16:32:34 +02:00
Katy Coe
7e9c6b1ee0 AppModel: Implement APIExports with CppFnPtrType 2020-07-23 02:28:18 +02:00
Katy Coe
deeb8daa97 Unity/C++: Significant re-factoring of Unity header management (see description)
Extract resource handling to UnityResource
Add API header resource helpers
Fix UnityVersion ToString() when Min == Max
Replace fixed list of Il2Cpp header reserved names with parsed names from actual selected headers (solves TypeInfo/MemberInfo problems in 5.3.0-5.3.4 (metadata v16-20))
Use CppDeclarationGenerator when initializing CppTypeCollection to ensure all Il2Cpp header symbols are reserved
Process API headers in CppTypeCollection.FromUnityHeaders
Move #define IS_32BIT handling to UnityHeaders
Update tests
2020-07-22 19:01:33 +02:00
Katy Coe
e37de64839 AppModel/C++: Fix regression in handling of C# primitive pointer types 2020-07-20 18:15:41 +02:00
Katy Coe
964685e44a Extract Unity version range management from UnityHeader to UnityVersionRange 2020-07-20 06:39:29 +02:00
Katy Coe
81f12b3e5b AppModel: Fix crash bug when building multiple times 2020-07-18 21:23:34 +02:00
Katy Coe
f5e5037a9b AppModel: Add AppType.Name 2020-07-18 03:54:54 +02:00
Katy Coe
307cf29dcd C++: Re-factor custom attribute generator signature handling 2020-07-18 03:33:33 +02:00
Katy Coe
fc313de0b2 IDA: Produce typed CustomAttributesCacheGenerator methods 2020-07-17 03:23:15 +02:00
Katy Coe
bbfd370f49 AppModel: Add custom attribute generators 2020-07-16 17:16:23 +02:00
Katy Coe
0808fe966a AppModel: IDA output integration; item groups 2020-07-16 12:37:39 +02:00
Katy Coe
f41fd74baa AppModel: Include string literals for il2cpp versions < 19 2020-07-14 17:00:12 +02:00
Katy Coe
ef043383fc AppModel: Handle .NET unmapped pointer type definitions 2020-07-14 16:56:30 +02:00
Katy Coe
b9612676ed AppModel: Include string literals in model 2020-07-13 20:23:07 +02:00
Katy Coe
6e796a200f AppModel: Generate composite type mappings 2020-07-13 19:52:04 +02:00
Katy Coe
20d0ffcdfe AppModel: Move C++ type ordering to model 2020-07-13 17:55:32 +02:00
Katy Coe
6015d9e0ab AppModel: Add initial handling of methods (AppMethod) 2020-07-12 19:32:12 +02:00
Katy Coe
873a6c98f6 AppModel: First iteration of ApplicationModel API
Integrate with C++ scaffolding
Add new tests
Rename Il2CppModel to TypeModel
Incomplete IDAPython integration
CLI and GUI support
Update README.md
2020-07-09 03:48:50 +02:00