From 576a78b4de02c4c6566c327d85c465554d293975 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 11 Nov 2026 12:49:15 -0300 Subject: design: the overflow as bytes; a minimap in each pane From the user. In the pair a frame is a dump of eight bytes a row read by its own fields, so each turn of the loop is one more letter and the letters are seen to cross from buf into the saved rbp and the return address, which reads as code until they reach it. Each pane with more than it shows carries its own minimap, a strip of its column of the map at four units a row with the pane's window outlined and what happens off the window marked there; the corner minimap is gone, and in the dive each column of the map folds into its pane's strip. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_016Y9MNCKgYCGiANnEwcEQxa --- design/mock/27-pair-store.svg | 67 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) (limited to 'design/mock/27-pair-store.svg') diff --git a/design/mock/27-pair-store.svg b/design/mock/27-pair-store.svg index 637f851..2161574 100644 --- a/design/mock/27-pair-store.svg +++ b/design/mock/27-pair-store.svg @@ -213,6 +213,73 @@ jmp 40114b the check: plain has nothing here + + + +plain · buf +the turn's byte +7fffffffec +d0 + +41 +41 +41 + +41 +00 +00 +00 +00 +buf[0..7] +"AAAA" +7fffffffec +d8 + +00 +00 +00 +00 +00 +00 +00 +00 +buf[8..15] +"" + + + +asan · buf +its shadow, read before the store +00 + +7bfff58f00 +20 + +41 +41 +41 + +41 +00 +00 +00 +00 +buf[0..7] +"AAAA" +00 +7bfff58f00 +28 + +00 +00 +00 +00 +00 +00 +00 +00 +buf[8..15] +"" Plain: one store. ASan: the address, its shadow byte (addr >> 3 + 7fff8000), a compare with 0, a branch; the partial check and the report only if it is not 0. -- cgit v1.3