From 3ee245ba5fbc1f847285259ca042f5dc80371717 Mon Sep 17 00:00:00 2001 From: Pascal Zittlau Date: Tue, 2 Dec 2025 17:46:28 +0100 Subject: [PATCH] successor trampoline shouldn't touch target one --- src/Patcher.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Patcher.zig b/src/Patcher.zig index 5bfdf18..b329b5d 100644 --- a/src/Patcher.zig +++ b/src/Patcher.zig @@ -426,6 +426,7 @@ fn attemptSuccessorEviction( flicken.size(), ); while (orig_pii.next(&patcher.address_allocator)) |orig_range| { + if (succ_range.touches(orig_range)) continue; try pages_made_writable.ensureUnusedCapacity(arena, touchedPageCount(orig_range)); patcher.ensureRangeWritable( orig_range,