From 6fb92d5384ba944b2d6a9c5066a08b41a8ef555f Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 15:17:21 -0300 Subject: design: a language of named blocks; the lens as a band over the whole context The README is now the catalogue: atoms, rows, panels, ties, the frame and the verbs, each block specified once under the name the code uses, with rules of composition and what is forbidden. From the user's notes on the context mocks: a lens is a band across the top, its drawing on the left and the bytes it is drawn from on the right, a hexdump with each field's bytes marked and read at the row's end; the disassembly is seventeen rows in address order with a source-line column and an annotation for what each row read, set or jumped to; a register is pinned to the node it points at by name; hex is unbroken; and four kinds of tie say which pane is a view of which (thread, link, projection, echo). --- design/mock/05-memory-write.svg | 558 ++++++++++++++++++++-------------------- 1 file changed, 279 insertions(+), 279 deletions(-) (limited to 'design/mock/05-memory-write.svg') diff --git a/design/mock/05-memory-write.svg b/design/mock/05-memory-write.svg index 1f37326..2ee87df 100644 --- a/design/mock/05-memory-write.svg +++ b/design/mock/05-memory-write.svg @@ -55,88 +55,88 @@ x86-64 -0 -0 -0 -0 -5 +0 +0 +0 +0 5 -d -4 -a -1 -c -0 +5 +d +4 +a +1 +c +0 1 1 6 d rip - - -0 -0 -0 -0 -7 -f + + +0 +0 +0 +0 +7 f -d -3 -a -2 -c +f +d +3 +a +2 +c 1 e 4 0 rax -0 -0 -0 -0 +0 +0 +0 0 0 0 0 -0 -0 -0 -0 +0 +0 +0 +0 +0 0 0 0 1 rdi -0 -0 -0 -0 -7 -f +0 +0 +0 +0 +7 f -d -3 -a -2 -c +f +d +3 +a +2 +c 1 e 3 0 rsp -0 -0 -0 -0 -7 -f +0 +0 +0 +0 +7 f -d -3 -a -2 -c +f +d +3 +a +2 +c 1 e 6 @@ -147,223 +147,223 @@ stack -from 7ffd 3a2c 1e30 · low addresses on top -+0 -+1 -+2 -+3 -+4 -+5 -+6 -+7 -as text +from 7ffd3a2c1e30 · low addresses on top ++0 ++1 ++2 ++3 ++4 ++5 ++6 ++7 +as text main 3a2c -1e30 - - - - - - - - - - - - - - - - +1e30 + + + + + + + + + + + + + + + + 3a2c -1e38 - - - - - - - - - - - - - - - - +1e38 + + + + + + + + + + + + + + + + 3a2c -1e40 - -48 - -65 - -6c - -6c - -6f - -2c - -20 - -77 -H -e -l -l -o -, - -w -buf +1e40 + +48 + +65 + +6c + +6c + +6f + +2c + +20 + +77 +H +e +l +l +o +, + +w +buf 3a2c -1e48 - -6f - -72 - -6c - -64 - -21 - -0a - -00 - -00 -o -r -l -d -! -· -· -· +1e48 + +6f + +72 + +6c + +64 + +21 + +0a + +00 + +00 +o +r +l +d +! +· +· +· 3a2c -1e50 - -00 - -3f - -9a - -c1 - -77 - -d2 - -8e - -5b -· -? -· -· -w -· -· -[ -canary +1e50 + +00 + +3f + +9a + +c1 + +77 + +d2 + +8e + +5b +· +? +· +· +w +· +· +[ +canary 3a2c -1e58 - -40 - -1e - -2c - -3a - -fd - -7f - -00 - -00 -@ -· -, -: -· -· -· -· -p +1e58 + +40 + +1e + +2c + +3a + +fd + +7f + +00 + +00 +@ +· +, +: +· +· +· +· +p 3a2c -1e60 - -00 - -1f - -2c - -3a - -fd - -7f - -00 - -00 -· -· -, -: -· -· -· -· -saved rbp +1e60 + +00 + +1f + +2c + +3a + +fd + +7f + +00 + +00 +· +· +, +: +· +· +· +· +saved rbp 3a2c -1e68 - -90 - -9d - -22 - -5e - -3c - -7f - -00 - -00 -· -· -" -^ -< -· -· -· -return to - +1e68 + +90 + +9d + +22 + +5e + +3c + +7f + +00 + +00 +· +· +" +^ +< +· +· +· +return to + __libc_start_call_main - - - + + + rsp @@ -374,28 +374,28 @@ -the same eight bytes, low byte first, as one number - -0 -0 -0 -0 -7 -f -f -d -3 -a -2 -c -1 -e -4 -0 - -= where -buf -starts +the same eight bytes, low byte first, as one number + +0 +0 +0 +0 +7 +f +f +d +3 +a +2 +c +1 +e +4 +0 + += where +buf +starts The pointer p is eight ordinary bytes on the stack. Read as one number, they are the address of buf. -- cgit v1.3