Commit Graph

422 Commits

Author SHA1 Message Date
Katy Coe
007779df62 Model: Don't return duplicates or nulls in Model.Types
Prevents duplicates appearing in IDA Python script
2020-01-30 07:57:38 +01:00
Katy Coe
37f1c49828 Model: Ensure all TypeRefs are initialized with the model
Ensures that all types are output in the IDA Python script
Includes TypeRefs that aren't used in any type definition or member
2020-01-30 07:54:45 +01:00
Katy Coe
a1e332620c Move FileFormatReader.cs and Il2CppModel.cs 2020-01-30 06:44:03 +01:00
Katy Coe
9220799d56 Model: Fix ContainsGenericParameters behaviour for element types etc. 2020-01-30 06:32:31 +01:00
Katy Coe
a640d866ae Model: Types from TypeRefs should not have a definition or index 2020-01-29 10:20:36 +01:00
Katy Coe
a338196057 Model: Introduce TypeInfo.GetGenericArguments(), refactor handling 2020-01-29 10:14:41 +01:00
Katy Coe
871c368e49 Model: Implement GenericParameterPosition for TypeRefs 2020-01-29 08:46:46 +01:00
Katy Coe
a7027c886e Minor tidying up 2020-01-28 05:57:24 +01:00
Katy Coe
feed8aa378 IL2CPP: Load generic type/method instantiation signatures 2020-01-28 04:25:05 +01:00
Katy Coe
aafbfc946d IL2CPP: Fix incorrect resolution of FieldRefs in MetadataUsages 2020-01-28 00:30:47 +01:00
Katy Coe
8a27b45775 IDA: Output string literals correctly 2020-01-27 06:41:18 +01:00
Katy Coe
f41a98fc7c IL2CPP: Fix loading incorrect number of metadata usages 2020-01-27 06:20:58 +01:00
Katy Coe
d0583e83b7 Model: Handle string literals in GetMetadataUsageName 2020-01-27 02:55:26 +01:00
Katy Coe
9e6c7ccd36 IL2CPP: Load managed code string literals 2020-01-27 01:10:33 +01:00
Katy Coe
8e4859b563 Il2CPP: Don't attempt to read metadata usages on version < 19 2020-01-27 01:10:10 +01:00
Katy Coe
d9cedeca15 IL2CPP: Refactor metadata usage name discovery 2020-01-26 23:00:56 +01:00
Katy Coe
274f61d605 Minor re-factoring 2020-01-26 22:18:29 +01:00
Katy Coe
90f563f8d2 Output: Tidy up Il2CppIDAScriptDumper 2020-01-26 22:08:07 +01:00
Katy Coe
e75f3931fa Add copyright comments to Il2CppIDAScriptDumper.cs 2020-01-26 21:55:59 +01:00
Katy Coe
e2490fce44 Fix no IDA output when creating a Visual Studio solution 2020-01-26 21:54:28 +01:00
Katy Coe
ae5c2bee99 Fix C# code benchmark timing regression 2020-01-26 21:53:22 +01:00
Katy Coe
5a3e4d85ac Clarify IL2CPP image error message meaning 2020-01-26 21:46:20 +01:00
Katy Coe
eb930876a1 Update README.md 2020-01-26 21:44:05 +01:00
Katy Coe
248e49ead3 Update product info and add banner 2020-01-26 21:42:06 +01:00
Carter Bush
8045f2cfd7 Output: IDA Python script generation
IL2CPP: Implement MetadataUsages
2020-01-26 21:34:48 +01:00
Katy Coe
89a0b2e97f Update README.md 2020-01-21 04:01:32 +01:00
Katy Coe
024b390f25 Output: Suppress global::Locale when using --must-compile 2020-01-21 03:30:22 +01:00
Katy Coe
4c29821ee0 Add UnityEditor and JetBrains.Annotations to default ignored namespaces 2020-01-21 02:42:21 +01:00
Katy Coe
ff90ab7c96 Output: Add <ProjectReference> elements in .csproj files 2020-01-21 02:38:45 +01:00
Katy Coe
f01c20570b Output: Create Visual Studio .csproj files when using --project (Project References are not currently resolved) 2020-01-21 01:44:47 +01:00
Katy Coe
a136f49603 CLI: Add --unity-path and --unity-assemblies options 2020-01-20 23:11:30 +01:00
Katy Coe
c146c01134 Output: Add .csproj template resource 2020-01-20 23:10:57 +01:00
Katy Coe
05e83db383 Output: Give .sln file a default name when writing to root folder 2020-01-19 04:08:20 +01:00
Katy Coe
b4ab0036f0 CLI/Output: Add option to create Visual Studio solution (.sln) (no project files yet) 2020-01-19 04:03:14 +01:00
Katy Coe
f71e065968 CLI/Output: Add --separate-attributes option for assembly-level attributes 2020-01-19 02:59:59 +01:00
Katy Coe
7704c9f3d9 Model: Fix unscoped type names in files with no namespaces in scope 2020-01-19 02:57:24 +01:00
Katy Coe
3f00d2a3ad CLI/Output: Added "tree" layout option 2020-01-18 23:15:00 +01:00
Katy Coe
c144e361c6 Output: Fix crash regression with edge case explicit interface property output 2020-01-18 22:26:11 +01:00
Katy Coe
054b3641ca Output: Exclude AOT namespace by default 2020-01-18 21:32:20 +01:00
Katy Coe
adc52818fb Model: Detect and fix orphan property methods 2020-01-18 21:30:34 +01:00
Katy Coe
64b263bafb IL2CPP: Merge attribute and method pointers, improve attribute function end addresses 2020-01-18 20:28:53 +01:00
Katy Coe
ab15730e8e ELF: Fix function table addresses were not mapped to image (#15) 2020-01-18 04:59:32 +01:00
Katy Coe
30fd98b65a ELF: Fix incorrect DT_SYMTAB read offset (part of #15) 2020-01-16 19:24:35 +01:00
Katy Coe
140e31b206 Output: Fix crash outputting undefined enum value (use cast instead) (#11) 2020-01-06 11:06:14 +01:00
Katy Coe
0b868aae36 IL2CPP: Fix field offsets for certain 64-bit binaries (#10) 2020-01-06 08:54:52 +01:00
Katy Coe
a3fd260afc ELF: Ignore relocations into memory addresses not mapped from the image (part of #14) 2020-01-06 08:22:39 +01:00
Katy Coe
2b32d2535e Remove debugging output from TypeInfo.getScopedFullName 2019-12-14 14:05:10 +01:00
Katy Coe
22ab1c4afd Performance: Paralellize code generation by namespace, assembly and class 2019-12-14 14:01:04 +01:00
Katy Coe
e3058597f3 Output: Fix regression in truncation of interface names for explicitly implemented properties 2019-12-14 14:00:10 +01:00
Katy Coe
d8e5f20f2b Update Bin2Object (faster ReadObject for primitives) 2019-12-14 13:59:39 +01:00