Commit Graph

303 Commits

Author SHA1 Message Date
Katy Coe
7b4fefea3c Tests: Add nested generic constraint tests to GenericTypes 2019-11-16 21:36:43 +01:00
Katy Coe
b862fd99de Output: Implement --comment-attributes option 2019-11-16 21:33:49 +01:00
Katy Coe
0c259836c7 Output: Give methods that don't return void "=> default" 2019-11-16 21:12:02 +01:00
Katy Coe
7de9451e7c Output: Don't output generic constraints from outer types on inner types 2019-11-15 06:09:41 +01:00
Katy Coe
00f094e921 Output: Static constructors cannot have an access modifier 2019-11-15 05:15:32 +01:00
Katy Coe
92b964cd9c Output: Escape special characters in C# strings properly 2019-11-15 05:14:49 +01:00
Katy Coe
e5e77ed791 CLI: Fix default metadata filename 2019-11-14 17:16:11 +01:00
Katy Coe
9d347c5807 Tests: Update all test results 2019-11-14 17:08:38 +01:00
Katy Coe
4f3c7c458a Update Bin2Object submodule (improved performance) 2019-11-14 17:07:48 +01:00
Katy Coe
6c1a56abbd IL2CPP: Fix duplicate key / key not found errors introduced in previous commit 2019-11-14 17:07:19 +01:00
Katy Coe
f1629824d7 Performance: Pre-calculate all method start and end pointers 2019-11-14 16:39:42 +01:00
Katy Coe
69d4ffa9d5 Performance: Pre-arrange custom attribute indexes for versions >=24.1 2019-11-14 05:04:03 +01:00
Katy Coe
9b79217a38 Output: Show offsets in metadata file for const fields and parameters with default values 2019-11-14 05:02:36 +01:00
Katy Coe
1fb013dcc2 Update Bin2Object submodule (improved performance) 2019-11-14 04:04:52 +01:00
Katy Coe
a880e8bd04 Calculate and output pointers to the end of each method 2019-11-14 02:44:56 +01:00
Katy Coe
312c2f8e66 Output: Add empty method bodies to non-abstract constructors and methods 2019-11-13 17:19:01 +01:00
Katy Coe
f5e98678bb IL2CPP: Load all Il2CppCodeGenModule method pointers into memory at init time 2019-11-13 17:12:31 +01:00
Katy Coe
885679e4bd Output: Show last type definition index in each image 2019-11-13 16:40:21 +01:00
Katy Coe
7c64e0a09c Add --suppress-metadata option 2019-11-13 15:55:18 +01:00
Katy Coe
69551c7f39 Update README.md 2019-11-13 05:34:30 +01:00
Katy Coe
0185570bac Output: Fix crash on single-file output when only the leaf filename is specified 2019-11-13 05:34:11 +01:00
Katy Coe
3674706fe8 CLI: Add --layout and --flatten command-line options 2019-11-13 05:13:04 +01:00
Katy Coe
5efa2bf523 CLI: Add --sort option for type definition output order 2019-11-13 04:36:09 +01:00
Katy Coe
587f9c732d Output: Add WriteFilesByNamespace, WriteFilesByAssembly, WriteFilesByClass 2019-11-13 04:35:44 +01:00
Katy Coe
fc6dbc6011 CLI: Switch from Microsoft CommandLine to CommandLineParser 2019-11-13 03:59:31 +01:00
Katy Coe
990a29b11c Update README.md 2019-11-12 23:03:22 +01:00
Katy Coe
50d602add4 Tests: Update all test results 2019-11-12 23:03:15 +01:00
Katy Coe
a5e4508e6f Output: Use C# namespace syntax 2019-11-12 23:03:05 +01:00
Katy Coe
144380c6d3 Output: Write preamble comment at top of code output 2019-11-12 21:05:37 +01:00
Katy Coe
3b6dee36ba IL2CPP: Fix versioning errors in Il2CppAssemblyNameDefinition and Il2CppAssemblyDefinition 2019-11-12 20:23:50 +01:00
Katy Coe
928ba16efc Fix crash for fixed buffers when the name of FixedBufferAttribute.FixedElementField is obfuscated 2019-11-12 18:33:13 +01:00
Katy Coe
8db9ffeccc Tests: Update all test results 2019-11-12 06:13:54 +01:00
Katy Coe
cec6c4aea7 Output: Include using directives for assembly-level attribute namespaces 2019-11-12 05:46:33 +01:00
Katy Coe
e83fc9fbb5 Tests: Fix Il2CppSharpDumper.WriteSingleFile reference in TestRunner 2019-11-12 05:40:12 +01:00
Katy Coe
268a10a950 Output: Emit using directives at start of C# output 2019-11-12 05:38:05 +01:00
Katy Coe
ae57e239bf Model: Simplify SelectMany() queries 2019-11-12 04:52:36 +01:00
Katy Coe
26d341db81 Model: TypeInfo.GetAllTypeReferences() and TypeInfo.DeclaredMembers 2019-11-12 04:19:52 +01:00
Katy Coe
fee6e02cb3 Output: Refactor code and fix spacing between code blocks 2019-11-12 02:08:31 +01:00
Katy Coe
2a05537c8f Update README.md 2019-11-11 23:45:19 +01:00
Katy Coe
612df92730 Tests: Update GenericTypes and all test results 2019-11-11 23:29:42 +01:00
Katy Coe
06ed21747e Model and Output: Implement generic type constraints 2019-11-11 21:48:04 +01:00
Katy Coe
0f8b1428e4 IL2CPP: Read generic constraints data 2019-11-11 20:44:10 +01:00
Katy Coe
29b4d82f82 Update README.md 2019-11-11 03:04:27 +01:00
Katy Coe
1850eb0eed Tests: Update all tests 2019-11-11 03:04:19 +01:00
Katy Coe
13ceaaf47a Output: Implement extension methods 2019-11-11 03:01:29 +01:00
Katy Coe
a026acf528 Output: Exclude Unity and UnityEngineInternal namespaces by default, include root namespace 2019-11-11 02:05:05 +01:00
Katy Coe
d6422baf45 Output: Write custom attributes in alphabetical order 2019-11-11 01:44:45 +01:00
Katy Coe
cbcec482b9 Model: Retrieve assembly-level custom attributes correctly 2019-11-11 01:38:14 +01:00
Katy Coe
734e88a07b Model: Make assembly definitions available 2019-11-11 01:37:51 +01:00
Katy Coe
e923a51fc0 IL2CPP: Read metadata v15 correctly 2019-11-11 01:33:03 +01:00