Katy Coe
2459bcb4a6
IL2CPP: Add registration structs search via data heuristics
2020-07-27 21:16:44 +02:00
Katy Coe
a621e20b62
Metadata: Add static Sizeof helper
2020-07-27 21:11:43 +02:00
Katy Coe
613747fc9a
Implement mapping from file offset to virtual address (all file formats)
2020-07-27 21:10:59 +02:00
Katy Coe
59f5083235
C++: Add #pragma to disable MSVC C4369 enum range warnings
2020-07-25 16:55:40 +02:00
Katy Coe
cf6b64e0d2
C++: Add PlatformInformation and LoadResource as reserved symbols
2020-07-25 16:55:16 +02:00
Katy Coe
271a85b7f1
C++: Fix incorrect variable declaration of VirtualInvokeData struct for 5.3.6-5.4.6
2020-07-25 16:54:52 +02:00
Katy Coe
87519ba66f
Unity: Fix select only matching APIs in discovery instead of all in total version range
2020-07-25 15:54:18 +02:00
Katy Coe
de73cfe8c3
Unity: Add headers for Unity 2020.1.0
2020-07-25 14:55:03 +02:00
Katy Coe
1240fe3647
Unity: Fix types/API header version mismatch when binary is missing exports
2020-07-25 14:50:09 +02:00
Katy Coe
4473a5225c
Unity: Update type header names for 2018.4.25 and 2019.4.5
2020-07-25 05:09:47 +02:00
Katy Coe
f7263c8388
Unity: Fix incorrect API header name version ranges
2020-07-25 05:09:14 +02:00
Katy Coe
b075821092
Unity: Fix crash in GetTypeHeaderText() when VersionRange.Max is null (no upper bound)
2020-07-25 04:13:31 +02:00
Katy Coe
48005b4093
C++: Fix enum int top bit set compile errors in VS <= 2017
2020-07-24 17:41:40 +02:00
Katy Coe
cd75d5e877
C++: Add 'Sleep' as a reserved keyword
2020-07-24 17:40:30 +02:00
Katy Coe
44a5fe009a
C++: Output il2cpp-api-functions.h with unavailable exports elided
2020-07-24 17:20:37 +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
8bb40d98b2
Unity: Try really hard to find the best IL2CPP API header match for the binary
2020-07-24 17:01:13 +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
336648e8bf
C++: Enums with default underlying type did not respect 32/64-bit architecture size
2020-07-24 16:23:36 +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
53909c539c
C++: Improve parsing of #defines, #ifdefs, #ifs, function pointers
2020-07-21 16:20:44 +02:00
Katy Coe
3fd97649e6
IL2CPP: Ignore API exports starting "il2cpp_z_"
2020-07-21 16:19:47 +02:00
Katy Coe
2f3b0d7276
AppModel/IDA: Typed MethodInvokers for 5.3.0-5.6.7 don't use Il2CppMethodPointer
2020-07-20 22:48:40 +02:00
Katy Coe
83e94ebf28
Unity: Fix missing VirtualInvokeData for 5.3.6-5.4.6
2020-07-20 18:56:32 +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
4d45d99a8c
Include Il2CppAPIHeaders\* as embedded resources
2020-07-20 17:09:46 +02:00
Katy Coe
ccb401bb12
IL2CPP: Add Binary.GetAPIExports()
2020-07-20 17:09:19 +02:00
Katy Coe
8cd2d4ff4a
Unity: Add version range CompareTo, Intersect and handle no version upper bound
2020-07-20 17:06:25 +02:00
Katy Coe
63137e8859
FileFormatReader: Add TryMapVATR
2020-07-20 17:05:21 +02:00
Katy Coe
ea91c2b4ec
Extract assembly resource management from UnityHeader to ResourceHelper
2020-07-20 07:05:20 +02:00
Katy Coe
964685e44a
Extract Unity version range management from UnityHeader to UnityVersionRange
2020-07-20 06:39:29 +02:00
Katy Coe
e7d3600f67
Include all Unity il2cpp-api-functions.h versions
2020-07-19 21:27:29 +02:00
Katy Coe
4cb7f50f13
Update Unity header generation support to latest
2020-07-19 21:26:52 +02:00
Katy Coe
386a666fff
C++: Output DLL injection boilerplate project
2020-07-19 15:44:26 +02:00
Katy Coe
071b1efa67
C++: Generate Il2CppClass definitions for enum and array types
2020-07-19 15:43:50 +02:00
Katy Coe
f7d2dd6e2d
C++: Output method pointers and signatures
2020-07-18 21:47:33 +02:00
Katy Coe
81f12b3e5b
AppModel: Fix crash bug when building multiple times
2020-07-18 21:23:34 +02:00
Katy Coe
6d50ab7546
C++: Output Il2CppClass* (TypeInfo) pointers
2020-07-18 21:23:23 +02:00
Katy Coe
7124149fef
C++: Output IL2CPP API function pointers
2020-07-18 19:47:45 +02:00
Katy Coe
a2f6c3c5b6
PE: Fix offset bug in export table generation
2020-07-18 19:45:34 +02:00
Katy Coe
632d1d2d9b
C++: Generate output in a folder
2020-07-18 19:18:08 +02:00
Katy Coe
e74663a2ba
MachO: Add ability to fetch exports with GetExports()
2020-07-18 19:05:15 +02:00
Katy Coe
67b979cd05
ELF: Add ability to fetch exports with GetExports()
2020-07-18 16:07:59 +02:00
Katy Coe
7209fa74a5
IL2CPP: Remove unused Metadata.MetadataUsages property
2020-07-18 05:05:35 +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
2b1aff5bd1
C++: Preserve function name in CppFnPtrType.FromSignature
2020-07-18 03:32:23 +02:00
Katy Coe
d1501db903
IDA: Produced typed RuntimeInvoker methods
2020-07-17 04:29:38 +02:00
Katy Coe
fc313de0b2
IDA: Produce typed CustomAttributesCacheGenerator methods
2020-07-17 03:23:15 +02:00