Commit Graph
714 Commits
Author SHA1 Message Date
dependabot[bot] cae273a255 Bump Microsoft.SourceLink.GitHub from 10.0.301 to 10.0.400 (#602)
Signed-off-by: dependabot[bot] <[email protected]>
2026-08-19 11:53:29 +01:00
dependabot[bot] c68d1fbad1 Bump AssetRipper.CIL from 1.3.1 to 1.3.2 (#600)
Signed-off-by: dependabot[bot] <[email protected]>
2026-08-10 16:12:50 +01:00
Jeremy Pritts 0098bae630 Remove ModuleDefinition parameters from ContextToTypeSignature (#599) 2026-08-10 01:43:51 +01:00
Sam Byass edee922680 Decompiler: Handle box and icall lookup by name, remove rgctx loads and leftover metadata init calls to reduce errors in the output 2026-08-09 23:08:05 +01:00
Sam Byass 31af2e89bd Decompiler: Fix regression which made many called generic methods turn into a throw 2026-08-09 21:39:42 +01:00
Sam Byass 7586718ee8 Decompiler: Fix return register issues with CallVoid, fix missing call/init metadata thunks, fix generic field offsets, resolve icalls 2026-08-09 20:43:21 +01:00
Sam Byass a295653064 Core: Workaround thread safety issue with AssetRipper.CIL 2026-08-09 17:10:10 +01:00
Sam Byass ae62110d7b Decompiler: Implement x86 division support, add modulo operation support, resolve calls to CRT math operations 2026-08-09 16:45:34 +01:00
Sam Byass 3a72cf6ad0 Decompiler: Better method RGCTX handling 2026-08-09 15:57:35 +01:00
Sam Byass 3b75f3dc0c Core: Remove all AsmResolver importer calls, they're not needed any more 2026-08-09 15:57:24 +01:00
Sam Byass a64be49494 Decompiler: Boolean logic and constant-folding 2026-08-09 01:13:09 +01:00
Sam Byass 43f73d15c3 Decompiler: Better float handling 2026-08-09 00:31:03 +01:00
Sam Byass f1094bf1cb Decompiler: Method RGCTX, better array support, detect unknown generics via adjustor thunks 2026-08-08 23:30:42 +01:00
Sam Byass 9c6c017297 Decompiler: Fix static fields checking constants, fix user stream heap corruption, remove inlined write barriers, fix some constructor calls 2026-08-08 21:18:34 +01:00
Sam Byass 4996fefbf4 Decompiler: Basic implementation of wasm support 2026-08-08 17:11:03 +01:00
Sam Byass 9f4d13adec Decompiler: Make throw-helper recovery not x86-specific, too 2026-08-08 15:35:13 +01:00
Sam Byass f9af90d020 Decompiler: Fix typeof/GetType weirdness 2026-08-08 15:12:12 +01:00
Sam Byass d612cb3dd7 Decompiler: Remove assumptions of x86, bring arm64 up to parity, speed up analysis 2026-08-08 14:32:22 +01:00
Sam Byass 366fc3992b Core: Cleanup KFA logging, fix arm64 KFAs taking ages to find 2026-08-08 13:29:24 +01:00
Sam Byass ec412b35d2 Core: Bump disarm 2026-08-08 13:29:05 +01:00
gompoc 4371ecb361 x86: Lea instruction fixes (#597) 2026-08-06 13:45:38 +01:00
Jeremy Pritts 1dfeeddc4e Fix pre-v29 attributes (#596) 2026-08-03 23:11:09 +01:00
Sam Byass 34a512de38 Decompiler: Handle arrays of structs, struct return buffers, interface method calls 2026-08-03 23:09:52 +01:00
Sam Byass b44ca12267 Decompiler: Fix incorrect handling of jmp <reg> causing stack to never settle 2026-08-03 13:51:02 +01:00
Luke cb993837c6 More analysis performance improvements (#595)
* make ThrowHelperNamesByAddress thread safe

* check if we actually have to reset sources in ResetSources

* SsaForm: make Rename iterative

* CopyCoalescer: only process potentially changed blocks in ComputeBlockLiveOut
2026-08-03 13:49:21 +01:00
Luke 2060ecaa4d optimize performance of simplifier and dominator calculation (#594) 2026-08-02 23:51:51 +01:00
Sam Byass 35707d64ca Decompiler: Support szarray, virtual calls, address of local, plus clean up ILSpy output by adjusting the IL 2026-08-02 23:23:26 +01:00
Sam Byass 2d085901ae Decompiler: Remove implicit null checks, resolve fields on generics, resolve generic methods which aren't in the metadata by address if we can 2026-08-02 15:17:08 +01:00
Sam Byass a87d484b95 Decompiler: Stop having operands be raw object-typed 2026-08-02 14:12:15 +01:00
Sam Byass 8cdb1c2ece Decompiler: Fix operand setting not invalidating sources, leading to invalid cast exceptions 2026-08-02 13:22:19 +01:00
Luke c5464a9696 Analysis performance improvements (#592) 2026-08-01 19:14:05 +01:00
dependabot[bot] db0bd01b1b Bump AsmResolver.DotNet from 6.0.0 to 6.0.1 (#589) 2026-07-28 10:57:02 +01:00
Sam Byass 3381214fc4 Decompiler: Recover static fields, throw helpers, and rgctx, fix bool flags, fix this param in IL, fix float handling somewhat 2026-07-25 23:48:16 +01:00
Sam Byass 776c5f1d42 Decompiler: Recover delegate invokes 2026-07-25 20:24:46 +01:00
Sam Byass 034f873e7d Decompiler: Find and remove write barriers 2026-07-25 17:47:06 +01:00
Sam Byass d0e3628e88 Core: Fix dll_il_recovery being completely broken 2026-07-25 16:58:41 +01:00
Sam Byass 17bcb005f7 Core+Lib: Stop using Il2CppTypeReflectionData in most places, it's not a good data type.
Also fixes silent coercion of SZArray types to Array[1] in various places in analysis
2026-07-25 16:21:39 +01:00
Luke 21402fc2b9 StackAnalyzer fixes (#588) 2026-07-25 15:41:19 +01:00
Trevor 5cebc0d9c1 Support overriding EnumUnderlyingType (#587) 2026-07-25 15:28:22 +01:00
Jeremy Pritts 7f25c1da26 Support overriding default values for method parameters (#586) 2026-07-25 15:28:08 +01:00
ada-l0velace 9bfa655d65 GetTypeName: include generic type arguments (#582) 2026-07-19 15:42:37 +01:00
gompoc 8784e9143f Isil: Add simple conversion test for x86 (#585) 2026-07-19 15:39:35 +01:00
ada-l0velace 383592734f Fix ARM64 ADRP page-relative address calculation (#576) 2026-07-15 16:25:54 +01:00
dependabot[bot] dd5d11f733 Bump Microsoft.SourceLink.GitHub from 10.0.300 to 10.0.301 (#580) 2026-07-15 16:24:16 +01:00
Jeremy Pritts bacfb4aa22 Diffable CS improvements (#577) 2026-07-12 23:38:18 +01:00
Jeremy Pritts 5ef1a1957c Remove reference assembly parameter from most type analysis constructors (#575) 2026-07-06 12:36:12 +01:00
gompoc b1cb5091b2 IL Gen: Omit Methodinfo param for method calls (#574) 2026-07-04 22:19:20 +01:00
Sam Byass fc79c41c41 Core: Drop explicit net7 and net6 TFMs
Note these are still usable via the netstandard TFM so this doesn't break any use cases, but several packages were warning about not being tested on these TFMs.
2026-07-04 21:59:36 +01:00
Sam Byass a39f49c1ee chore: Bump nuget packages 2026-07-04 21:58:08 +01:00
Sam Byass 72be7f30fd Core: Fix the possibility that other methods could see a partially-constructed GIT.
Closes #569
2026-07-04 21:00:31 +01:00