594 Commits

Author SHA1 Message Date
Katy Coe
973c368dea C++: Fix incorrect Debug x86 .sln config (#66) 2020-09-11 13:37:15 +02:00
Katy Coe
d26b2d91a8 C++: Types with enum fields will be output in a way that preserves alignment (#62) 2020-09-10 16:06:35 +02:00
Katy Coe
4a2cc55cb6 C++: Handle C and C++ versions of enum type definitions correctly (#62) 2020-09-09 19:06:09 +02:00
Katy Coe
a548fbb4f6 C++: Disable C4359 for 32-bit scaffolding 2020-09-09 18:49:58 +02:00
Katy Coe
605734a020 C++: Add il2cppi_is_initialized() API to scaffolding 2020-09-09 17:54:27 +02:00
Katy Coe
2c5e34c724 C++: Output *__TypeInfo double-indirected to avoid having to call init_il2cpp() repeatedly 2020-09-09 17:49:05 +02:00
Katy Coe
d81cf7fef6 C++: Write IL2CPP metadata version to appdata/il2cpp-metadata-version.h 2020-09-09 17:38:05 +02:00
Katy Coe
64c7310e28 C++: Add il2cppi_to_string() helpers
Refactor other helper names to il2cppi_*
2020-09-09 17:18:05 +02:00
Katy Coe
b327fdf341 C#: Fix indexer name corruption if length was not 4 characters 2020-09-09 14:13:50 +02:00
Katy Coe
f3ae5e79f2 JSON: Add arrayMetadata entry (currently Il2CppCodeGenModule *[]) 2020-09-06 05:23:57 +02:00
Katy Coe
e341f8886b Python: Allow creation of typed arrays in IDA and Ghidra 2020-09-06 05:23:28 +02:00
Katy Coe
fd4e61bacd AppModel/C++: Unused concrete value types were not included 2020-09-05 11:42:58 +02:00
Katy Coe
eba76fcf15 C++: Add many new reserved IDA keywords (#57, #62) 2020-09-02 09:18:19 +02:00
Katy Coe
671e028e37 Python: Don't use built-in 'type' as parameter name 2020-09-02 09:11:25 +02:00
Katy Coe
1368d06170 Python: Support Python 3 (for IDA 7.4+) (#57) 2020-09-02 09:10:19 +02:00
Katy Coe
dde0b74831 C++: Don't overwrite contents of user/main.* in scaffolding 2020-09-02 05:02:48 +02:00
Katy Coe
da1316586a IDA: Fix failure to process C header if script and binary folders differ 2020-09-02 04:51:07 +02:00
Katy Coe
54ac9d7c1a IL2CPP: Fix crash when loading Il2CppCodeGenModule with no concrete methods (#58) 2020-08-22 03:30:17 +02:00
Katy Coe
5828ed106b Model/C#: Provide FieldHasRVA flag; output metadata preview for static array initializer implementations (#59) 2020-08-22 03:14:11 +02:00
Katy Coe
6eeff59eb2 Update NuGet package version 2020-08-17 03:03:21 +02:00
Katy Coe
2024a3bfac AppModel: Add WordSizeBytes; tidy up a bit 2020-08-17 02:49:01 +02:00
Katy Coe
4b86087c7a Allow longs to call ToAddressString() (as well as ulongs) 2020-08-17 01:43:52 +02:00
Katy Coe
92d549081e C++: Correctly handle nested function pointer definitions 2020-08-17 01:14:29 +02:00
Katy Coe
ae44e2fce7 Python: Apply typed IL2CPP API function signatures to disassembly 2020-08-16 22:43:35 +02:00
Katy Coe
d892423829 JSON: Write APIs with full C++ signatures 2020-08-16 22:43:07 +02:00
Katy Coe
dcafd81ed2 JSON: Write all exports, not just API export symbols 2020-08-16 22:26:42 +02:00
Katy Coe
c9bd4187c2 IL2CPP: Fix metadata usage detection for v27 for 32-bit binaries 2020-08-16 21:47:59 +02:00
Katy Coe
246809c0a4 IL2CPP: Implement metadata usages for metadata v27 2020-08-16 04:18:17 +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
ec6066aa1d Model: Handle generic type definition fetch for metadata v27 2020-08-16 01:13:27 +02:00
Katy Coe
86dd475a56 C++: Fix bugs handling whitespace and typedef struct * 2020-08-16 01:08:18 +02:00
Katy Coe
2723657ee2 C++: Add headers for Unity 2020.2.0a19 (as Unity 2020.2.0) 2020-08-16 00:29:01 +02:00
Katy Coe
641f502ab8 IL2CPP: Reconstruct CustomAttributesGenerators for metadata v27 2020-08-16 00:09:14 +02:00
Katy Coe
abac509fbd IL2CPP: Correctly detect Il2CppCodeRegistration and Il2CppMetadataRegistration for metadata v27 2020-08-15 23:15:59 +02:00
Katy Coe
1f738a60c6 IL2CPP: Load metadata v27; mark broken areas with TODO 2020-08-15 06:28:48 +02:00
Katy Coe
0d9c01ecaa IL2CPP: Update structures for compatibility with metadata v27 2020-08-15 06:27:00 +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
7027f2e1cb Configure .csproj files for NuGet package 2020-08-14 04:54:48 +02:00
Katy Coe
99a7e2e8cb C#: Output async keyword for async methods (and suppress AsyncStateMachine) 2020-08-14 03:33:41 +02:00
Katy Coe
f08cfd573c C#: Output DefaultMemberAttribute if the type doesn't have an indexer 2020-08-14 03:20:56 +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
4dd3e7cb92 C++: Add GetType no-alias option and GetComplexType 2020-08-13 06:56:28 +02:00
Katy Coe
75de69e338 C++: Fix calculation of alignment for some structs 2020-08-13 06:56:05 +02:00
Katy Coe
8609523eba C++: Allow typedef aliases to be retrieved from CppTypeCollection indexer 2020-08-13 03:42:15 +02:00
Katy Coe
0c998de844 C++: Fix incorrect field alignment for 2/4/8-byte simple types 2020-08-13 03:41:49 +02:00