Commit Graph
363 Commits
Author SHA1 Message Date
Luke f92ff8bcc8 ELF/NSO: Fix bug in NSO loader, add RELR support (#607) 2026-08-17 22:29:28 +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 f1094bf1cb Decompiler: Method RGCTX, better array support, detect unknown generics via adjustor thunks 2026-08-08 23:30:42 +01:00
Sam Byass 4996fefbf4 Decompiler: Basic implementation of wasm support 2026-08-08 17:11:03 +01:00
Luke 2060ecaa4d optimize performance of simplifier and dominator calculation (#594) 2026-08-02 23:51:51 +01:00
BiscuitDev b20ca0d04f Lib: Fix v106 (#590) 2026-07-28 10:58:12 +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
Sam Byass 01c1748426 Lib: v107 and v108 support. Fix v106.1 support. 2026-07-19 17:52:46 +01:00
Sam Byass a39f49c1ee chore: Bump nuget packages 2026-07-04 21:58:08 +01:00
Xpl0itR a11487077c Remove static mutable state from WasmFile (#573) 2026-07-04 21:36:49 +01:00
Sam Byass 18bbf0d5a3 chore: Code cleanup 2026-07-04 19:58:38 +01:00
Mahmoud Rusty Abdelkader 2a7fbfe53a Fix NullReferenceException reading exported types on metadata v24.0 (#568) 2026-07-04 19:40:51 +01:00
ada-l0velace 1d66cb3812 Diffable fieldrva literals (#572) 2026-07-04 19:40:12 +01:00
Xpl0itR 30256772f9 Refactor Il2CppBinary and related components (#539) 2026-06-20 17:28:32 +01:00
Jeremy Pritts 5d99a946db Fix some build warnings (#562) 2026-06-20 17:16:08 +01:00
Aaron Robinson 9b6e67d1f9 Add support for exported type definitions (#554) 2026-06-08 00:08:33 +01:00
Sam Byass 9af44d53a0 Fix 106.1 support 2026-06-07 23:17:50 +01:00
Sam Byass 70164e0ea9 Speculative v106.1 support 2026-06-07 23:02:27 +01:00
Sam Byass 0d98cd5334 Fixes from #542 2026-06-07 17:27:39 +01:00
Proteus fd2b5a050f Full codereg search and multiple output formats (#511) 2026-06-07 14:41:47 +01:00
Xpl0itR 9f6b2f6d76 Remove static mutable state from LibCpp2IL 2: Electric Boogaloo (#542) 2026-06-07 14:14:35 +01:00
Sam Byass b7afe78311 Lib: Add more supported dynCall offset calculations 2026-05-02 18:50:40 +01:00
Sam Byass 646dde05a6 feat: net10 2026-04-26 16:37:11 +01:00
Sam Byass 19fa6efe7a chore: Update build script and copyrights 2026-04-01 00:04:53 +01:00
Sam Byass 10db0e546f feat: Mfuscator decryption plugin 2026-03-31 16:54:38 +01:00
Xpl0itR 72c306a275 light refactor of binary and metadata initialization (#533) 2026-03-29 23:24:48 +01:00
Sam Byass 17635fa733 Lib: attempt to continue if elf file symbols are broken 2026-03-22 03:25:41 +00:00
Sam Byass ea01f905fb lib: reduce usage of static state 2026-03-22 03:25:41 +00:00
Xpl0itR d396ef3114 Add NuGet packaging metadata and publish workflow
Add package metadata and SourceLink to plugin projects. Update CI workflow to add publish steps for each plugin NuGet package. Also set ContinuousIntegrationBuild in LibCpp2IL to ensure CI-specific packaging behaviour.
2026-03-16 12:54:38 +00:00
Xpl0itR 653a683fd2 Add index/offset accessors to Il2CppMetadata
Introduce utility accessors to Il2CppMetadata for retrieving entries by index or by offset. Adds methods for nested type indices, interface indices, property definitions, method definitions, and field definitions (both index- and offset-based), complementing existing range helpers and reducing manual index arithmetic when parsing metadata.
2026-03-16 12:54:13 +00:00
ds5678 c849bf353f Remove try catch in Il2CppBinary::TryMapRawAddressToVirtual 2026-03-16 12:51:19 +00:00
ds5678 d38e4c552a Fix bug in TryMapVirtualAddressToRaw
Previously, it could return true with invalid output because only one error code was being checked.

This also fixes the behavior in PE::MapVirtualAddressToRaw for when no section is found.
2026-03-16 12:47:19 +00:00
ds5678 a39f439f92 Initialize arrays as empty when count is zero
Ensure _codeGenModuleMethodPointers, _codegenModuleRgctxRanges, and _codegenModuleRgctxs are always initialized, even when their respective counts are zero, by assigning empty arrays. This prevents potential null reference issues.
2026-03-08 17:21:14 +00:00
Sam Byass c16ead4916 Lib: Fixes to v104-v106 impl
Closes #522
2026-02-28 15:47:46 +00:00
ds5678 62eff2b552 Remove implicit operator 2026-02-26 19:40:54 +00:00
ds5678 c79bc4c910 Add implicit conversion operator from Il2CppVariableWidthIndex<T> to int 2026-02-26 19:40:54 +00:00
Sam Byass 58fc404ac5 lib: Add debug assert to ensure the bug with a missing dynamic index doesn't happen again 2026-02-15 13:33:19 +00:00
Sam Byass 4672b69a08 lib: Fix enum base type handling on v35+
Fixes #519. Fixes #518
2026-02-15 13:19:07 +00:00
Sam Byass afb36079e2 lib: Fix issue on v38+ when Il2CppType index width is not 32 bits.
Fixes #517
2026-02-15 12:58:28 +00:00
Sam Byass 8c34e0497a lib: (untested) support for v105 + v106 2026-02-14 21:29:07 +00:00
Sam Byass 281ce3fe95 lib: (untested) support for v104 2026-02-14 20:37:53 +00:00
Sam Byass e7ef9fa0d5 Lib: Support v35, v38, v39 2026-02-14 17:41:57 +00:00
ds5678 5061821cfb Improve handling of endianess
* Use BinaryPrimitives instead of BitConverter
* Add IsLittleEndian property to EndianAwareBinaryReader
* Remove byte array allocations for reading big endian primitives
2026-02-14 13:48:54 +00:00
Victor 07cc02c271 Fix metadata version not populated, breaking all past versions 2026-02-14 13:43:20 +00:00
Sam Byass 6ee2710eff chore: Bump all dependencies 2025-12-24 14:32:16 +00:00
ds5678 5e7e18b7b6 Fix warnings 2025-12-24 14:22:57 +00:00
ds5678 41cf6aeb71 Bump package versions
* AsmResolver
* AssetRipper.CIL
* AssetRipper.Primitives
2025-12-24 14:20:08 +00:00
Wither OrNot 8478bd6063 Fix incorrect address translation at segment boundary 2025-12-24 14:16:48 +00:00
ds5678 b23ddf500c Add back GetTypeFromDefinition 2025-06-01 17:27:28 +01:00
ds5678 4d1eccb01f Improve Il2CppType handling 2025-06-01 17:27:28 +01:00