Commit Graph

48 Commits

Author SHA1 Message Date
LukeFZ
f1cb0d14a2 Export FieldInfo/FIeldRva contents into script metadata and import as comments 2023-12-02 08:27:12 +01:00
LukeFZ
a4528e5f55 Add FieldRva MetadataUsage type and fix current heuristic 2023-11-30 05:15:01 +01:00
LukeFZ
9f0d0476bb cache tyoes 2023-11-29 21:19:41 +01:00
LukeFZ
2d73e28cea Add fields to script export (PrivateImplementationDetails) 2023-11-29 19:59:48 +01:00
Katy Coe
71be0f2af2 Update year in copyright messages 2021-01-04 05:26:43 +01:00
Katy Coe
0ce0bbe74d Plugins: Add PreProcessBinary, PostProcessBinary, PostProcessAppModel 2020-12-29 21:32:54 +01:00
Katy Coe
b9409e7425 Plugins: Add hook TODOs 2020-12-21 23:02:32 +01:00
Katy Coe
c00b474f33 IL2CPP: Change metadata and binary to derive from BinaryObjectStream 2020-12-21 06:37:29 +01:00
Katy Coe
4e4f794376 IL2CPP: Handle ROT encryption of API exports 2020-12-10 21:25:13 +01:00
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
f3ae5e79f2 JSON: Add arrayMetadata entry (currently Il2CppCodeGenModule *[]) 2020-09-06 05:23:57 +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
26a4ee14e9 AppModel: Wrap AddressMap TypeInfo/TypeRef/MethodInfo in AppReference 2020-08-14 02:53:39 +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
0f3b31749b AppModel: Rename AppType.ILType to AppType.Type for consistency 2020-08-14 02:01:37 +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
f750000c90 Model: Preliminary attempt at populating AddressMap 2020-08-11 07:36:41 +02:00
Katy Coe
9e1de93c06 Model: Implement IDictionary in AddressMap 2020-08-11 03:46:07 +02:00
Katy Coe
fde68cacb9 Model: Add AddressMap boilerplate code 2020-08-09 20:45:36 +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
eb55e5b527 AppModel/C++/JSON/Script: Don't output generic method definitions (no compiled code) 2020-08-04 05:14:19 +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