Commit Graph
88 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 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 45034b8aab Convert BepInEx.IL2CPP to .NET Standard 2.1 2020-12-29 22:03:23 +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 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 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
Bepis 65512173ff Add unhollowed assemblies as preloader patcher targets 2020-12-03 02:02:29 +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
ghorsington 37aa81e996 Convert FastNativeDetour to use PageAllocator 2020-11-30 19:02:02 +02:00
ghorsington deabaac389 Add basic page allocator for Windows 2020-11-30 19:02:02 +02:00
ghorsington 35f582905a Add better doc for memory allocator 2020-11-30 19:02:02 +02:00
ghorsington 7491d608ff Refactor MemoryBuffer -> MemoryAllocator 2020-11-30 19:02:02 +02:00
ghorsington b1b3cd1d36 Add docs 2020-11-30 19:02:02 +02:00
ghorsington af038d2ae0 Start work on Windows implementation of memory buffer 2020-11-30 19:02:02 +02:00
ghorsington 33d488f3f4 Add initial MemoryBuffer API 2020-11-30 19:02:02 +02:00
js6pak c2ecba36e5 Update cake script to use msbuild instead of AssemblyInfo.cs 2020-11-16 09:27:36 +01:00
ghorsington b772bb6ef5 Set MonoMod platform before using it 2020-11-13 21:26:45 +02:00
ghorsington 3facf6a663 Move all versioning to shared project 2020-11-09 19:14:43 +02:00
ghorsington a49e599b15 Fix debug type 2020-11-09 18:42:06 +02:00
ghorsington 8a4f9e32b4 Fix build destination 2020-11-09 18:35:20 +02:00
ghorsington 441bec94f0 Fix migration issues 2020-11-09 18:33:34 +02:00