Commit Graph
1014 Commits
Author SHA1 Message Date
ghorsington 6f25c6e862 Fix bounds check in PageAllocator.Free 2021-01-05 22:55:40 +02:00
ghorsington 5ce78b3c53 Update all of Allocator to use native int 2021-01-05 22:55:40 +02:00
ghorsington 96e04e2816 Fix racing condition in some builds; clean up output 2021-01-05 22:55:35 +02:00
ghorsington 43af288bae Use dotnet build in Cakebuild 2021-01-05 22:54:45 +02:00
ghorsington 58f00f5bb9 Simplify allocator code with nint/nuint types 2021-01-05 22:54:45 +02:00
ghorsington 88e3dfb7e7 Update some code to use C#9 features 2021-01-05 22:54:45 +02:00
ghorsington 965d9ae1c8 Use net35 reference assemblies; use C# 9 2021-01-05 22:54:45 +02:00
ghorsington 7b67bf8b3f Update TlsAdapter to .NET Standard dep 2021-01-02 16:59:35 +02:00
ghorsington 7b5d42b411 Il2Cpp: Fix byref argument patching 2021-01-02 14:23:17 +02:00
ghorsington 6b8d50b77f Set TRUSTED_PLATFORM_ASSEMBLIES in IL2CPP build 2021-01-01 20:43:06 +02:00
ghorsington b0eb5cda46 Mark BepInEx.IL2CPP.Preloader.Chainloader private 2021-01-01 19:58:12 +02:00
ghorsington 07f815e8f0 make IL2CPPChainloader.Instance public 2021-01-01 19:53:24 +02:00
ghorsington 5020ed88f8 Port Paths.ManagedPath from BepInEx 5 2021-01-01 19:49:06 +02:00
ghorsington 41830415d3 Fix tests build target 2021-01-01 10:49:08 +02:00
Geoffrey Horsington a998ee044b Merge pull request #163 from BepInEx/feature-il2cpp-netstandard
WIP: Port Il2Cpp builds to .NET Standard 2.1
2021-01-01 10:42:26 +02:00
ghorsington b59868ff2b Update mono deps for Il2Cpp build 2020-12-31 14:17:38 +02:00
ghorsington 5a963e0bf7 Update tests to use .NET Core 2020-12-29 22:04:21 +02:00
ghorsington 54aa943247 Add .NET Standard 2.1 target to core libraries 2020-12-29 22:03:56 +02:00
ghorsington 45034b8aab Convert BepInEx.IL2CPP to .NET Standard 2.1 2020-12-29 22:03:23 +02:00
ghorsington 8376935e78 Update README 2020-12-28 23:17:27 +02:00
ghorsington 2ec93dd98a Add Il2Cpp.TlsAdapter 2020-12-28 23:15:06 +02:00
ghorsington 9c45b1ebcc Add FastNativeDetour detour helper 2020-12-28 23:14:17 +02:00
ghorsington 51c33538b4 Update HarmonyX to 2.3.1 2020-12-28 22:44:22 +02:00
ghorsington 8f4019d596 Update mono runtime in Il2Cpp builds
Includes binaries that allow to use more libraries like JSON.NET and
build plugins against .NET Standard 2.1
2020-12-23 17:47:25 +02:00
Bepis d2a0d3886e Fix .NET launcher, and some debugging issues 2020-12-15 00:24:51 +11:00
ghorsington 23ab09eac7 Report proper error when trying to patch autogenerated field access properties 2020-12-13 14:54:52 +02:00
ghorsington 6a7fa3368f DetourGenerator: include possible align area into trampoline generator 2020-12-13 11:37:57 +02:00
ghorsington cd28640819 Hide PageAllocatorException 2020-12-13 11:17:23 +02:00
ghorsington e574933145 Update HarmonyX to 2.2.0 2020-12-12 22:16:42 +02:00
Geoffrey Horsington 00fd0b5fc9 Merge pull request #157 from BepInEx/feature-memory-allocator
Page allocator for FastNativeDetour
2020-12-09 16:28:17 +02:00
ghorsington d2d0de9588 Replace 2-item array with a tuple 2020-12-09 16:23:00 +02:00
ghorsington 6c2ced06a7 Suppress inconsistent naming error 2020-12-08 19:32:42 +02:00
ghorsington 52482590f1 Clean up code 2020-12-08 19:30:29 +02:00
ghorsington b0d5344010 Implement memory mapper for macOS 2020-12-08 19:30:04 +02:00
ghorsington 471a16ab12 Implement memory mapper for Linux 2020-12-08 17:45:25 +02:00
ghorsington 878eb6f723 Replace MemoryMapper with simple enumerable 2020-12-08 17:45:07 +02:00
ghorsington 0d6c8057d6 Default build version to 0 if it's not defined 2020-12-06 22:31:21 +02:00
ghorsington 7d4bc5ddf4 Update README 2020-12-02 17:47:54 +02:00
ghorsington 30293c963b Write unhollower xref DB to unhollowed folder 2020-12-02 17:45:19 +02:00
ghorsington f8e1de2397 Don't copy unhollower libs during unhollowing 2020-12-02 17:44:46 +02:00
ghorsington 1c562d64c1 Update AssemblyUnhollower libs 2020-12-02 17:33:58 +02:00
Bepis 65512173ff Add unhollowed assemblies as preloader patcher targets 2020-12-03 02:02:29 +11:00
Bepis 44aa9f6410 Allow long-style version parsing for BepInPlugin 2020-12-02 23:55:41 +11:00
ghorsington 3092ae08ae Format code 2020-11-30 21:13:09 +02:00
ghorsington 00e919e6b1 Implement base Unix page allocator 2020-11-30 21:13:00 +02:00
ghorsington 0eaea28d33 Move page chunking to PageAllocator 2020-11-30 20:45:21 +02:00
ghorsington 4eacccd93f Start work on Unix page allocator 2020-11-30 20:24:51 +02:00
ghorsington a949c8d228 Split Unix allocator into OS-specific allocators 2020-11-30 19:54:24 +02:00
ghorsington 27247b410c Refactor Buffer -> Allocator 2020-11-30 19:03:23 +02:00
ghorsington 6acf202685 Clean up PageAllocator 2020-11-30 19:02:02 +02:00