diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 20:41:07 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 20:49:11 -0300 |
| commit | 0a13f5210756e5a42ebf983943d87a1922cda0e3 (patch) | |
| tree | d260d37783688233dbb9e7edf1fec7e45e7b1823 /design | |
| parent | 147cc03a90af3782936787bf1da54314a2a4e385 (diff) | |
| download | computeranim-0a13f5210756e5a42ebf983943d87a1922cda0e3.tar.gz computeranim-0a13f5210756e5a42ebf983943d87a1922cda0e3.zip | |
design: what a real program asked of the language
The SQLite scene needed blocks the catalogue had no name for; each is
placed. A dump is read by its type or by fields a scene gives it, rows
without one folding into a row that counts them; bytes that are no field
are loose; what a stop did not read is unread and what the kernel took is
given. Addresses and line numbers are as wide as the program needs. The
backtrace can be a lens's drawing, and a lens can change in place. A
continue is a verb of its own: registers strike in a wave, far windows
fade through and arrive without marks, frames two stops share slide. The
kernel's answer is filled before it travels. The calls tree has sizes
past ten leaves and folds past thirteen. Mocks 13 and 14 are two stops of
the SQLite recording.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diffstat (limited to 'design')
| -rw-r--r-- | design/README.md | 404 | ||||
| -rw-r--r-- | design/mock/13-sqlite-row-480.png | bin | 0 -> 32674 bytes | |||
| -rw-r--r-- | design/mock/13-sqlite-row.png | bin | 0 -> 229211 bytes | |||
| -rw-r--r-- | design/mock/13-sqlite-row.svg | 434 | ||||
| -rw-r--r-- | design/mock/14-sqlite-page-480.png | bin | 0 -> 37842 bytes | |||
| -rw-r--r-- | design/mock/14-sqlite-page.png | bin | 0 -> 234953 bytes | |||
| -rw-r--r-- | design/mock/14-sqlite-page.svg | 563 | ||||
| -rw-r--r-- | design/mock/context.py | 369 | ||||
| -rw-r--r-- | design/motion.md | 36 |
9 files changed, 1630 insertions, 176 deletions
diff --git a/design/README.md b/design/README.md index bb78f1e..71c1b81 100644 --- a/design/README.md +++ b/design/README.md @@ -49,7 +49,7 @@ this table. | | [`value`](#value) | anything that is not an address | by class: digit, number, negative, string, fd, flags, bool, char, unknown | | | [`arrow`](#arrow) | the sign between two things in a chain | `points`, `holds`, `more` | | | [`hop`](#arrow) | a `points` arrow and the address it leads to | | -| | [`byte`](#byte) | two hex digits of a dump | `number`, `pointer`, `allocator`, `unread`; `pad` | +| | [`byte`](#byte) | two hex digits of a dump | `number`, `pointer`, `text`, `loose`, `unread`; `pad` | | | [`mark`](#mark) | what happened to a thing | `current`, `armed`, `struck`, `held`, `read`, `trail`, `allocated`, `freed`, `fault`, `attention`, `unknown`, `kernel` | | | [`plaque`](#plaque) | a solid label under the current mark | `gold`, `chip` | | | [`pin`](#pin) | a register's or a variable's name at the thing it points to | `row`, `under` | @@ -59,16 +59,16 @@ this table. | | [`reg`](#reg) | a register and its chain | `rip` (with `flags`) | | | [`slot`](#slot) | a word of the stack and its chain | pins; `free` | | | [`insn`](#insn) | an instruction and its annotation | `current`, `ran`, `ahead`, `outside` | -| | [`line`](#line) | a line of source | `current`, `trail` | -| | [`bytes`](#bytes) | sixteen bytes of a dump and what they read as | field runs, marks per run | +| | [`line`](#line) | a line of source | `current`, `trail`; wide numbers | +| | [`bytes`](#bytes) | sixteen bytes of a dump and what they read as | field runs, marks per run; wide address | | | [`call`](#call) | one frame of the call chain | `row`, `span`; `newest` | | 3 panel | [`registers`](#registers) | all seventeen | | | | [`stack`](#stack) | a window on the newest frame's words, and the frames they belong to | 8 or 6 slots | -| | [`backtrace`](#backtrace) | the call chain as rows | in the `none` split; the view of `calls` | +| | [`backtrace`](#backtrace) | the call chain as rows | in the `none` split; the view of `calls`; a lens's drawing | | | [`source`](#source) | a window on the file | 14, 8 or 10 lines | | | [`disasm`](#disasm) | the instructions round the pc | 17 or 9 rows | | | [`lens`](#lenses) | a drawing of some state over the program column, and over the state column the pane it is a view of | `beside`, `subject` | -| | [`hexdump`](#hexdump) | memory, a `bytes` row a line | | +| | [`hexdump`](#hexdump) | memory, a `bytes` row a line | typed or by `fields`; `more` rows; `seen`; `given` | | | [`nodes`](#nodes) [`array`](#array) [`calls`](#calls) `heap` `syscalls` `pages` | the drawings a lens can hold | | | 4 tie | [`thread`](#4-ties) | the current line is these instructions | standing | | | [`link`](#4-ties) | this register points at that | for a step; rests as a `pin`; a stub when that is out of view | @@ -80,7 +80,7 @@ this table. | | [`veil`](#clock-and-caption) | page over what a beat does not touch, or a pace cannot show | | | | [`card`](#clock-and-caption) | a title, the legend: no program running | | | 6 verb | [`fire` `arm` `strike` `cool` `read` `extend` `link` `project` `travel` `advance`](#6-verbs) | what one block does | | -| | [`cascade` `run` `sprint` `establish` `scroll` `relayout` `visit` `say`](#6-verbs) | what a frame does | | +| | [`cascade` `continue` `run` `sprint` `establish` `scroll` `relayout` `visit` `say`](#6-verbs) | what a frame does | | ## 0. Tokens @@ -106,7 +106,7 @@ this table. | rule | `3a4a8a` | 2.2 | rules, quiet brackets | | bright | `fff8e8` | 17.6 | titles, a set flag, the newest frame's name | | primary | `eee6d2` | 14.9 | numbers, names of code, plain code | -| dim | `9aa6d9` | 7.8 | register names, an allocator's bytes, notes | +| dim | `9aa6d9` | 7.8 | register names, `loose` bytes, notes | | faint | `6a7ab8` | 4.5 | chain arrows, line numbers, a decimal beside its hex | | ink | `050a24` | | letters on a solid mark | @@ -227,16 +227,24 @@ Two hex digits in 24 units, on a pitch of 30; 12 more after the eighth. | Kind | Ink | Paper | | --- | --- | --- | -| `number`: a field that is not a pointer | primary | raised, one rect a field | +| `number`: a field read as a number, or left to the eye | primary | raised, one rect a field | | `pointer`: a field that is one | the region it points into | raised, one rect a field | -| `allocator`: between allocations | dim | none | -| `unread`: never observed | two 4-unit squares, faint | none | +| `text`: a field read as text | a string's | raised, one rect a field | +| `loose`: a byte of no field: the allocator's between allocations, a struct's padding, what lies past the thing the dump is of | dim | none | +| `unread`: not observed at the stop shown | two 4-unit squares, faint | none | -`pad`: in a little-endian word, the bytes above its highest non-zero byte -are at 45% toward the page: `70 10 b4 28` stands out of `00 00 00 00`, -and is the address `28b41070` read from the right. A mark covers the -bytes whose value changed, never more: see [`bytes`](#bytes). Mocks 9 -to 11. +`unread` is about the stop shown, not the recording: memory the +recording watches (the stack it records, a heap it tracks) is known from +its last observation; memory it does not watch is known only where that +stop read it ([`seen`](#hexdump)), and an older stop's bytes there are +drawn as unread, since they may be out of date. + +`pad`: in a number stored low byte first, the bytes above its highest +non-zero byte are at 45% toward the page: `70 10 b4 28` stands out of +`00 00 00 00`, and is the address `28b41070` read from the right; stored +high byte first (`big`), the zero bytes before its first non-zero one: +`00 03`. A mark covers the bytes whose value changed, never more: see +[`bytes`](#bytes). Mocks 9 to 11, 13 and 14. ### mark @@ -290,6 +298,12 @@ names, then a count. No box, no fill. left of the stub and the next right of it. When one leaves, the others stay where they are, and the next to come takes the free side. Two names never print in one place. +- **Names keep their order.** On a `row` pin the names are in pwndbg's + order of the registers (`rbp rsp`), variables after them. A name that + comes takes its place in that order and the others slide aside for it + (12 f, `standard`) before it lands; one that goes leaves, and the others + close up after (12 f). A travelling `rsp` is the same pin on every row + it passes. - **A pin is one thing.** One register or variable has one pin, and it travels between the things it points at: it never jumps, and is never in two places ([`travel`](#6-verbs)). @@ -344,7 +358,11 @@ the value.) A lane 112 wide for a `row` pin; the chain from 122, beginning with the slot's own address in stack ink with `lead`; room to 136 from the right -edge, which belongs to the [`call`](#call) spans. +edge, which belongs to the [`call`](#call) spans. A span's name is never +cut for a chain: on the rows its name sits on (one, or the two it +straddles), the chain's room ends 12 before the name begins, and the +chain is cut there by its own rule (`sqlite3BtreeInsert` beside +`7fffffffe980 → 7fffffffeb90 → 7fffffffec60 → …`). `free`: a word above rsp, which the stack has not reached. Shown only while the window is held still for the camera ([`visit`](#6-verbs)): its @@ -359,7 +377,7 @@ An instruction, pwndbg's way: what it is, and what its operands are now. | 2 | mark | a gold plaque 24 wide (current) or a trail bar 4 wide (ran) | | 31 | jump lane | a 2-unit line in trail gold from a jump that was taken to the row it landed on, head 7 by 8 | | 40 | address | code ink, `lead` | -| 134 | line | the source line this run of instructions came from, ranged right in three characters, faint; on the first row of each run only; gold and bold for the current line | +| 134 | line | the source line this run of instructions came from, ranged right in three characters, faint; on the first row of each run only; gold and bold for the current line. Wide numbers (see [`line`](#line)) widen it, and every column right of it moves by the extra: mnemonic, operands and annotation, the row's room 12 characters less for six digits | | 180 | mnemonic | keyword, bold | | 264 | operands | as the disassembler writes them, whole; a jump's or call's target is an `address` in code ink | | 564 | annotation | from 564, or a character after operands that run past it; a chain, cut at its far end by the chain's rule | @@ -407,6 +425,15 @@ the four code inks; 67 characters, then a faint `…`. `current`: gold plaque on the number, ember across. `trail`: the bar, for the last three other lines run. +**Wide numbers.** The number column is as wide as the program's largest +line number, three characters at least: sqlite3.c's 262 899 lines take +six. Everything right of the column moves by the extra (12 a digit), the +gold plaque widens by as much (50 + 12 a digit), and the text loses as +many characters (64 for six digits). The width is the program's, not the +window's, so a scroll across 99 999 does not shift the text. The +disassembly's `line` column follows the same width (see [`insn`](#insn)). +Mocks 13 and 14. + ### bytes A hexdump row. Its runs come from the types of what the program's @@ -418,11 +445,20 @@ bytes and a pointer 8, never two fields and never a store's width. | 7 | bracket | `quiet`, on a row that holds a drawn thing; `tie` when a projection ends here | | 18 | address | region ink, `lead`; at 60% on a row that holds no drawn thing | | 132 | sixteen `byte`s | on a pitch of 30, 12 more after the eighth | -| 640 | reading | what the runs read as, little-endian: a number ranged right in three characters; a pointer as `points` and its `address`; `NULL` dim; an allocator's run as a note in Go 18, faint | +| 640 | reading | what the runs read as, left to right, a character apart: a number in decimal (in its byte order); a pointer as `points` and its `address`, `NULL` dim; text in quotes, C's escapes, in a string's ink; a run left to the eye, or `loose`, as nothing; the chunk's size word before an allocation as a note in Go 18, faint (`malloc's: a chunk of 32`). Cut at the panel's edge with a faint `…` | + +**Wide address.** The bytes begin 12 after the address ends, and at 132 +at least: an address of up to eight digits leaves them at 132; the stack's +twelve put them at 174, and the reading at 682 (508 after the first +byte, as always). A dump sets this once, by the widest address in its +window, so its rows keep one column. The reading replaces a hexdump's text column: where bytes are text the reading is the text, in quotes; where they are a pointer it is the address, -so a little-endian pointer is read without leaving the dump. +so a little-endian pointer is read without leaving the dump. It is a list, +not a table: a page header's five numbers would not fit a pitch of three +characters, so no reading is ranged in a column, and two rows' readings +need not line up. Marks: `struck` (the paper solid vermilion, digits bold in ink) covers the bytes whose value changed between the two stops, inside one run, @@ -441,7 +477,9 @@ One frame of the call chain, in two forms. the slots that are the frame, and left of it the function's name, Go Medium 18; for the function a `calls` lens draws, its arguments as a call, `fib(4)`: two frames of one function are told apart, and the - digits are the ones on its node. + digits are the ones on its node. The name is whole up to 300 units + (`sqlite3PagerCommitPhaseOne`, 26 characters, is 240), then cut with + `…`; the chains beside it make room ([`slot`](#slot)). `newest`: gold bracket, bright name. Older: rule and dim. A frame that runs past the window has no serif at that end. - `row`, in a backtrace panel: `#n` at 12 (a gold plaque 40 wide on the @@ -479,7 +517,8 @@ address, `[rsp, rbp+16)`, its locals, saved rbp and return address. above rsp. - A push or a call moves the top with rsp: the rows slide one slot (18 f, as rows making room), at the memory level, before the new word is - armed. + armed. A window going farther than six slots (eight beside) fades + through instead ([`scroll`](#6-verbs)). - While the camera is on the stack the window holds still ([`visit`](#6-verbs)): pushes fill `free` slots in the middle of the frame, and rsp's pin climbs to them. @@ -491,14 +530,27 @@ rsp+48`), and `· the frames they belong to`. `call` rows, newest on top. A panel of its own in the `none` split, four and then a count, under the stack; the view panel of a [`calls`](#calls) -lens, seven; in the other splits the stack's spans carry it. +lens, seven; the drawing of a [`backtrace` lens](#lenses), eleven as +subject and five beside; in the other splits the stack's spans carry it. +More frames than rows: the oldest go, and the tag's note counts them, +`newest on top · 2 more`. + +On a stop far from the last (a [`continue`](#6-verbs)) the chain changes +as rows making room: the frames that end fade out (12 f); the frames both +stops share, counted from the oldest, slide to their new depth (24 f, +`glide`), their numbers changing at the middle of the slide; then the new +frames fade in (12 f), newest last. A frame's `#n` is its depth, not its +identity: the slide is what says it is the same frame. ### source A window on the whole file, scrolled by whole lines to keep the current line in its middle third. Fourteen lines; eight beside a lens (the loop in hand); ten when the lens is the subject. Tag: the file, and `lines 19 -to 26 of 42`. +to 26 of 42`. A line farther than a window away (another function in a +file of 262 899 lines) is not scrolled to: the window fades through +([`scroll`](#6-verbs)). Line numbers are as wide as the program's +largest ([`line`](#line)). ### disasm @@ -527,10 +579,17 @@ drawing is 296 and its view 200 ([the frame](#5-the-frame)). | `array` | cells, index pins, flights for a swap | a `hexdump` of the array's bytes, an element a run | 7 at camera scale | | `heap` | the heap to scale: chunks, bins | a `hexdump` of the chunk in hand | 4 at camera scale | | `calls` | a call tree under its caller, results on the shoulder | the `backtrace`; each node is also a `call` span on the stack, tied by `project`. Subject only: a tree needs the height | 12; 1 at camera scale | +| `backtrace` | the call chain itself, as `call` rows (eleven as subject): how the program came to be here, when that is the story and no one function's calls are | a `hexdump` by `fields` of what the newest call was handed (the struct an argument points at, a buffer), at its stop | 13, 14 | | `syscalls` | the kernel's side, on vellum: the calls so far, the call decoded, the bytes it holds | a `hexdump` of the buffer the call is given or fills; the `registers` that carried it, by `echo` | 3 at camera scale | | `pages` | the far view: pages, system calls over time | the mappings, a row each | 8 | | `hexdump` alone | bytes and their text | itself | 5, in its first-pass form | +A scene may change its lens where it stands: the drawing fades out (12 +f), then the next fades in (12 f) and its elements come in as at +`establish`; a view the two share stays. The split does not move, so this +is not a `relayout`: the backtrace gives way to the kernel's side when the +row reaches `pwrite64`. + **What a new lens must provide** to fit the frame: 1. A drawing that fits 856 by 116 (`beside`) and by 260 (`subject`). @@ -557,10 +616,45 @@ digits as its row in the dump. **Under** it, its pins. Marks on a half: ### hexdump `bytes` rows, sixteen a row, a window of the region kept round the rows -the step touches: five beside, seven as subject. Rows in address order; -a gap in the addresses is one row holding `more`'s three dots and the -count of rows left out. Tag: `its bytes`, the range shown, and the legend -of runs: each field's name in its bytes' ink, `malloc's`, `never read`. +the step touches: five beside, seven as subject. Rows in address order. +Tag: `its bytes`, then what the bytes are and where (`the heap, 28b41050 +to 28b410bf`; `pBuf: page 2 of t.db, at rsi`), and the legend of runs: +each field's name in its bytes' ink, `malloc's`, `never read`. + +Its runs come one of two ways. + +- **Typed**: from the types of what the program's pointers reach, as the + `nodes` and `array` lenses have them: a field of a struct, an element + of an array, the allocator's words between. +- **`fields`**: a region the scene names (a base, a length, the memory's + region ink) and the fields it gives it, each `at` an offset, `len` + bytes long, read as a `number` (low byte first, or `big`: high byte + first, as a file format stores it), a `pointer`, `text`, or `bytes`, + left to the eye: on raised paper with no reading. A byte of no field is + `loose`. A field is a run, cut where a row ends. This is how a real + program's memory is drawn when the debug info does not type it, or the + meaning is the file's and not the C's (an SQLite page). + +**`more`.** Rows that hold no field (a dump by `fields`), or a gap in the +addresses (a typed one), are one row: at the address column, `more`'s +arrow and three dots, then the count of rows it stands for in faint mono +20: `→ … 253 rows`. When the rows that hold fields are more than the +window, the window is kept round the rows the step or the caption is on, +and the field rows left out are `more` rows too, with their count: never +cut off at the panel's edge. + +**What a stop saw.** `seen`: of memory nothing watches, the part the stop +shown read (a debugger reads 32 bytes where a pointer leads); the rest is +`unread`, whatever an older stop saw there. `given`: the bytes a system +call was handed or filled, from the recording's capture of the call, as +the kernel took them. They come in over what the stop saw while the +kernel's work runs: dots to digits, 12 f, no strike (a value that was +always there, now known), the run framed as read while the kernel takes +it; at the next stop the program's own memory is shown again. + +**Marks** are for changes the viewer could have seen: a dump that comes +in after the step that changed it, or a window that faded to a new place +([`continue`](#6-verbs)), arrives with its values plain. ### array @@ -600,6 +694,54 @@ stack, and the two are tied twice: by digits (`fib(4)` beside the span, `4` on the node) and, on the step that makes or ends the call, by a [`projection`](#4-ties) from the frame's return address to the node. +**A larger tree.** The leaves share the drawing's width less the caller's +box: about 680 units between the first leaf's centre and the last's. A +leaf needs its disc and the result on its shoulder, and 6 between: 72 at +full size (24 left of its centre, 42 right), 54 small (18 left, 30 +right). + +| The run's tree | Drawn | +| --- | --- | +| up to 10 leaves, 5 levels (fib(5): 8 and 5) | full: discs 48, levels 46, badge 30 at 12 right and 42 up, mono 25 | +| up to 13 leaves, 6 levels (fib(6): 13 and 6) | small: discs 36, levels 38, the root's centre 60 under the tag, badge 24 at 6 right and 32 up, argument and result in mono 20 (the floor), edges 3 | +| more | small, and folded: when a call returns and the tree laid out for the whole run would need more than 13 leaves or 6 levels, finished subtrees fold, deepest first, until it fits | + +A **fold** is a finished call standing for its whole subtree: a done disc +with its result on its shoulder and under it, faint mono 20, how many +calls it hides, `+12`. It folds 18 f after its result is struck: its +children glide into it (18 f, `glide`), then the tree is laid out again +with it as a leaf and every node that moves glides to its new place (18 +f). A path deeper than six levels keeps its top three and its newest +three, the levels between drawn as one dashed edge (12 on 8) with the +count of calls on it, `… 9 calls`. Both are `more` for a tree: what is +left out is counted, never dropped. + +### syscalls + +The kernel's side, on vellum (solid vellum is the kernel): the calls so +far, newest on top, each with what it returned; the call in hand, +decoded: its name, its arguments by name beside the registers the call +takes them in (`rdi fd 3 "t.db"`), `returns`; and the bytes it was given +or filled, ten a row, two rows. Its view is a [`hexdump`](#hexdump) by +`fields` of the buffer, `given`. + +A **crossing** is a step that makes one system call; its timetable is +[motion.md's](motion.md#a-system-call). What it may claim: + +- A register is framed as carrying an argument only while it holds that + argument at the stop shown. Stopped in the caller of libc's wrapper, + `pwrite64`'s buffer and count are in rsi and rdx, but its descriptor is + not yet in rdi nor its offset in r10: those two are not framed, though + the kernel's rows name them. +- Nothing on the kernel's side changes before the arrow down arrives. + `returns` takes the value before the arrow back leaves, rax is struck + as it lands, and everything else the step changed (the registers the + wrapper and the call clobbered, pins, links, a result stored in memory) + waits for rax. +- A step that makes several calls (a continue through a library) is not + a crossing: the list takes them, oldest first, 2 f apart, each fading + in; the newest is decoded; no arrow, no bytes. + ## 4. Ties The panes are one machine at different levels. A tie says which thing in @@ -754,12 +896,13 @@ Frames at 60 a second. `s` is the frame a strike lands. Curves: | `travel` | a value, a card or a pin going from one place to another | `glide`. A value or card: 30 f to 200 units, 36 f to 400, 48 f beyond. A pin goes along its lane, 18 f after the strike that moved it: in a drawing 30 f to the next node or cell, 36 f to one farther; in the stack's lane 24 f to the next row and 2 f a further row, 36 f at most. A pin that comes fades in over 12 f rising 8 units; one that goes fades out over 12 f; a name joining or leaving a pin cross-fades over 12 f. On a `link` the pin rides the line's head instead. 8 f at a run; at a sprint only at a phrase's end | | `advance` | the current marks | last. The thread, the plaques and rip move together: 12 f to an adjacent row, 24 f up to eight rows, `standard`; farther, out and in over 6 f. A taken jump's line draws in the jump lane with it | | `cascade` | a step | `fire` (12); then its effects a level at a time, 18 f apart: CPU (`reg`s, the pc's annotation), memory (`slot`s, `bytes`), the idea (the drawing, by `project`); each armed, then struck; hold 36 f after the last strike and 12 f a further value, 84 at most; `advance`; rest 24 f. A level with nothing on screen to change gives up its slot | +| `continue` | a stop far from the last: a breakpoint, not a step | `fire` on the line it leaves from; then the levels as in a `cascade`, but CPU is a wave: every register that changed is struck 2 f after the one above it, in pwndbg's order, the fill in over 6 f, no arm and no pulse (a dozen pulses at once are a flash, and a dozen arms a crowd); memory: the stack's window scrolls or fades to its new place, and the [backtrace](#backtrace)'s frames leave, slide and arrive; the idea; hold 36 f after the last strike; `advance`, the source and disassembly fading through if far; rest. Its marks are only on what was on screen to change | | `run` | steps that need not be read | 18 f a step; no fire, arm or pulse; the mark, cards, nodes and pins ease in 8 f; values change with an ember, never a solid; no ties but the thread. Registers, stack and disassembly are veiled from the first shortened step to the last; the source, the band and the clock are not. 24 steps at most | | `sprint` | steps to be got through | 4 f a step. The drawing grows and the clock sweeps; the source and the band's view are veiled as well; the mark and the pins move only at a phrase's end. Each change of pace ramps at 0.6 of the step before | | `establish` | a scene's opening | done by 54 f: the panels fade in, 18 f each, 6 f apart (registers, stack, source, disassembly, the band's view, the drawing's panel: 0 to 48); from 30 f the drawing's elements fade in rising 8 units, 12 f each, 2 f apart in address order and all begun by 42 f, each with its row's quiet bracket (an `echo`: no lines). The first caption arrives at 60 f | -| `scroll` | a `source`, `disasm` or `stack` window | whole rows, 24 f, `glide`, before the level it makes room for; marks ride with their rows. A column's `lead` and the line numbers are the rows' on screen: they change on the scroll's first frame, never before | +| `scroll` | a `source`, `disasm` or `stack` window | whole rows, 24 f, `glide`, before the level it makes room for; marks ride with their rows. A column's `lead` and the line numbers are the rows' on screen: they change on the scroll's first frame, never before. A window going farther than its own height (ten lines, nine instructions, six slots) does not scroll, which would only blur: it fades out (12 f) and in at its new place (12 f), and what it brings comes in with no marks | | `relayout` | a change of split | the drawing fades out (12 f); every panel moves to its new box, clipped to the box as it moves (48 f, `glide`); the drawing fades in at its new size (12 f). Nothing else moves under it | -| `visit` | the camera | the target framed first (24 f), the rest veiled (18 f); the move 72 f, `glide`. The panel's tag and whole rows in frame, the rows the visit's steps change in its middle third, never at its edge; a stack visited holds its window still. 120 f at most without a change; back | +| `visit` | the camera | the target framed first (24 f), the rest veiled (18 f); the move 72 f, `glide`. The panel's tag and whole rows in frame, the rows the visit's steps change in its middle third, never at its edge; a stack visited holds its window still. A visit never veils or clears a panel a drawn tie starts or ends in: it waits until the tie has drawn back, or frames both ends. 120 f at most without a change; back | | `say` | the caption | out 12 f, gap 6 f, in 18 f; the numbers are under [caption](#clock-and-caption) | A step is as long as its content: 0.8 s when only the line moves, 1.5 s @@ -810,6 +953,9 @@ for a return across three levels, 2.7 s for a swap. card lifting before its bytes are struck, a result stored before the kernel returns it, a current mark moving before the hold. - A mark wider than what changed: bytes struck that kept their value. +- A mark on what the viewer could not have seen change: a window that + faded to a new place, a panel that came in after its step. +- A text scrolled farther than its window's height: it fades through. - A pin that jumps, two pins for one name, two names in one place. - A space inside a number. A row that wraps. Rows that reorder. - Anything hidden to make room: a row that cannot hold its chain ends in @@ -824,22 +970,25 @@ for a return across three levels, 2.7 s for a swap. ## The mocks -`mock/context.py` draws 9 to 12, one function a block under the block's +`mock/context.py` draws 9 to 14, one function a block under the block's name; `mock/gen.py` draws 1 to 8. Each has a `-480.png` beside it. ```sh cd design/mock -python3 -B context.py && for n in 09-context 10-context-step 11-context-lens 12-calls-subject; do +python3 -B context.py && for n in 09-context 10-context-step 11-context-lens 12-calls-subject \ + 13-sqlite-row 14-sqlite-page; do resvg $n.svg $n.png && resvg -w 480 $n.svg $n-480.png; done python3 -B gen.py # 1 to 8, then resvg the same way ``` | Mock | Is | Blocks it shows | | --- | --- | --- | -| [9](mock/09-context.png) | `beside`, at rest: moment 71 of `targets/list`, stopped at `mov rdi, [rdi + 8]` | every panel; the band as two panels; `address` with `lead`; `chain` cut by `more`; `reg`, rip with flags; `slot`, `pin` row; `call` spans; `insn` current, ran, ahead, outside, with the jump lane; `line`; `bytes` with number, pointer, allocator, unread and `pad`; `nodes` with pins under, two names on one; `thread`; marks current, held, trail | +| [9](mock/09-context.png) | `beside`, at rest: moment 71 of `targets/list`, stopped at `mov rdi, [rdi + 8]` | every panel; the band as two panels; `address` with `lead`; `chain` cut by `more`; `reg`, rip with flags; `slot`, `pin` row; `call` spans; `insn` current, ran, ahead, outside, with the jump lane; `line`; `bytes` with number, pointer, loose (the allocator's), unread and `pad`; `nodes` with pins under, two names on one; `thread`; marks current, held, trail | | [10](mock/10-context-step.png) | the same, mid-step | `struck` on rdi; `read` on the annotation, the run and the node's half (`echo`); `link` ending in rdi's pin, rax's name kept on its side; `projection` | | [11](mock/11-context-lens.png) | `subject` | the drawing 296 high and a size up, its view a dump of seven, nine instructions, six slots | | [12](mock/12-calls-subject.png) | `calls` as subject, mid-step: moments 752 to 753 of the fib scene, `fib(4)` calling `fib(2)` | `calls`: nodes current, waiting, done, the caller, results on the shoulder; the `backtrace` as its view, with arguments; `call` spans with arguments; the stack's window from rsp, six slots; a `projection` from the return address to the new node; `insn` with a call and its argument, a write, and operands of 27 characters whole | +| [13](mock/13-sqlite-row.png) | the `backtrace` lens, at rest after a `continue`: stop 120 of the sqlite scene, at `sqlite3BtreeInsert+4` | the backtrace as the band's drawing; a `hexdump` by `fields` of a struct on the stack: twelve-digit addresses, pointer fields and `NULL`, `loose` padding and the bytes past the struct, `pad`, two fields framed as the caption names them, the reading as a list; wide line numbers in the source and the disassembly; frame names whole, shortening the chains beside them; `held` on every register the continue changed, none on the stack's window, which faded in | +| [14](mock/14-sqlite-page.png) | `syscalls` as subject, at rest after the crossing: stop 169, `pwrite64` back in `unixWrite` | the kernel's side in the band; a page by `fields` as the kernel took it (`given`): big-endian numbers, bytes left to the eye, text, a `more` row of 253; the stack's window scrolled into the frame (`rsp+20 to rsp+48`), its span open above; flags and registers the crossing changed | | [1](mock/01-fib-recursion.png) | first pass | `calls` at camera scale | | [2](mock/02-list-insert.png) | first pass | `nodes` at camera scale; `allocated` | | [3](mock/03-syscall-write.png) | first pass | `syscalls`; `kernel` | @@ -857,23 +1006,27 @@ the band. - The `none` split, and the `backtrace` as a panel of its own. - `insn` annotations for a return, a system call, `not taken`, a jump out - of the window; operands giving way (none in 9 to 12 needs to). + of the window; operands giving way (none in 9 to 14 needs to). - `value` classes other than digit, small number and string. - `armed`, `fault`, `attention` and the veil in the context. - A `projection` from the dump for a write. A `link` to a `slot`, and its stub off the window. A variable's pin. -- The stack's window scrolled down a long frame, and held for a visit - with `free` slots. -- A struct wider than one `bytes` row; a gap in a dump; text in a dump. -- `array`, `heap`, `syscalls`, `pages` in the band. +- The stack's window held for a visit with `free` slots. +- `unread` field bytes at a stop that saw only part of a buffer (the page + at stop 167, before the kernel took it). +- A calls tree small or folded. +- `array`, `heap`, `pages` in the band. - `pin` with a count; `rwx`. - Every verb: the mocks are stills. `establish`, `link` and `project` have no chart from a render yet. -**The data in 9 to 12** is the recordings': registers, chains, stack, the +**The data in 9 to 14** is the recordings': registers, chains, stack, the instructions and their lines (12: `ztrace show` on `anim/zig-out/recordings/steps.ztrace`, lines from its binary by -`addr2line`). The frames' extents are read off the frame-pointer chain. +`addr2line`; 13 and 14: `ztrace show` on the sqlite scene's recording, +its source from SQLite's amalgamation, and the bytes of the struct and +the page as the scene's export shows them, the page's from the recording's +capture of `pwrite64`). The frames' extents are read off the frame-pointer chain. The dump's node bytes are what the chains and the program say the heap holds; its allocator rows are glibc's layout, with the word nothing reads drawn as never read. A recording made under ptrace has seen neither. The @@ -887,108 +1040,97 @@ still read. ## What this asks of the renderer -What the documents say and `anim/src` does not yet do, as read on 10 -November (`theme.zig` as of 15:30, the views as of 17:20; another round of -renderer work was under way); the tokens are under -[Token changes](#token-changes). +What the documents say and `anim/src` does not do, as read on 10 November +after the sqlite scene (`theme.zig` as of 18:00, the views as of 20:18); +the tokens are under [Token changes](#token-changes). The first five are +wrong by the language, not merely unnamed. -1. **The band as two panels.** `layout.Split` gets a `view` beside - `band`: the drawing over the program column and its view over the - state column, each with its own tag (`the list`; `its bytes`, the - range, the legend of runs). `nodes` and `array` draw in `band` and - `hexdump` in `view`; `calls` draws the tree in `band` and the - `backtrace` in `view`; `syscalls` the kernel's side in `band` and the - buffer's dump in `view`. A `relayout` moves both boxes. -2. **The `subject` split**: drawing 296 high, view 200 (seven rows), - source 10 at 356, disassembly 9 at 640, registers at 260, stack 6 at - 712. The test "the splits fill the stage" changes with it. -3. **The stack's window** (`stack`): `[rsp, rbp+16)`; from rsp when the - frame fits, else scrolled by whole slots to keep the touched slot in - its middle rows, never above rsp; it slides with rsp at the memory - level, before the arm; held still under the camera, with `free` - slots. The tag's note follows the window. `lead` and the - disassembly's line numbers are computed from the rows on screen, on a - scroll's first frame (the glitch at fib 22.25 s). Spans carry their - arguments, `fib(4)`. -4. **An instruction's room** (`insn`): operands whole; the annotation - from 564, or a character after them. `disasm.zig` already moves the - annotation right and cuts operands only for an annotation that needs - the room; new are the size word dropped before any cut, and a cut - never inside `[]`. -5. **Runs and marks on bytes** (`bytes`): runs from the element's type - (sort's `int`s are runs of 4); a strike covers only the bytes whose - value changed. -6. **Pins** (`pin`, `travel`): one pin a name, travelling on `time.pin`, - never popping; names keep their side; variables' pins from the debug - info, in the ink of where the variable lives, from the opening (list's - `head`, which is never drawn now). -7. **Ties**: the calls projection, from a frame's return address up the - gutter's left lane and the drawing's bottom lane to a bracket under - the node, on a call (write) and on a return (read); a link down to a - slot in the right lane; a link's stub and count when its target is - out of the window; no link for rsp. -8. **`calls`**: `metric.calls` (now local to `calls.zig`, and smaller); - the caller's node, gold before the first call; the backtrace as the - view, with arguments. -9. **Fast passes** (`run`, `sprint`): registers, stack and disassembly - veiled from the first shortened step (in 18 f) to the last (out 18 f); - at a sprint the source and the view too; no link or projection at - either. -10. **The clock**: still while a step plays at a walk or a run; the - step's gold fades in after its mark lands. The syscalls scene moves it - every frame now. -11. **The opening and the captions**: `establish` done by 54 f, with no - lines; the first caption at 60 f; the first step by 240 f. A scene - whose caption is up for less than its reading time, or more than 12 - s, or arrives less than 60 f before what it names, is wrong in a way - the build can tell: warn. -12. **Order**: a system call's result stored only after `returns` has - the value (`syscalls.zig`'s `stored` already follows `returns`); a - swap's bytes struck, then the projection, then the cards; arcs lowered - into the drawing's lanes, cards under names and pins. -13. **`relayout`**: the drawing fades out and in round the move; every - panel clipped to its box while it moves. -14. **Labels**: flags as names or `0x` hex; a module's offset from its - first mapping (`list+402c89` reads as if the module began at 0); every - cut label ends in `…` (`set_tid_add`). -15. **One moment**: every panel from the same stop (the syscalls scene's - registers are from inside the libc wrapper, its stack and rip from - `main`). -16. **From the recording**: each call's arguments, for spans, backtrace - rows and nodes; the variables a scene names and where each lives. +1. **A continue's registers strike in a wave** ([`continue`](#6-verbs)): + 2 f apart in pwndbg's order, the fill in over 6 f, no arm, no pulse. + Now every changed register arms on one frame and strikes on one frame + (sqlite, 0 to 8 s and each continue after): fourteen strikes at once. +2. **No marks on what arrived**: a window that faded to a new place, and + a dump that comes in after the step that changed it, show their values + plain. Now the stack's new window comes in struck at each continue, and + the row's dump arrives with a tick on every run. +3. **Far is a window's height**, for every window ([`scroll`](#6-verbs)): + the source (14, 8 or 10 lines), the disassembly (17 or 9), the stack (8 + or 6 slots) scroll when the new place is within their own height and + fade through (12 f out, 12 f in) beyond. Now the stack fades only + beyond 16 words (`context.zig`, `> 16`) and the source beyond two + windows (`source.zig`, `2 * fit`): sixteen rows in 24 f is a blur. +4. **The last stop's rsp pin** (sqlite at 64.6 s, stop 169): the stack's + lane has `rbp rsp` on `7fffffffe7e0`; rsp is `7fffffffe7a0`, above the + window. Only `rbp` is pinned there, and rsp, out of the window, has no + pin. +5. **The crossing's order** (`syscalls.zig` `Plan`): `returns` takes the + value 6 f before the arrow back leaves (`returns = back - 0.10`), rax is + armed while the arrow travels and struck as it lands (`struck = back + + cross`). Now `returns` fills as the arrow lands and rax strikes 0.20 s + after: the answer appears on the kernel's side after it has travelled. +6. **Names the code then follows**: + - `rows.Run.kind.allocator` and `hexdump.Kind.allocator` are `loose`: + any byte of no field (padding, past the struct), the allocator's + words among them; the chunk-size note stays. + - The scene's `split.backtrace = split.band` is the `backtrace` lens: + let the context place it (a lens choice, not a patched split), eleven + rows as subject, five beside. + - `hexdump.Dump`'s `of: Fields` is a dump by `fields`; `seen` and + `given` keep their names. +7. **Measures that change**: + - line numbers' width from the program's largest line + (`rows.numberRoom(rec.line_count)` in `source.zig` and `disasm.zig`), + not the window's; + - a dump's address room once per dump, from the widest address in its + window (`rows.addressRoom` is per row now); + - one reading for every dump, the list a character apart + (`hexdump.reading`, the typed dump's, still ranges numbers in three + characters; let `fieldReading` serve both); + - `fielded` keeps at most 16 rows and draws past the panel when the + rows holding fields outnumber the view's: keep the window round the + rows the step or a mark is on, and fold the others into `more` rows + with their counts; + - the stack's tag names the first and the last word shown, `rsp+20 to + rsp+48`, not the end past them (`rsp+50`); + - a frame's name is cut at 300 units with `…` (now never). +8. **The calls tree** past ten leaves: the small size, and folding past + thirteen leaves or six levels ([`calls`](#calls)). `calls.zig` has the + full size only. +9. **A visit and its ties**: a visit waits for a drawn tie to draw back, + or frames both its ends, before veiling a panel the tie starts or ends + in. `sort` no longer visits; this is the rule for the next scene that + does. ## Token changes -Against `anim/src/theme.zig` as it is now (15:30): "In theme.zig" is what -is in the file, "Is" what the documents say. +Against `anim/src/theme.zig` as it is now (18:00): "In theme.zig" is what +is in the file, "Is" what the documents say. Numbers a view keeps for +itself (`calls.zig`'s `metric`, `stage.zig`'s fade) belong here too. | Token | In theme.zig | Is | | --- | --- | --- | -| `layout.Split` | `band`, one rect across both columns | `band`, the drawing over the program column, and `view`, over the state column | -| `layout.split.beside` | band 1792 by 152 | drawing 880 by 152; view 880 by 152, `dump_rows` 5; the rest as it is | -| `layout.split.subject` | band 248; source 10 at 308, disasm 11 at 592; registers at 308, stack 4 at 760; `dump_rows` 9 | drawing 880 by 296; view 880 by 200, `dump_rows` 7; source 10 at 356, disasm 9 at 640; registers at 260, stack 6 at 712 | -| `metric.insn.operand_chars` | 24 | removed: operands are whole | -| `metric.insn.annotation_chars` | 25 | removed: the annotation is from 564 or a character after the operands; the row holds 50 characters from 264 | -| `metric.calls` | none (`calls.zig`: radius 18, level 44, badge 24, pitch at most 81, digits mono 20 dim) | node 48 across, level 46, the root 48 under the tag, leaves spread over the drawing; badge 30, 12 right of the centre and 42 up, mono 25 primary; caller 64 by 28; edges 3 | -| `metric.call_row` | none | `#n` 12 (gold plaque 40), name 60, arguments 384, file and line ranged right | -| `metric.link_stub` | none | head 9 by 12 on the panel's rule; the count in faint mono 20, 6 past the head | -| `time.pin` | none (`move` 0.40, `travel` 0.60 are used) | `after` 0.30; `node` 0.50, `nodes` 0.60; `row` 0.40 and `step_per_row` a further row, 0.60 at most; `in`, `out`, `names` 0.20; rising 8 | -| `time.project.far` | none | 0.50, over 600 units | -| `time.relayout_fade` | none | 0.20 before the move, 0.20 after | -| `time.establish`, `establish_per_panel`, `establish_rise` | 1.00 + 0.50 a panel of stillness; 0.10 between elements | `establish` 0.90, everything on screen; a panel 0.30, 0.10 apart; elements `stagger` apart from 0.50, all begun by 0.70 | -| `time.first_caption` | none | 1.00 | -| `time.first_step` | none | 4.00 at the latest | +| `metric.insn.operand_chars`, `annotation_chars` | 24, 25 | removed: operands whole, the row 50 characters from 264 | +| `metric.bytes.first` | 132 | 132 at least, and 12 after the address's end (`address_gap` 12): 174 for twelve digits | +| `metric.bytes.reading` | 640 | 508 after the first byte: 640, or 682 for twelve digits | +| `metric.context.line_number_end`, `line_text`, `metric.plaque.line` | 46, 64, 50 | each plus 12 a digit past three, by the program's largest line number | +| `metric.calls` | none (`calls.zig`: radius 24, level 46, badge 30, caller 64 by 28) | full: disc 48, level 46, badge 30 at 12 right and 42 up, mono 25, a leaf 72; small: disc 36, level 38, root 60 under the tag, badge 24 at 6 right and 32 up, mono 20, a leaf 54; small past 10 leaves or 5 levels, folding past 13 or 6; a fold's count in faint mono 20 | +| `metric.span.name_max` | none | 300 | +| `time.continue_wave` | none | 2 f (`stagger`) between registers; fill 0.10; no arm, no pulse | +| `time.far` | none (16 words; two windows) | a window's own height; out 0.20, in 0.20 | +| `time.relayout_fade` | none (`stage.zig`: 12 f) | 0.20 before the move and after | +| `time.pin` | none | `after` 0.30; `node` 0.50, `nodes` 0.60; `row` 0.40 and `step_per_row` a further row, 0.60 at most; `in`, `out`, `names` 0.20 | +| syscalls `Plan.returns`, `struck` | `back + cross`, `returns + strike.arm` | `back - 0.10`, `back + cross` | | `time.caption_max` | none | 12.00 | -| `time.clock` | none | the step's gold fades in over 0.20 (`run_ease` at a run) once the mark lands | +| `time.first_step` | none | 4.00 at the latest | Unchanged and already there: the palette, region inks, the type sizes, -`metric.bytes`, `metric.slot`, `metric.pin`, `metric.node`, -`metric.tie` (the lanes keep 950 and 962; what each carries is now by -direction, see [Routes](#4-ties)), `stroke.tie`, `color.veil_alpha`, -`time.veil`, `time.strike` (`cool` 0.40 on `glide`, from the advance), -`time.link`, `time.project`, `time.flight` (arc 0.25, 34 to 120), -`time.caption` (1.5 + 0.06 a character), `caption_lead` and -`caption_lead_first`, `time.run`, `sprint`, `ramp`, the camera's scales. +`layout.split` (the band as drawing and view; subject 296 and 200, nine +instructions, six slots), `metric.slot`, `metric.pin`, `metric.node`, +`metric.tie`, `stroke.tie`, `color.veil_alpha`, `time.veil`, +`time.strike`, `time.link`, `time.project` (with `far` 0.50), +`time.flight`, `time.caption`, `caption_lead`, `caption_lead_first`, +`time.establish` (the first caption at 1.0 s), `establish_rise`, +`time.run`, `sprint`, `ramp`, the camera's scales. ## Building it diff --git a/design/mock/13-sqlite-row-480.png b/design/mock/13-sqlite-row-480.png Binary files differnew file mode 100644 index 0000000..33f2486 --- /dev/null +++ b/design/mock/13-sqlite-row-480.png diff --git a/design/mock/13-sqlite-row.png b/design/mock/13-sqlite-row.png Binary files differnew file mode 100644 index 0000000..4d6a377 --- /dev/null +++ b/design/mock/13-sqlite-row.png diff --git a/design/mock/13-sqlite-row.svg b/design/mock/13-sqlite-row.svg new file mode 100644 index 0000000..7161b31 --- /dev/null +++ b/design/mock/13-sqlite-row.svg @@ -0,0 +1,434 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080" viewBox="0 0 1920 1080"> +<defs><pattern id="hatch" width="20" height="20" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="5" height="20" fill="#3a4a8a"/></pattern><pattern id="hazard" width="24" height="24" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="24" height="24" fill="#050a24"/><rect width="12" height="24" fill="#ff6a4a"/></pattern></defs> +<rect width="1920" height="1080" fill="#0a1030"/> +<rect x="64.0" y="356.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="357.0" width="878.0" height="270.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="363.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="374.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">sqlite3.c</text> +<text x="934.0" y="374.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">lines 80890 to 80899 of 262899</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">80890</text> +<text x="164.0 176.0 188.0 200.0 212.0 224.0 236.0 248.0 260.0 272.0 284.0 296.0 308.0 320.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">SQLITE_PRIVATE</text> +<text x="344.0 356.0 368.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="392.0 404.0 416.0 428.0 440.0 452.0 464.0 476.0 488.0 500.0 512.0 524.0 536.0 548.0 560.0 572.0 584.0 596.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">sqlite3BtreeInsert</text> +<text x="608.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">80891</text> +<text x="188.0 200.0 212.0 224.0 236.0 248.0 260.0 272.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">BtCursor</text> +<text x="296.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">*</text> +<text x="308.0 320.0 332.0 344.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">pCur</text> +<text x="356.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="560.0 572.0 584.0 596.0 608.0 620.0 632.0 644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0 788.0 800.0 812.0 824.0 836.0 848.0 860.0 872.0 884.0 896.0 908.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-style="italic">/* Insert data into the table </text> +<text x="920.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">…</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">80892</text> +<text x="188.0 200.0 212.0 224.0 236.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">const</text> +<text x="260.0 272.0 284.0 296.0 308.0 320.0 332.0 344.0 356.0 368.0 380.0 392.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">BtreePayload</text> +<text x="416.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">*</text> +<text x="428.0 440.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">pX</text> +<text x="452.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="560.0 572.0 584.0 596.0 608.0 620.0 632.0 644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0 788.0 800.0 812.0 824.0 836.0 848.0 860.0 872.0 884.0 896.0 908.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-style="italic">/* Content of the row to be in</text> +<text x="920.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">…</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">80893</text> +<text x="188.0 200.0 212.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="236.0 248.0 260.0 272.0 284.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">flags</text> +<text x="296.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="560.0 572.0 584.0 596.0 608.0 620.0 632.0 644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0 788.0 800.0 812.0 824.0 836.0 848.0 860.0 872.0 884.0 896.0 908.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-style="italic">/* True if this is likely an a</text> +<text x="920.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">…</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">80894</text> +<text x="188.0 200.0 212.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="236.0 248.0 260.0 272.0 284.0 296.0 308.0 320.0 332.0 344.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">seekResult</text> +<text x="560.0 572.0 584.0 596.0 608.0 620.0 632.0 644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0 788.0 800.0 812.0 824.0 836.0 848.0 860.0 872.0 884.0 896.0 908.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-style="italic">/* Result of prior IndexMoveto</text> +<text x="920.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">…</text> +<rect x="66.0" y="504.0" width="876.0" height="24.0" fill="#4a3d1c"/> +<rect x="66.0" y="504.0" width="86.0" height="24.0" fill="#e8c46a"/> +<text x="86.0 98.0 110.0 122.0 134.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">80895</text> +<text x="164.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="176.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">80896</text> +<text x="188.0 200.0 212.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="236.0 248.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rc</text> +<text x="260.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">80897</text> +<text x="188.0 200.0 212.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="236.0 248.0 260.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">loc</text> +<text x="284.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="308.0 320.0 332.0 344.0 356.0 368.0 380.0 392.0 404.0 416.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">seekResult</text> +<text x="428.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="560.0 572.0 584.0 596.0 608.0 620.0 632.0 644.0 656.0 668.0 680.0 692.0 704.0 716.0 728.0 740.0 752.0 764.0 776.0 788.0 800.0 812.0 824.0 836.0 848.0 860.0 872.0 884.0 896.0 908.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-style="italic">/* -1: before desired location</text> +<text x="920.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">…</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">80898</text> +<text x="188.0 200.0 212.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="236.0 248.0 260.0 272.0 284.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">szNew</text> +<text x="308.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="332.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0</text> +<text x="344.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">80899</text> +<text x="188.0 200.0 212.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="236.0 248.0 260.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">idx</text> +<text x="272.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="64.0" y="640.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="641.0" width="878.0" height="246.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="647.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="658.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">disassembly</text> +<text x="934.0" y="658.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">sqlite3BtreeInsert</text> +<text x="104.0 116.0 128.0 140.0" y="687.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">448d</text> +<text x="152.0 164.0" y="687.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">80</text> +<text x="210.0 222.0 234.0 246.0 258.0" y="687.2" font-family="JetBrains Mono NL" font-size="20" fill="#e8c46a" xml:space="preserve" font-weight="bold">80895</text> +<text x="280.0 292.0 304.0 316.0" y="687.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> +<text x="364.0 376.0 388.0" y="687.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp</text> +<text x="104.0 116.0 128.0 140.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">448d</text> +<text x="152.0 164.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">81</text> +<text x="280.0 292.0 304.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbp, rsp</text> +<rect x="66.0" y="716.0" width="876.0" height="24.0" fill="#4a3d1c"/> +<rect x="66.0" y="716.0" width="24.0" height="24.0" fill="#e8c46a"/> +<path d="M84,728 l-10,-6 v12 Z" fill="#050a24"/> +<text x="104.0 116.0 128.0 140.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">448d</text> +<text x="152.0 164.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">84</text> +<text x="280.0 292.0 304.0 316.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> +<text x="364.0 376.0 388.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r15</text> +<text x="104.0 116.0 128.0 140.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">448d</text> +<text x="152.0 164.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">86</text> +<text x="280.0 292.0 304.0 316.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> +<text x="364.0 376.0 388.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r14</text> +<text x="104.0 116.0 128.0 140.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">448d</text> +<text x="152.0 164.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">88</text> +<text x="280.0 292.0 304.0 316.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> +<text x="364.0 376.0 388.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r13</text> +<text x="104.0 116.0 128.0 140.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">448d</text> +<text x="152.0 164.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">8a</text> +<text x="280.0 292.0 304.0 316.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> +<text x="364.0 376.0 388.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r12</text> +<text x="104.0 116.0 128.0 140.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">448d</text> +<text x="152.0 164.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">8c</text> +<text x="280.0 292.0 304.0 316.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">push</text> +<text x="364.0 376.0 388.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rbx</text> +<text x="104.0 116.0 128.0 140.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">448d</text> +<text x="152.0 164.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">8d</text> +<text x="280.0 292.0 304.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">sub</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rsp, 0xa8</text> +<text x="104.0 116.0 128.0 140.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">448d</text> +<text x="152.0 164.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">94</text> +<text x="280.0 292.0 304.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r14d, ecx</text> +<rect x="976.0" y="260.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="977.0" y="261.0" width="878.0" height="438.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="985.0" y="267.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="1004.0" y="278.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">registers</text> +<text x="1501.7" y="278.0" font-family="Go Medium" font-size="18" fill="#f2d675" xml:space="preserve">stack</text> +<text x="1559.8" y="278.0" font-family="Go Medium" font-size="18" fill="#86b6ff" xml:space="preserve">heap</text> +<text x="1614.8" y="278.0" font-family="Go Medium" font-size="18" fill="#ff8f9a" xml:space="preserve">code</text> +<text x="1669.3" y="278.0" font-family="Go Medium" font-size="18" fill="#d59cf5" xml:space="preserve">data</text> +<text x="1719.4" y="278.0" font-family="Go Medium" font-size="18" fill="#d59cf5" xml:space="preserve">rwx</text> +<rect x="1719.4" y="281.0" width="29.5" height="2.0" fill="#d59cf5"/> +<text x="1762.9" y="278.0" font-family="Go Medium" font-size="18" fill="#eee6d2" xml:space="preserve">read-only</text> +<text x="988.0 1000.0 1012.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rax</text> +<rect x="1039.0" y="291.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">5226d0</text> +<path d="M1126,300 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1133.0" y="299.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1150.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="988.0 1000.0 1012.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rbx</text> +<text x="1048.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1</text> +<rect x="1039.0" y="315.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rcx</text> +<text x="1048.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<rect x="1039.0" y="339.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rdx</text> +<text x="1048.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">8</text> +<rect x="1039.0" y="363.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rsi</text> +<rect x="1039.0" y="387.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffea60</text> +<path d="M1198,396 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1205.0" y="395.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1222.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="988.0 1000.0 1012.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rdi</text> +<rect x="1039.0" y="411.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">521978</text> +<path d="M1126,420 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1133.0" y="419.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1150.0 1162.0 1174.0 1186.0 1198.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x101</text> +<text x="1218.0 1230.0 1242.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">257</text> +<text x="988.0 1000.0 1012.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rbp</text> +<rect x="1039.0" y="435.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffe980</text> +<rect x="1198.0" y="443.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1216,444 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1222.0 1234.0 1246.0 1258.0 1270.0 1282.0 1294.0 1306.0 1318.0 1330.0 1342.0 1354.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffeb90</text> +<rect x="1372.0" y="443.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1390,444 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1396.0 1408.0 1420.0 1432.0 1444.0 1456.0 1468.0 1480.0 1492.0 1504.0 1516.0 1528.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffec60</text> +<rect x="1546.0" y="443.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1564,444 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1570.0 1582.0 1594.0 1606.0 1618.0 1630.0 1642.0 1654.0 1666.0 1678.0 1690.0 1702.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffece0</text> +<rect x="1720.0" y="443.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1738,444 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1746.0" y="446.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1754.0" y="446.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1762.0" y="446.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<text x="988.0 1000.0 1012.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rsp</text> +<rect x="1039.0" y="459.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffe980</text> +<rect x="1198.0" y="467.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1216,468 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1222.0 1234.0 1246.0 1258.0 1270.0 1282.0 1294.0 1306.0 1318.0 1330.0 1342.0 1354.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffeb90</text> +<rect x="1372.0" y="467.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1390,468 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1396.0 1408.0 1420.0 1432.0 1444.0 1456.0 1468.0 1480.0 1492.0 1504.0 1516.0 1528.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffec60</text> +<rect x="1546.0" y="467.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1564,468 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1570.0 1582.0 1594.0 1606.0 1618.0 1630.0 1642.0 1654.0 1666.0 1678.0 1690.0 1702.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffece0</text> +<rect x="1720.0" y="467.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1738,468 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1746.0" y="470.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1754.0" y="470.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1762.0" y="470.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<text x="988.0 1000.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r8</text> +<text x="1048.0 1060.0 1072.0 1084.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x38</text> +<text x="1104.0 1116.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">56</text> +<rect x="1039.0" y="483.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r9</text> +<text x="1048.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<rect x="1039.0" y="507.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r10</text> +<text x="1048.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7</text> +<rect x="1039.0" y="531.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r11</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0xffffffff</text> +<rect x="1039.0" y="555.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r12</text> +<text x="1048.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="988.0 1000.0 1012.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r13</text> +<rect x="1039.0" y="603.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">5222d0</text> +<path d="M1126,612 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1133.0" y="611.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1150.0 1162.0 1174.0 1186.0 1198.0 1210.0 1222.0 1234.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x39fb80</text> +<text x="988.0 1000.0 1012.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r14</text> +<rect x="1039.0" y="627.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">5218f8</text> +<path d="M1126,636 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1133.0" y="635.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1150.0 1162.0 1174.0 1186.0 1198.0 1210.0 1222.0 1234.0 1246.0 1258.0 1270.0 1282.0 1294.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x40100010000</text> +<text x="988.0 1000.0 1012.0" y="667.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r15</text> +<text x="1048.0" y="667.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<rect x="1039.0" y="651.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<rect x="978.0" y="672.0" width="876.0" height="24.0" fill="#4a3d1c"/> +<rect x="978.0" y="672.0" width="54.0" height="24.0" fill="#e8c46a"/> +<text x="988.0 1000.0 1012.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">rip</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">448d84</text> +<text x="1130.0 1142.0 1154.0 1166.0 1178.0 1190.0 1202.0 1214.0 1226.0 1238.0 1250.0 1262.0 1274.0 1286.0 1298.0 1310.0 1322.0 1334.0 1346.0 1358.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">sqlite3BtreeInsert+4</text> +<text x="1522.0 1534.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">cf</text> +<rect x="1553.0" y="675.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1564.0 1576.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">pf</text> +<text x="1606.0 1618.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">af</text> +<rect x="1637.0" y="675.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1648.0 1660.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">zf</text> +<text x="1690.0 1702.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">sf</text> +<rect x="1728.0" y="674.0" width="32.0" height="20.0" fill="#16245f"/> +<text x="1732.0 1744.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="bold">IF</text> +<text x="1774.0 1786.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">df</text> +<text x="1816.0 1828.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">of</text> +<rect x="976.0" y="712.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="977.0" y="713.0" width="878.0" height="174.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="985.0" y="719.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="1004.0" y="730.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">stack</text> +<text x="1846.0" y="730.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">six words from rsp · the frames they belong to</text> +<text x="986.0 998.0 1010.0 1022.0 1034.0 1046.0 1058.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="bold">rbp rsp</text> +<path d="M1084,752 l-9,-6 v12 Z" fill="#f2d675"/> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe9</text> +<text x="1218.0 1230.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">80</text> +<rect x="1248.0" y="751.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1266,752 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1272.0 1284.0 1296.0 1308.0 1320.0 1332.0 1344.0 1356.0 1368.0 1380.0 1392.0 1404.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffeb90</text> +<rect x="1422.0" y="751.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1440,752 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1446.0 1458.0 1470.0 1482.0 1494.0 1506.0 1518.0 1530.0 1542.0 1554.0 1566.0 1578.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffec60</text> +<rect x="1596.0" y="751.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1614,752 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1622.0" y="754.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1630.0" y="754.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1638.0" y="754.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe9</text> +<text x="1218.0 1230.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">88</text> +<rect x="1248.0" y="775.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1266,776 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1272.0 1284.0 1296.0 1308.0 1320.0 1332.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">43e029</text> +<text x="1354.0 1366.0 1378.0 1390.0 1402.0 1414.0 1426.0 1438.0 1450.0 1462.0 1474.0 1486.0 1498.0 1510.0 1522.0 1534.0 1546.0 1558.0 1570.0 1582.0 1594.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">sqlite3VdbeExec+18905</text> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe9</text> +<text x="1218.0 1230.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">90</text> +<rect x="1248.0" y="799.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1266,800 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1272.0 1284.0 1296.0 1308.0 1320.0 1332.0 1344.0 1356.0 1368.0 1380.0 1392.0 1404.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7ffff7c0ed60</text> +<path d="M1422,800 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1429.0" y="799.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1446.0 1458.0 1470.0 1482.0 1494.0 1506.0 1518.0 1530.0 1542.0 1554.0 1566.0 1578.0 1590.0 1602.0 1614.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0xd001200000f05</text> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe9</text> +<text x="1218.0 1230.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">98</text> +<rect x="1248.0" y="823.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1266,824 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1272.0 1284.0 1296.0 1308.0 1320.0 1332.0 1344.0 1356.0 1368.0 1380.0 1392.0 1404.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffea18</text> +<rect x="1422.0" y="823.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1440,824 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1446.0 1458.0 1470.0 1482.0 1494.0 1506.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">517378</text> +<rect x="1524.0" y="823.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1542,824 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1548.0 1560.0 1572.0 1584.0 1596.0 1608.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">513010</text> +<rect x="1626.0" y="823.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1644,824 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1652.0" y="826.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1660.0" y="826.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1668.0" y="826.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe9</text> +<text x="1218.0 1230.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">a0</text> +<rect x="1248.0" y="847.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1266,848 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1272.0 1284.0 1296.0 1308.0 1320.0 1332.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">521ed0</text> +<path d="M1350,848 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1357.0" y="847.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1374.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe9</text> +<text x="1218.0 1230.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">a8</text> +<rect x="1248.0" y="871.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1266,872 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1272.0 1284.0 1296.0 1308.0 1320.0 1332.0 1344.0 1356.0 1368.0 1380.0 1392.0 1404.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffea18</text> +<rect x="1422.0" y="871.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1440,872 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1446.0 1458.0 1470.0 1482.0 1494.0 1506.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">517378</text> +<rect x="1524.0" y="871.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1542,872 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1548.0 1560.0 1572.0 1584.0 1596.0 1608.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">513010</text> +<rect x="1626.0" y="871.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1644,872 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1652.0" y="874.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1660.0" y="874.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1668.0" y="874.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1841.0" y="743.0" width="2.0" height="42.0" fill="#e8c46a"/> +<rect x="1835.0" y="743.0" width="8.0" height="2.0" fill="#e8c46a"/> +<rect x="1835.0" y="783.0" width="8.0" height="2.0" fill="#e8c46a"/> +<text x="1828.0" y="770.0" font-family="Go Medium" font-size="18" fill="#fff8e8" xml:space="preserve" text-anchor="end">sqlite3BtreeInsert</text> +<rect x="1841.0" y="791.0" width="2.0" height="93.0" fill="#3a4a8a"/> +<rect x="1835.0" y="791.0" width="8.0" height="2.0" fill="#3a4a8a"/> +<text x="1828.0" y="843.5" font-family="Go Medium" font-size="18" fill="#9aa6d9" xml:space="preserve" text-anchor="end">sqlite3VdbeExec</text> +<rect x="64.0" y="48.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="49.0" width="878.0" height="294.0" fill="none" stroke="#9aa6d9" stroke-width="2"/> +<rect x="72.0" y="54.0" width="12.0" height="12.0" fill="#e8c46a"/> +<text x="92.0" y="66.0" font-family="Go Medium" font-size="20" fill="#eee6d2" xml:space="preserve">backtrace</text> +<text x="934.0" y="66.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">newest on top</text> +<rect x="66.0" y="76.0" width="876.0" height="24.0" fill="#4a3d1c"/> +<rect x="66.0" y="76.0" width="40.0" height="24.0" fill="#e8c46a"/> +<text x="76.0 88.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">#0</text> +<text x="124.0 136.0 148.0 160.0 172.0 184.0 196.0 208.0 220.0 232.0 244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0 340.0 352.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">sqlite3BtreeInsert+4</text> +<text x="752.0 764.0 776.0 788.0 800.0 812.0 824.0 836.0 848.0 860.0 872.0 884.0 896.0 908.0 920.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">sqlite3.c:80895</text> +<text x="76.0 88.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">#1</text> +<text x="124.0 136.0 148.0 160.0 172.0 184.0 196.0 208.0 220.0 232.0 244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0 340.0 352.0 364.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">sqlite3VdbeExec+18905</text> +<text x="76.0 88.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">#2</text> +<text x="124.0 136.0 148.0 160.0 172.0 184.0 196.0 208.0 220.0 232.0 244.0 256.0 268.0 280.0 292.0 304.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">sqlite3_step+910</text> +<text x="76.0 88.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">#3</text> +<text x="124.0 136.0 148.0 160.0 172.0 184.0 196.0 208.0 220.0 232.0 244.0 256.0 268.0 280.0 292.0 304.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">sqlite3_exec+394</text> +<text x="76.0 88.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">#4</text> +<text x="124.0 136.0 148.0 160.0 172.0 184.0 196.0" y="191.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">main+56</text> +<text x="76.0 88.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">#5</text> +<text x="124.0 136.0 148.0 160.0 172.0 184.0 196.0 208.0 220.0 232.0 244.0 256.0 268.0 280.0 292.0" y="215.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">libc.so.6+27781</text> +<text x="76.0 88.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">#6</text> +<text x="124.0 136.0 148.0 160.0 172.0 184.0 196.0 208.0 220.0 232.0 244.0 256.0 268.0 280.0 292.0 304.0 316.0 328.0 340.0 352.0 364.0" y="239.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">__libc_start_main+137</text> +<text x="76.0 88.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">#7</text> +<text x="124.0 136.0 148.0 160.0 172.0 184.0 196.0 208.0 220.0" y="263.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">_start+37</text> +<rect x="976.0" y="48.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="977.0" y="49.0" width="878.0" height="198.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="985.0" y="55.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="1004.0" y="66.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">its bytes</text> +<text x="1093.7" y="66.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">pX, the row: a BtreePayload, at rsi</text> +<rect x="982.0" y="79.0" width="2.0" height="18.0" fill="#958759"/> +<rect x="982.0" y="79.0" width="7.0" height="2.0" fill="#958759"/> +<rect x="982.0" y="95.0" width="7.0" height="2.0" fill="#958759"/> +<text x="994.0 1006.0 1018.0 1030.0 1042.0 1054.0 1066.0 1078.0 1090.0 1102.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffea</text> +<text x="1114.0 1126.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">60</text> +<rect x="1146.0" y="77.0" width="242.0" height="22.0" fill="#16245f"/> +<text x="1150.0 1162.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1180.0 1192.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1210.0 1222.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1240.0 1252.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1270.0 1282.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1300.0 1312.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1330.0 1342.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1360.0 1372.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1658.0 1670.0 1682.0 1694.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">NULL</text> +<rect x="1398.0" y="77.0" width="242.0" height="22.0" fill="#16245f"/> +<rect x="1396.0" y="76.0" width="246.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> +<text x="1402.0 1414.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">01</text> +<text x="1432.0 1444.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#717079" xml:space="preserve" font-weight="500">00</text> +<text x="1462.0 1474.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#717079" xml:space="preserve" font-weight="500">00</text> +<text x="1492.0 1504.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#717079" xml:space="preserve" font-weight="500">00</text> +<text x="1522.0 1534.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#717079" xml:space="preserve" font-weight="500">00</text> +<text x="1552.0 1564.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#717079" xml:space="preserve" font-weight="500">00</text> +<text x="1582.0 1594.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#717079" xml:space="preserve" font-weight="500">00</text> +<text x="1612.0 1624.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#717079" xml:space="preserve" font-weight="500">00</text> +<text x="1718.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1</text> +<rect x="982.0" y="103.0" width="2.0" height="18.0" fill="#958759"/> +<rect x="982.0" y="103.0" width="7.0" height="2.0" fill="#958759"/> +<rect x="982.0" y="119.0" width="7.0" height="2.0" fill="#958759"/> +<text x="994.0 1006.0 1018.0 1030.0 1042.0 1054.0 1066.0 1078.0 1090.0 1102.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffea</text> +<text x="1114.0 1126.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">70</text> +<rect x="1146.0" y="101.0" width="242.0" height="22.0" fill="#16245f"/> +<text x="1150.0 1162.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">88</text> +<text x="1180.0 1192.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">4d</text> +<text x="1210.0 1222.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">52</text> +<text x="1240.0 1252.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#425b8d" xml:space="preserve" font-weight="500">00</text> +<text x="1270.0 1282.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#425b8d" xml:space="preserve" font-weight="500">00</text> +<text x="1300.0 1312.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#425b8d" xml:space="preserve" font-weight="500">00</text> +<text x="1330.0 1342.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#425b8d" xml:space="preserve" font-weight="500">00</text> +<text x="1360.0 1372.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#425b8d" xml:space="preserve" font-weight="500">00</text> +<rect x="1664.0" y="111.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1682,112 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1688.0 1700.0 1712.0 1724.0 1736.0 1748.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">524d88</text> +<rect x="1398.0" y="101.0" width="242.0" height="22.0" fill="#16245f"/> +<text x="1402.0 1414.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1432.0 1444.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1462.0 1474.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1492.0 1504.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1522.0 1534.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1552.0 1564.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1582.0 1594.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1612.0 1624.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1772.0 1784.0 1796.0 1808.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">NULL</text> +<rect x="982.0" y="127.0" width="2.0" height="18.0" fill="#958759"/> +<rect x="982.0" y="127.0" width="7.0" height="2.0" fill="#958759"/> +<rect x="982.0" y="143.0" width="7.0" height="2.0" fill="#958759"/> +<text x="994.0 1006.0 1018.0 1030.0 1042.0 1054.0 1066.0 1078.0 1090.0 1102.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffea</text> +<text x="1114.0 1126.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">80</text> +<rect x="1146.0" y="125.0" width="62.0" height="22.0" fill="#16245f"/> +<text x="1150.0 1162.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1180.0 1192.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1658.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="1210.0 1222.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<text x="1240.0 1252.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<rect x="1266.0" y="125.0" width="122.0" height="22.0" fill="#16245f"/> +<rect x="1264.0" y="124.0" width="126.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> +<text x="1270.0 1282.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">07</text> +<text x="1300.0 1312.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#717079" xml:space="preserve" font-weight="500">00</text> +<text x="1330.0 1342.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#717079" xml:space="preserve" font-weight="500">00</text> +<text x="1360.0 1372.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#717079" xml:space="preserve" font-weight="500">00</text> +<text x="1682.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">7</text> +<rect x="1398.0" y="125.0" width="122.0" height="22.0" fill="#16245f"/> +<text x="1402.0 1414.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1432.0 1444.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1462.0 1474.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1492.0 1504.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1706.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="1522.0 1534.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">01</text> +<text x="1552.0 1564.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<text x="1582.0 1594.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<text x="1612.0 1624.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<rect x="64.0" y="899.0" width="1792.0" height="2.0" fill="#3a4a8a"/> +<rect x="64.0" y="898.0" width="278.1" height="4.0" fill="#e8c46a"/> +<text x="1688.0 1700.0 1712.0 1724.0 1736.0 1748.0 1760.0 1772.0 1784.0 1796.0 1808.0 1820.0 1832.0 1844.0" y="934.0" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">moment 9 of 58</text> +<text x="64.0" y="964.0" font-size="40" xml:space="preserve"><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="35">sqlite3VdbeExec</tspan><tspan font-family="Go" font-weight="normal" fill="#eee6d2">, the bytecode's loop, calls the B-tree: </tspan><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="35">rdi</tspan><tspan font-family="Go" font-weight="normal" fill="#eee6d2"> is</tspan></text> +<text x="64.0" y="1018.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">the table's cursor, </tspan><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="35">rsi</tspan><tspan font-family="Go" font-weight="normal" fill="#eee6d2"> the row: rowid 1, a record of 7 bytes.</tspan></text> +<rect x="52.5" y="506.0" width="3.0" height="20.0" fill="#e8c46a"/> +<rect x="52.5" y="506.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="523.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="670.0" width="3.0" height="212.0" fill="#e8c46a"/> +<rect x="52.5" y="670.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="879.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="506.0" width="3.0" height="376.0" fill="#e8c46a"/> +</svg> diff --git a/design/mock/14-sqlite-page-480.png b/design/mock/14-sqlite-page-480.png Binary files differnew file mode 100644 index 0000000..9024f82 --- /dev/null +++ b/design/mock/14-sqlite-page-480.png diff --git a/design/mock/14-sqlite-page.png b/design/mock/14-sqlite-page.png Binary files differnew file mode 100644 index 0000000..c014899 --- /dev/null +++ b/design/mock/14-sqlite-page.png diff --git a/design/mock/14-sqlite-page.svg b/design/mock/14-sqlite-page.svg new file mode 100644 index 0000000..7bcee25 --- /dev/null +++ b/design/mock/14-sqlite-page.svg @@ -0,0 +1,563 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080" viewBox="0 0 1920 1080"> +<defs><pattern id="hatch" width="20" height="20" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="5" height="20" fill="#3a4a8a"/></pattern><pattern id="hazard" width="24" height="24" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="24" height="24" fill="#050a24"/><rect width="12" height="24" fill="#ff6a4a"/></pattern></defs> +<rect width="1920" height="1080" fill="#0a1030"/> +<rect x="64.0" y="356.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="357.0" width="878.0" height="270.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="363.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="374.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">sqlite3.c</text> +<text x="934.0" y="374.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">lines 42286 to 42295 of 262899</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">42286</text> +<text x="188.0 200.0 212.0 224.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">nBuf</text> +<text x="248.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">&</text> +<text x="260.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="284.0 296.0 308.0 320.0 332.0 344.0 356.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0x1ffff</text> +<text x="368.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">42287</text> +<text x="188.0 200.0 212.0 224.0 236.0 248.0 260.0 272.0 284.0 296.0 308.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">TIMER_START</text> +<text x="320.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">42288</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">42289</text> +<text x="164.0 176.0 188.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">#if</text> +<text x="212.0 224.0 236.0 248.0 260.0 272.0 284.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">defined</text> +<text x="296.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="308.0 320.0 332.0 344.0 356.0 368.0 380.0 392.0 404.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">USE_PREAD</text> +<text x="416.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<rect x="66.0" y="480.0" width="876.0" height="24.0" fill="#4a3d1c"/> +<rect x="66.0" y="480.0" width="86.0" height="24.0" fill="#e8c46a"/> +<text x="86.0 98.0 110.0 122.0 134.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">42290</text> +<text x="188.0 200.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">do</text> +<text x="212.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> +<text x="236.0 248.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rc</text> +<text x="272.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="296.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="308.0 320.0 332.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="344.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="356.0 368.0 380.0 392.0 404.0 416.0 428.0 440.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">osPwrite</text> +<text x="452.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="464.0 476.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">fd</text> +<text x="488.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="512.0 524.0 536.0 548.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">pBuf</text> +<text x="560.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="584.0 596.0 608.0 620.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">nBuf</text> +<text x="632.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="656.0 668.0 680.0 692.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">iOff</text> +<text x="704.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="716.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="740.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">}</text> +<text x="752.0 764.0 776.0 788.0 800.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">while</text> +<text x="812.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="836.0 848.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rc</text> +<text x="860.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"><</text> +<text x="872.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0</text> +<text x="896.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">&</text> +<text x="908.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">&</text> +<text x="920.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">…</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">42291</text> +<text x="164.0 176.0 188.0 200.0 212.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">#elif</text> +<text x="236.0 248.0 260.0 272.0 284.0 296.0 308.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">defined</text> +<text x="320.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="332.0 344.0 356.0 368.0 380.0 392.0 404.0 416.0 428.0 440.0 452.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">USE_PREAD64</text> +<text x="464.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">42292</text> +<text x="188.0 200.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">do</text> +<text x="212.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> +<text x="236.0 248.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rc</text> +<text x="272.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="296.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="308.0 320.0 332.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">int</text> +<text x="344.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="356.0 368.0 380.0 392.0 404.0 416.0 428.0 440.0 452.0 464.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">osPwrite64</text> +<text x="476.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="488.0 500.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">fd</text> +<text x="512.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="536.0 548.0 560.0 572.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">pBuf</text> +<text x="584.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="608.0 620.0 632.0 644.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">nBuf</text> +<text x="656.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="680.0 692.0 704.0 716.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">iOff</text> +<text x="728.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="740.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<text x="752.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">}</text> +<text x="764.0 776.0 788.0 800.0 812.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">while</text> +<text x="824.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="848.0 860.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rc</text> +<text x="872.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500"><</text> +<text x="884.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">0</text> +<text x="908.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">&</text> +<text x="920.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">…</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">42293</text> +<text x="164.0 176.0 188.0 200.0 212.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">#else</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">42294</text> +<text x="188.0 200.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">do</text> +<text x="212.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">{</text> +<text x="86.0 98.0 110.0 122.0 134.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">42295</text> +<text x="212.0 224.0 236.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">i64</text> +<text x="260.0 272.0 284.0 296.0 308.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">iSeek</text> +<text x="332.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">=</text> +<text x="356.0 368.0 380.0 392.0 404.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">lseek</text> +<text x="416.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">(</text> +<text x="428.0 440.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">fd</text> +<text x="452.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="476.0 488.0 500.0 512.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">iOff</text> +<text x="524.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">,</text> +<text x="548.0 560.0 572.0 584.0 596.0 608.0 620.0 632.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">SEEK_SET</text> +<text x="644.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">)</text> +<text x="656.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">;</text> +<rect x="64.0" y="640.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="641.0" width="878.0" height="246.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="647.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="658.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">disassembly</text> +<text x="934.0" y="658.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">unixWrite</text> +<text x="104.0 116.0 128.0 140.0" y="687.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4220</text> +<text x="152.0 164.0" y="687.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">42</text> +<text x="210.0 222.0 234.0 246.0 258.0" y="687.2" font-family="JetBrains Mono NL" font-size="20" fill="#e8c46a" xml:space="preserve" font-weight="bold">42290</text> +<text x="280.0 292.0 304.0" y="687.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0" y="687.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rsi, r15</text> +<text x="104.0 116.0 128.0 140.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4220</text> +<text x="152.0 164.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">45</text> +<text x="280.0 292.0 304.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0" y="711.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rdx, r12</text> +<text x="104.0 116.0 128.0 140.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4220</text> +<text x="152.0 164.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">48</text> +<text x="280.0 292.0 304.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0" y="735.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">rcx, r14</text> +<text x="104.0 116.0 128.0 140.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4220</text> +<text x="152.0 164.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">4b</text> +<text x="280.0 292.0 304.0 316.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">call</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0 604.0 616.0 628.0 640.0 652.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">qword ptr [rip + 0xf1567]</text> +<rect x="66.0" y="764.0" width="876.0" height="24.0" fill="#4a3d1c"/> +<rect x="66.0" y="764.0" width="24.0" height="24.0" fill="#e8c46a"/> +<path d="M84,776 l-10,-6 v12 Z" fill="#050a24"/> +<text x="104.0 116.0 128.0 140.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4220</text> +<text x="152.0 164.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">51</text> +<text x="280.0 292.0 304.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r13, rax</text> +<text x="104.0 116.0 128.0 140.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4220</text> +<text x="152.0 164.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">54</text> +<text x="280.0 292.0 304.0 316.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">test</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">r13d, r13d</text> +<text x="104.0 116.0 128.0 140.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4220</text> +<text x="152.0 164.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">57</text> +<text x="280.0 292.0 304.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">jns</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">422070</text> +<text x="104.0 116.0 128.0 140.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4220</text> +<text x="152.0 164.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">59</text> +<text x="280.0 292.0 304.0 316.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">call</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">4021c0</text> +<text x="104.0 116.0 128.0 140.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#9d5c70" xml:space="preserve" font-weight="500">4220</text> +<text x="152.0 164.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">5e</text> +<text x="280.0 292.0 304.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#c0dcff" xml:space="preserve" font-weight="bold">mov</text> +<text x="364.0 376.0 388.0 400.0 412.0 424.0 436.0 448.0 460.0 472.0 484.0 496.0 508.0 520.0 532.0 544.0 556.0 568.0 580.0 592.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ecx, dword ptr [rax]</text> +<rect x="976.0" y="260.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="977.0" y="261.0" width="878.0" height="438.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="985.0" y="267.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="1004.0" y="278.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">registers</text> +<text x="1501.7" y="278.0" font-family="Go Medium" font-size="18" fill="#f2d675" xml:space="preserve">stack</text> +<text x="1559.8" y="278.0" font-family="Go Medium" font-size="18" fill="#86b6ff" xml:space="preserve">heap</text> +<text x="1614.8" y="278.0" font-family="Go Medium" font-size="18" fill="#ff8f9a" xml:space="preserve">code</text> +<text x="1669.3" y="278.0" font-family="Go Medium" font-size="18" fill="#d59cf5" xml:space="preserve">data</text> +<text x="1719.4" y="278.0" font-family="Go Medium" font-size="18" fill="#d59cf5" xml:space="preserve">rwx</text> +<rect x="1719.4" y="281.0" width="29.5" height="2.0" fill="#d59cf5"/> +<text x="1762.9" y="278.0" font-family="Go Medium" font-size="18" fill="#eee6d2" xml:space="preserve">read-only</text> +<text x="988.0 1000.0 1012.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rax</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x1000</text> +<text x="1128.0 1140.0 1152.0 1164.0" y="307.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4096</text> +<rect x="1039.0" y="291.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rbx</text> +<text x="1048.0" y="331.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">3</text> +<rect x="1039.0" y="315.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rcx</text> +<rect x="1039.0" y="339.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">7ffff7cf1a7d</text> +<text x="1202.0 1214.0 1226.0 1238.0 1250.0 1262.0 1274.0 1286.0 1298.0 1310.0 1322.0 1334.0 1346.0 1358.0" y="355.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">__pwrite64+173</text> +<text x="988.0 1000.0 1012.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rdx</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x1000</text> +<text x="1128.0 1140.0 1152.0 1164.0" y="379.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4096</text> +<rect x="1039.0" y="363.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rsi</text> +<rect x="1039.0" y="387.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">538b28</text> +<path d="M1126,396 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1133.0" y="395.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1150.0 1162.0 1174.0 1186.0 1198.0 1210.0 1222.0 1234.0 1246.0 1258.0 1270.0 1282.0 1294.0 1306.0 1318.0 1330.0" y="403.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0xe60f030000000d</text> +<text x="988.0 1000.0 1012.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rdi</text> +<text x="1048.0" y="427.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">3</text> +<rect x="1039.0" y="411.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rbp</text> +<rect x="1039.0" y="435.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffe7e0</text> +<rect x="1198.0" y="443.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1216,444 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1222.0 1234.0 1246.0 1258.0 1270.0 1282.0 1294.0 1306.0 1318.0 1330.0 1342.0 1354.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffe820</text> +<rect x="1372.0" y="443.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1390,444 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1396.0 1408.0 1420.0 1432.0 1444.0 1456.0 1468.0 1480.0 1492.0 1504.0 1516.0 1528.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffe860</text> +<rect x="1546.0" y="443.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1564,444 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1570.0 1582.0 1594.0 1606.0 1618.0 1630.0 1642.0 1654.0 1666.0 1678.0 1690.0 1702.0" y="451.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffe8d0</text> +<rect x="1720.0" y="443.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1738,444 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1746.0" y="446.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1754.0" y="446.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1762.0" y="446.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<text x="988.0 1000.0 1012.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">rsp</text> +<rect x="1039.0" y="459.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0 1156.0 1168.0 1180.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffe7a0</text> +<path d="M1198,468 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1205.0" y="467.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1222.0" y="475.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="988.0 1000.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r8</text> +<text x="1048.0" y="499.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<rect x="1039.0" y="483.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r9</text> +<text x="1048.0" y="523.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="988.0 1000.0 1012.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r10</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x1000</text> +<text x="1128.0 1140.0 1152.0 1164.0" y="547.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4096</text> +<rect x="1039.0" y="531.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r11</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x246</text> +<text x="1116.0 1128.0 1140.0" y="571.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">582</text> +<rect x="1039.0" y="555.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r12</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x1000</text> +<text x="1128.0 1140.0 1152.0 1164.0" y="595.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4096</text> +<rect x="1039.0" y="579.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r13</text> +<rect x="1039.0" y="603.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">538b28</text> +<path d="M1126,612 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1133.0" y="611.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1150.0 1162.0 1174.0 1186.0 1198.0 1210.0 1222.0 1234.0 1246.0 1258.0 1270.0 1282.0 1294.0 1306.0 1318.0 1330.0" y="619.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0xe60f030000000d</text> +<text x="988.0 1000.0 1012.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r14</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x1000</text> +<text x="1128.0 1140.0 1152.0 1164.0" y="643.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">4096</text> +<rect x="1039.0" y="627.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="988.0 1000.0 1012.0" y="667.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">r15</text> +<rect x="1039.0" y="651.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="667.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">538b28</text> +<path d="M1126,660 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1133.0" y="659.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1150.0 1162.0 1174.0 1186.0 1198.0 1210.0 1222.0 1234.0 1246.0 1258.0 1270.0 1282.0 1294.0 1306.0 1318.0 1330.0" y="667.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0xe60f030000000d</text> +<rect x="978.0" y="672.0" width="876.0" height="24.0" fill="#4a3d1c"/> +<rect x="978.0" y="672.0" width="54.0" height="24.0" fill="#e8c46a"/> +<text x="988.0 1000.0 1012.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#050a24" xml:space="preserve" font-weight="bold">rip</text> +<text x="1048.0 1060.0 1072.0 1084.0 1096.0 1108.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">422051</text> +<text x="1130.0 1142.0 1154.0 1166.0 1178.0 1190.0 1202.0 1214.0 1226.0 1238.0 1250.0 1262.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">unixWrite+65</text> +<rect x="1511.0" y="675.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<rect x="1518.0" y="674.0" width="32.0" height="20.0" fill="#16245f"/> +<text x="1522.0 1534.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="bold">CF</text> +<rect x="1553.0" y="675.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<rect x="1560.0" y="674.0" width="32.0" height="20.0" fill="#16245f"/> +<text x="1564.0 1576.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="bold">PF</text> +<text x="1606.0 1618.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">af</text> +<text x="1648.0 1660.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">zf</text> +<text x="1690.0 1702.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">sf</text> +<rect x="1728.0" y="674.0" width="32.0" height="20.0" fill="#16245f"/> +<text x="1732.0 1744.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#fff8e8" xml:space="preserve" font-weight="bold">IF</text> +<text x="1774.0 1786.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">df</text> +<text x="1816.0 1828.0" y="691.2" font-family="JetBrains Mono NL" font-size="20" fill="#8a91b3" xml:space="preserve" font-weight="500">of</text> +<rect x="976.0" y="712.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="977.0" y="713.0" width="878.0" height="174.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="985.0" y="719.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="1004.0" y="730.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">stack</text> +<text x="1846.0" y="730.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">rsp+20 to rsp+48 · the frames they belong to</text> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe7</text> +<text x="1218.0 1230.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">c0</text> +<path d="M1248,752 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1255.0" y="751.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<rect x="1265.0" y="743.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1272.0" y="759.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0</text> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe7</text> +<text x="1218.0 1230.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">c8</text> +<rect x="1248.0" y="775.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1266,776 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1263.0" y="767.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1272.0 1284.0 1296.0 1308.0 1320.0 1332.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">538b28</text> +<path d="M1350,776 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1357.0" y="775.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1374.0 1386.0 1398.0 1410.0 1422.0 1434.0 1446.0 1458.0 1470.0 1482.0 1494.0 1506.0 1518.0 1530.0 1542.0 1554.0" y="783.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0xe60f030000000d</text> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe7</text> +<text x="1218.0 1230.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">d0</text> +<rect x="1248.0" y="799.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1266,800 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1263.0" y="791.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1272.0 1284.0 1296.0 1308.0 1320.0 1332.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">517e38</text> +<rect x="1350.0" y="799.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1368,800 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1374.0 1386.0 1398.0 1410.0 1422.0 1434.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#d59cf5" xml:space="preserve" font-weight="500">513010</text> +<path d="M1452,800 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1459.0" y="799.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<text x="1476.0 1488.0 1500.0 1512.0 1524.0 1536.0 1548.0 1560.0 1572.0 1584.0 1596.0 1608.0" y="807.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0x7800000003</text> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe7</text> +<text x="1218.0 1230.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">d8</text> +<path d="M1248,824 l8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1255.0" y="823.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<rect x="1265.0" y="815.0" width="4.0" height="18.0" fill="#ff6a4a"/> +<text x="1272.0" y="831.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">2</text> +<text x="986.0 998.0 1010.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="bold">rbp</text> +<path d="M1036,848 l-9,-6 v12 Z" fill="#f2d675"/> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe7</text> +<text x="1218.0 1230.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">e0</text> +<rect x="1248.0" y="847.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1266,848 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1272.0 1284.0 1296.0 1308.0 1320.0 1332.0 1344.0 1356.0 1368.0 1380.0 1392.0 1404.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffe820</text> +<rect x="1422.0" y="847.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1440,848 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1446.0 1458.0 1470.0 1482.0 1494.0 1506.0 1518.0 1530.0 1542.0 1554.0 1566.0 1578.0" y="855.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">7fffffffe860</text> +<rect x="1596.0" y="847.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1614,848 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1622.0" y="850.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1630.0" y="850.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1638.0" y="850.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<text x="1098.0 1110.0 1122.0 1134.0 1146.0 1158.0 1170.0 1182.0 1194.0 1206.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#958759" xml:space="preserve" font-weight="500">7fffffffe7</text> +<text x="1218.0 1230.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#f2d675" xml:space="preserve" font-weight="500">e8</text> +<rect x="1248.0" y="871.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1266,872 l-8,-5 v10 Z" fill="#6a7ab8"/> +<text x="1272.0 1284.0 1296.0 1308.0 1320.0 1332.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#ff8f9a" xml:space="preserve" font-weight="500">42fa75</text> +<text x="1354.0 1366.0 1378.0 1390.0 1402.0 1414.0 1426.0 1438.0 1450.0 1462.0 1474.0 1486.0 1498.0 1510.0 1522.0 1534.0 1546.0 1558.0 1570.0 1582.0 1594.0 1606.0 1618.0 1630.0" y="879.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">pager_write_pagelist+245</text> +<rect x="1841.0" y="740.0" width="2.0" height="141.0" fill="#e8c46a"/> +<rect x="1835.0" y="879.0" width="8.0" height="2.0" fill="#e8c46a"/> +<text x="1828.0" y="816.5" font-family="Go Medium" font-size="18" fill="#fff8e8" xml:space="preserve" text-anchor="end">unixWrite</text> +<rect x="64.0" y="48.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="65.0" y="49.0" width="878.0" height="294.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="73.0" y="55.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="92.0" y="66.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">kernel</text> +<text x="934.0" y="66.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve" text-anchor="end">the other side of a system call</text> +<rect x="66.0" y="72.0" width="876.0" height="270.0" fill="#eee6d2"/> +<text x="76.0" y="92.0" font-family="Go" font-size="18" fill="#4a5488" xml:space="preserve">calls so far</text> +<rect x="76.0" y="100.0" width="196.0" height="24.0" fill="#e8c46a"/> +<rect x="77.0" y="101.0" width="194.0" height="22.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="84.0 96.0 108.0 120.0 132.0 144.0 156.0 168.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">pwrite64</text> +<text x="216.0 228.0 240.0 252.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">4096</text> +<rect x="77.0" y="129.0" width="194.0" height="22.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="84.0 96.0 108.0 120.0 132.0 144.0 156.0 168.0" y="147.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">pwrite64</text> +<text x="216.0 228.0 240.0 252.0" y="147.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">4096</text> +<rect x="77.0" y="157.0" width="194.0" height="22.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="84.0 96.0 108.0 120.0 132.0" y="175.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">fsync</text> +<text x="252.0" y="175.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">0</text> +<rect x="77.0" y="185.0" width="194.0" height="22.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="84.0 96.0 108.0 120.0 132.0 144.0 156.0 168.0" y="203.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">pwrite64</text> +<text x="240.0 252.0" y="203.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">12</text> +<rect x="77.0" y="213.0" width="194.0" height="22.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="84.0 96.0 108.0 120.0 132.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">close</text> +<text x="252.0" y="231.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">0</text> +<rect x="77.0" y="241.0" width="194.0" height="22.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="84.0 96.0 108.0 120.0 132.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">fsync</text> +<text x="252.0" y="259.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">0</text> +<rect x="77.0" y="269.0" width="194.0" height="22.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="84.0 96.0 108.0 120.0 132.0 144.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">openat</text> +<text x="252.0" y="287.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">5</text> +<rect x="77.0" y="297.0" width="194.0" height="22.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="84.0 96.0 108.0 120.0 132.0" y="315.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">fsync</text> +<text x="252.0" y="315.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">0</text> +<text x="300.0 321.0 342.0 363.0 384.0 405.0 426.0 447.0" y="118.0" font-family="JetBrains Mono NL" font-size="35" fill="#0a1030" xml:space="preserve" font-weight="bold">pwrite64</text> +<text x="484.0" y="116.0" font-family="Go" font-size="18" fill="#4a5488" xml:space="preserve">system call 18</text> +<rect x="300.0" y="132.0" width="300.0" height="2.0" fill="#b9ad8e"/> +<text x="300.0 312.0 324.0" y="153.2" font-family="JetBrains Mono NL" font-size="20" fill="#4a5488" xml:space="preserve" font-weight="500">rdi</text> +<text x="352.0" y="153.2" font-family="Go Medium" font-size="20" fill="#0a1030" xml:space="preserve">fd</text> +<text x="430.0" y="153.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">3</text> +<text x="454.0 466.0 478.0 490.0 502.0 514.0" y="153.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">"t.db"</text> +<rect x="300.0" y="160.0" width="300.0" height="2.0" fill="#b9ad8e"/> +<text x="300.0 312.0 324.0" y="181.2" font-family="JetBrains Mono NL" font-size="20" fill="#4a5488" xml:space="preserve" font-weight="500">rsi</text> +<text x="352.0" y="181.2" font-family="Go Medium" font-size="20" fill="#0a1030" xml:space="preserve">buf</text> +<text x="430.0 442.0 454.0 466.0 478.0 490.0" y="181.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">538b28</text> +<rect x="300.0" y="188.0" width="300.0" height="2.0" fill="#b9ad8e"/> +<text x="300.0 312.0 324.0" y="209.2" font-family="JetBrains Mono NL" font-size="20" fill="#4a5488" xml:space="preserve" font-weight="500">rdx</text> +<text x="352.0" y="209.2" font-family="Go Medium" font-size="20" fill="#0a1030" xml:space="preserve">count</text> +<text x="430.0 442.0 454.0 466.0" y="209.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">4096</text> +<rect x="300.0" y="216.0" width="300.0" height="2.0" fill="#b9ad8e"/> +<text x="300.0 312.0 324.0" y="237.2" font-family="JetBrains Mono NL" font-size="20" fill="#4a5488" xml:space="preserve" font-weight="500">r10</text> +<text x="352.0" y="237.2" font-family="Go Medium" font-size="20" fill="#0a1030" xml:space="preserve">offset</text> +<text x="430.0 442.0 454.0 466.0" y="237.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">4096</text> +<rect x="300.0" y="244.0" width="300.0" height="2.0" fill="#b9ad8e"/> +<text x="300.0 312.0 324.0" y="265.2" font-family="JetBrains Mono NL" font-size="20" fill="#4a5488" xml:space="preserve" font-weight="500">rax</text> +<text x="352.0" y="265.2" font-family="Go Medium" font-size="20" fill="#0a1030" xml:space="preserve">returns</text> +<text x="430.0 442.0 454.0 466.0" y="265.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">4096</text> +<text x="628.0" y="92.0" font-family="Go" font-size="18" fill="#4a5488" xml:space="preserve">the bytes it was given</text> +<rect x="628.0" y="100.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="629.0" y="101.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="629.0 641.0" y="120.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">0d</text> +<rect x="656.0" y="100.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="657.0" y="101.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="657.0 669.0" y="120.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">00</text> +<rect x="684.0" y="100.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="685.0" y="101.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="685.0 697.0" y="120.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">00</text> +<rect x="712.0" y="100.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="713.0" y="101.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="713.0 725.0" y="120.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">00</text> +<rect x="740.0" y="100.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="741.0" y="101.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="741.0 753.0" y="120.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">03</text> +<rect x="768.0" y="100.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="769.0" y="101.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="769.0 781.0" y="120.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">0f</text> +<rect x="796.0" y="100.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="797.0" y="101.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="797.0 809.0" y="120.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">e6</text> +<rect x="824.0" y="100.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="825.0" y="101.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="825.0 837.0" y="120.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">00</text> +<rect x="852.0" y="100.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="853.0" y="101.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="853.0 865.0" y="120.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">0f</text> +<rect x="880.0" y="100.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="881.0" y="101.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="881.0 893.0" y="120.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">f7</text> +<rect x="628.0" y="130.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="629.0" y="131.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="629.0 641.0" y="150.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">0f</text> +<rect x="656.0" y="130.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="657.0" y="131.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="657.0 669.0" y="150.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">ef</text> +<rect x="684.0" y="130.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="685.0" y="131.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="685.0 697.0" y="150.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">0f</text> +<rect x="712.0" y="130.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="713.0" y="131.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="713.0 725.0" y="150.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">e6</text> +<rect x="740.0" y="130.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="741.0" y="131.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="741.0 753.0" y="150.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">00</text> +<rect x="768.0" y="130.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="769.0" y="131.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="769.0 781.0" y="150.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">00</text> +<rect x="796.0" y="130.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="797.0" y="131.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="797.0 809.0" y="150.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">00</text> +<rect x="824.0" y="130.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="825.0" y="131.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="825.0 837.0" y="150.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">00</text> +<rect x="852.0" y="130.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="853.0" y="131.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="853.0 865.0" y="150.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">00</text> +<rect x="880.0" y="130.0" width="26.0" height="26.0" fill="#f3b9a0"/> +<rect x="881.0" y="131.0" width="24.0" height="24.0" fill="none" stroke="#0a1030" stroke-width="2"/> +<text x="881.0 893.0" y="150.2" font-family="JetBrains Mono NL" font-size="20" fill="#0a1030" xml:space="preserve" font-weight="500">00</text> +<rect x="976.0" y="48.0" width="880.0" height="24.0" fill="#16245f"/> +<rect x="977.0" y="49.0" width="878.0" height="198.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="985.0" y="55.0" width="10.0" height="10.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="1004.0" y="66.0" font-family="Go Medium" font-size="20" fill="#9aa6d9" xml:space="preserve">its bytes</text> +<text x="1093.7" y="66.0" font-family="Go" font-size="18" fill="#6a7ab8" xml:space="preserve">pBuf: page 2 of t.db, at rsi</text> +<rect x="982.0" y="79.0" width="2.0" height="18.0" fill="#5474ac"/> +<rect x="982.0" y="79.0" width="7.0" height="2.0" fill="#5474ac"/> +<rect x="982.0" y="95.0" width="7.0" height="2.0" fill="#5474ac"/> +<text x="994.0 1006.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#5474ac" xml:space="preserve" font-weight="500">53</text> +<text x="1018.0 1030.0 1042.0 1054.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">8b28</text> +<rect x="1104.0" y="77.0" width="32.0" height="22.0" fill="#16245f"/> +<rect x="1102.0" y="76.0" width="36.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> +<text x="1108.0 1120.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0d</text> +<text x="1616.0 1628.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">13</text> +<rect x="1134.0" y="77.0" width="62.0" height="22.0" fill="#16245f"/> +<rect x="1132.0" y="76.0" width="66.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> +<text x="1138.0 1150.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<text x="1168.0 1180.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<rect x="1194.0" y="77.0" width="62.0" height="22.0" fill="#16245f"/> +<rect x="1192.0" y="76.0" width="66.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> +<text x="1198.0 1210.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#717079" xml:space="preserve" font-weight="500">00</text> +<text x="1228.0 1240.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">03</text> +<text x="1652.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">3</text> +<rect x="1254.0" y="77.0" width="62.0" height="22.0" fill="#16245f"/> +<rect x="1252.0" y="76.0" width="66.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> +<text x="1258.0 1270.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0f</text> +<text x="1288.0 1300.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">e6</text> +<rect x="1314.0" y="77.0" width="32.0" height="22.0" fill="#16245f"/> +<rect x="1312.0" y="76.0" width="36.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> +<text x="1318.0 1330.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">00</text> +<rect x="1356.0" y="77.0" width="62.0" height="22.0" fill="#16245f"/> +<rect x="1354.0" y="76.0" width="66.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> +<text x="1360.0 1372.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0f</text> +<text x="1390.0 1402.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">f7</text> +<text x="1676.0 1688.0 1700.0 1712.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">4087</text> +<rect x="1416.0" y="77.0" width="62.0" height="22.0" fill="#16245f"/> +<rect x="1414.0" y="76.0" width="66.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> +<text x="1420.0 1432.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0f</text> +<text x="1450.0 1462.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">ef</text> +<text x="1736.0 1748.0 1760.0 1772.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">4079</text> +<rect x="1476.0" y="77.0" width="62.0" height="22.0" fill="#16245f"/> +<rect x="1474.0" y="76.0" width="66.0" height="24.0" fill="none" stroke="#6fd6e6" stroke-width="2"/> +<text x="1480.0 1492.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">0f</text> +<text x="1510.0 1522.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">e6</text> +<text x="1796.0 1808.0 1820.0 1832.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">4070</text> +<text x="1540.0 1552.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<text x="1570.0 1582.0" y="95.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<rect x="994.0" y="111.0" width="11.0" height="2.0" fill="#6a7ab8"/> +<path d="M1012,112 l-8,-5 v10 Z" fill="#6a7ab8"/> +<rect x="1020.0" y="114.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1028.0" y="114.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<rect x="1036.0" y="114.0" width="3.0" height="3.0" fill="#6a7ab8"/> +<text x="1060.0 1072.0 1084.0 1096.0 1108.0 1120.0 1132.0 1144.0" y="119.2" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">253 rows</text> +<rect x="982.0" y="127.0" width="2.0" height="18.0" fill="#5474ac"/> +<rect x="982.0" y="127.0" width="7.0" height="2.0" fill="#5474ac"/> +<rect x="982.0" y="143.0" width="7.0" height="2.0" fill="#5474ac"/> +<text x="994.0 1006.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#5474ac" xml:space="preserve" font-weight="500">53</text> +<text x="1018.0 1030.0 1042.0 1054.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">9b08</text> +<text x="1108.0 1120.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<text x="1138.0 1150.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<text x="1168.0 1180.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<text x="1198.0 1210.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<text x="1228.0 1240.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<text x="1258.0 1270.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#9aa6d9" xml:space="preserve" font-weight="500">00</text> +<rect x="1284.0" y="125.0" width="32.0" height="22.0" fill="#16245f"/> +<text x="1288.0 1300.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">07</text> +<rect x="1314.0" y="125.0" width="32.0" height="22.0" fill="#16245f"/> +<text x="1318.0 1330.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">03</text> +<text x="1616.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">3</text> +<rect x="1356.0" y="125.0" width="62.0" height="22.0" fill="#16245f"/> +<text x="1360.0 1372.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">02</text> +<text x="1390.0 1402.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">17</text> +<rect x="1416.0" y="125.0" width="152.0" height="22.0" fill="#16245f"/> +<text x="1420.0 1432.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">67</text> +<text x="1450.0 1462.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">61</text> +<text x="1480.0 1492.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">6d</text> +<text x="1510.0 1522.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">6d</text> +<text x="1540.0 1552.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">61</text> +<text x="1640.0 1652.0 1664.0 1676.0 1688.0 1700.0 1712.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">"gamma"</text> +<rect x="1566.0" y="125.0" width="32.0" height="22.0" fill="#16245f"/> +<text x="1570.0 1582.0" y="143.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">06</text> +<rect x="982.0" y="151.0" width="2.0" height="18.0" fill="#5474ac"/> +<rect x="982.0" y="151.0" width="7.0" height="2.0" fill="#5474ac"/> +<rect x="982.0" y="167.0" width="7.0" height="2.0" fill="#5474ac"/> +<text x="994.0 1006.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#5474ac" xml:space="preserve" font-weight="500">53</text> +<text x="1018.0 1030.0 1042.0 1054.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#86b6ff" xml:space="preserve" font-weight="500">9b18</text> +<rect x="1104.0" y="149.0" width="32.0" height="22.0" fill="#16245f"/> +<text x="1108.0 1120.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">02</text> +<text x="1616.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">2</text> +<rect x="1134.0" y="149.0" width="62.0" height="22.0" fill="#16245f"/> +<text x="1138.0 1150.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">02</text> +<text x="1168.0 1180.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">15</text> +<rect x="1194.0" y="149.0" width="122.0" height="22.0" fill="#16245f"/> +<text x="1198.0 1210.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">62</text> +<text x="1228.0 1240.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">65</text> +<text x="1258.0 1270.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">74</text> +<text x="1288.0 1300.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">61</text> +<text x="1640.0 1652.0 1664.0 1676.0 1688.0 1700.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">"beta"</text> +<rect x="1314.0" y="149.0" width="32.0" height="22.0" fill="#16245f"/> +<text x="1318.0 1330.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">07</text> +<rect x="1356.0" y="149.0" width="32.0" height="22.0" fill="#16245f"/> +<text x="1360.0 1372.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">01</text> +<text x="1724.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">1</text> +<rect x="1386.0" y="149.0" width="62.0" height="22.0" fill="#16245f"/> +<text x="1390.0 1402.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">02</text> +<text x="1420.0 1432.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#eee6d2" xml:space="preserve" font-weight="500">17</text> +<rect x="1446.0" y="149.0" width="152.0" height="22.0" fill="#16245f"/> +<text x="1450.0 1462.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">61</text> +<text x="1480.0 1492.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">6c</text> +<text x="1510.0 1522.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">70</text> +<text x="1540.0 1552.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">68</text> +<text x="1570.0 1582.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">61</text> +<text x="1748.0 1760.0 1772.0 1784.0 1796.0 1808.0 1820.0" y="167.2" font-family="JetBrains Mono NL" font-size="20" fill="#b5e8c8" xml:space="preserve" font-weight="500">"alpha"</text> +<rect x="64.0" y="899.0" width="1792.0" height="2.0" fill="#3a4a8a"/> +<rect x="64.0" y="898.0" width="1792.0" height="4.0" fill="#e8c46a"/> +<text x="1676.0 1688.0 1700.0 1712.0 1724.0 1736.0 1748.0 1760.0 1772.0 1784.0 1796.0 1808.0 1820.0 1832.0 1844.0" y="934.0" font-family="JetBrains Mono NL" font-size="20" fill="#6a7ab8" xml:space="preserve" font-weight="500">moment 58 of 58</text> +<text x="64.0" y="964.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">Page 2 as the kernel took it: </tspan><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="35">0d</tspan><tspan font-family="Go" font-weight="normal" fill="#eee6d2">, a table's leaf; 3 cells;</tspan></text> +<text x="64.0" y="1018.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">their offsets, </tspan><tspan font-family="JetBrains Mono NL" font-weight="normal" fill="#eee6d2" font-size="35">0ff7 0fef 0fe6</tspan><tspan font-family="Go" font-weight="normal" fill="#eee6d2">, each a row at the page's end.</tspan></text> +<rect x="52.5" y="482.0" width="3.0" height="20.0" fill="#e8c46a"/> +<rect x="52.5" y="482.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="499.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="670.0" width="3.0" height="212.0" fill="#e8c46a"/> +<rect x="52.5" y="670.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="879.0" width="10.0" height="3.0" fill="#e8c46a"/> +<rect x="52.5" y="482.0" width="3.0" height="400.0" fill="#e8c46a"/> +</svg> diff --git a/design/mock/context.py b/design/mock/context.py index 96d4484..64603a2 100644 --- a/design/mock/context.py +++ b/design/mock/context.py @@ -161,6 +161,9 @@ def chain(g, x, y, links, end, marks=None, room=None, lead=0): x += named if end is None: return where + if end[0] == "int" and links and room is not None and x + 30 + len("%x" % end[1]) * A + 24 > room: + more(g, x, y) # the value does not fit: the chain ends early, and says so + return where x = value_arrow(g, x, y) if links else x if marks.get("end") == "tick": # the value it holds changed within three steps g.rect(x - 7, y + 3, 4, ROW - 6, VERM) @@ -238,39 +241,50 @@ def registers(g, y, regs, flags, marks): return where -def stack(g, y, rows, frames): +def stack(g, y, rows, frames, note=None): """rows: (slot, pins, links, end[, marks]). frames: (name, first row, last row), newest first: the - backtrace, drawn on the words that are each frame. The window is the newest frame's, from rsp. - Returns each row's y.""" - y0 = panel(g, RX, y, CW, len(rows), "stack", note="%s words from rsp · the frames they belong to" % - {6: "six", 8: "eight"}[len(rows)]) + backtrace, drawn on the words that are each frame; a first row under 0 runs above the window. The window + is the newest frame's. A frame's name is never cut for a chain: the chains on the rows it sits on end 12 + before it. Returns each row's y.""" + y0 = panel(g, RX, y, CW, len(rows), "stack", note=(note or "%s words from rsp" % {6: "six", 8: "eight"}[len(rows)]) + + " · the frames they belong to") lead = shared([r[0] for r in rows]) + room = {} # a row's chain ends here, where a frame's name begins + spans = [] + for i, (name, first, last) in enumerate(frames): + if first >= len(rows): + break + open_top, open_ = first < 0, last >= len(rows) + first, last = max(first, 0), min(last, len(rows) - 1) + x, ya, yb = RX + CW - 14, y0 + first * ROW + (0 if open_top else 3), y0 + (last + 1) * ROW - (0 if open_ else 3) + ny = (ya + yb) / 2 + 6 # the name's baseline, and the rows its letters cover + nx = x - 14 - tw(name, 18, "sansm") + for r in range(len(rows)): + if y0 + r * ROW < ny + 4 and y0 + (r + 1) * ROW > ny - 14: + room[r] = min(room.get(r, RX + CW - 136), nx - 12) + spans.append((i, name, x, ya, yb, ny, open_top, open_)) ys = [] for i, (slot, pins, links, end, *marks) in enumerate(rows): yy = y0 + i * ROW ys.append(yy) if pins: pin(g, RX + 10, yy, pins, STACK) - chain(g, RX + 122, yy, [(slot, STACK)] + links, end, marks[0] if marks else None, room=RX + CW - 136, - lead=lead) - for i, (name, first, last) in enumerate(frames): - if first >= len(rows): - break + chain(g, RX + 122, yy, [(slot, STACK)] + links, end, marks[0] if marks else None, + room=room.get(i, RX + CW - 136), lead=lead) + for i, name, x, ya, yb, ny, open_top, open_ in spans: ink = GOLD if i == 0 else RULE - open_ = last >= len(rows) - last = min(last, len(rows) - 1) - x, ya, yb = RX + CW - 14, y0 + first * ROW + 3, y0 + (last + 1) * ROW - (0 if open_ else 3) g.rect(x - 1, ya, 2, yb - ya, ink) - g.rect(x - 7, ya, 8, 2, ink) + if not open_top: + g.rect(x - 7, ya, 8, 2, ink) if not open_: g.rect(x - 7, yb - 2, 8, 2, ink) - g.t(x - 14, (ya + yb) / 2 + 6, name, 18, BRIGHT if i == 0 else DIM, "sansm", "end") + g.t(x - 14, ny, name, 18, BRIGHT if i == 0 else DIM, "sansm", "end") return ys # ---- the program column ------------------------------------------------------------- C_WORDS = {"struct", "long", "static", "return", "while", "for", "int", "char", "sizeof", "if", "else", "void", "NULL", - "__attribute__", "noinline"} + "__attribute__", "noinline", "const", "unsigned", "do", "elif", "defined"} def c_line(g, x, y, text, limit): @@ -280,10 +294,13 @@ def c_line(g, x, y, text, limit): if text.lstrip().startswith("//"): g.t(x, b(y), text, S, COMMENT, ITAL) return - for m in re.finditer(r'"[^"]*"?|#\w+|<[\w.]+>|\w+|\s+|.', text): + for m in re.finditer(r'/\*.*?(\*/|$)|"[^"]*"?|#\w+|<[\w.]+>|\w+|\s+|.', text): s = m.group() if not s.strip(): continue + if s.startswith("/*"): # a comment, to the line's end or its close + g.t(x + m.start() * A, b(y), s, S, COMMENT, ITAL) + continue ink, face = VELLUM, MONO if s in C_WORDS or s.startswith("#"): ink, face = KW, BOLD @@ -294,32 +311,39 @@ def c_line(g, x, y, text, limit): g.t(x + (limit - 1) * A, b(y), "…", S, FAINT, MONO) +def wide(total): + """How much wider than three characters the program's largest line number is: the same in every window.""" + return max(len(str(total)) - 3, 0) * A + + def source(g, y, rows, lines, first, cur, trail, name, total): - """Returns the y of the current line's row.""" + """Returns the y of the current line's row. Numbers as wide as the file's last: the text moves by the extra.""" + w = wide(total) y0 = panel(g, LX, y, CW, rows, name, note=f"lines {first} to {first + rows - 1} of {total}") for i in range(rows): n = first + i yy = y0 + i * ROW if n == cur: g.rect(LX + 2, yy, CW - 4, ROW, EMBER[GOLD]) - g.rect(LX + 2, yy, 50, ROW, GOLD) - g.t(LX + 46, b(yy), str(n), S, INK, BOLD, "end") + g.rect(LX + 2, yy, 50 + w, ROW, GOLD) + g.t(LX + 46 + w, b(yy), str(n), S, INK, BOLD, "end") else: if n in trail: g.rect(LX + 2, yy + 1, 4, ROW - 2, TRAIL[min(trail.index(n), 2)]) - g.t(LX + 46, b(yy), str(n), S, FAINT, MONO, "end") - c_line(g, LX + 64, yy, lines[n - 1], (CW - 64 - 12) // A) + g.t(LX + 46 + w, b(yy), str(n), S, FAINT, MONO, "end") + c_line(g, LX + 64 + w, yy, lines[n - 1], (CW - 64 - w - 12) // A) return y0 + (cur - first) * ROW DX_ADDR, DX_LINE, DX_MN, DX_OPS, DX_NOTE = 40, 134, 180, 264, 564 -def disasm(g, y, rows, func, cur_line, jump=None): +def disasm(g, y, rows, func, cur_line, jump=None, w=0): """rows: (address, line, mnemonic, operands, state, note), in address order: the pc's row and as many above as below. state: cur | trail0..2 (it ran just now) | out (past the function's end) | None. note, the row's annotation: ("chain", links, end, marks) | ("set", register, links, end) | ("text", s). - jump: (from, to): a jump that was taken, drawn in the lane. + jump: (from, to): a jump that was taken, drawn in the lane. w: how much wider than three characters the + program's line numbers are; every column right of the line's moves by it. Returns each address's row y.""" y0 = panel(g, LX, y, CW, len(rows), "disassembly", note=func) lead = shared([r[0] for r in rows if r[4] != "out"]) @@ -339,10 +363,10 @@ def disasm(g, y, rows, func, cur_line, jump=None): addr(g, LX + DX_ADDR, yy, a, mix(CODE, PAGE, 0.6) if dim else CODE, lead=0 if dim else lead) if line != last_line and not dim: # the line this run of instructions was compiled from on = line == cur_line - g.t(LX + DX_LINE + 3 * A, b(yy), str(line), S, GOLD if on else FAINT, BOLD if on else MONO, "end") + g.t(LX + DX_LINE + 3 * A + w, b(yy), str(line), S, GOLD if on else FAINT, BOLD if on else MONO, "end") last_line = line - g.t(LX + DX_MN, b(yy), mn, S, FAINT if dim else KW, MONO if dim else BOLD) - x = LX + DX_OPS + g.t(LX + DX_MN + w, b(yy), mn, S, FAINT if dim else KW, MONO if dim else BOLD) + x = LX + DX_OPS + w for part, ink in ops: if isinstance(part, int): x = addr(g, x, yy, part, ink) @@ -351,7 +375,7 @@ def disasm(g, y, rows, func, cur_line, jump=None): x += len(part) * A if not note: continue - x = max(LX + DX_NOTE, x + A) # operands are never cut where the row has room + x = max(LX + DX_NOTE + w, x + A) # operands are never cut where the row has room if note[0] == "text": g.t(x, b(yy), note[1], S, note[2] if len(note) > 2 else DIM, MONO) elif note[0] == "set": # what an instruction that ran left in a register: a register row, small @@ -376,6 +400,117 @@ def thread(g, ys, spans): # ---- the lens: a list, and beside it the bytes it is drawn from ------------------------- +def fields(g, y, h, about, base, length, flist, mem, region, region_of, marks=()): + """`hexdump` by `fields`: the region a scene names, read by the fields it gives it, in the band's view. + flist: (at, len, reads, big, mark) with reads in number | pointer | text | bytes. mem: {address: byte} of what + the stop shown saw (or the kernel took); a byte not in it is unread. marks: the field marks framed as read. + Rows that hold no field are one `more` row and their count. The bytes begin 12 after the widest address.""" + tag(g, RX, y, CW, h, "its bytes") + g.t(RX + 28 + tw("its bytes", 20, "sansm") + 12, y + 18, about, 18, FAINT, "sans") + total = (length + 15) // 16 + holds = lambda r: any(base + at < base + 16 * (r + 1) and base + at + n > base + 16 * r for at, n, *_ in flist) + shown = [r for r in range(total) if holds(r) or total <= (h - TAG - 2 * PAD) // ROW] + digits = max(len("%x" % (base + 16 * r)) for r in shown) + shift = max(18 + digits * A + 12 - 132, 0) + bx = lambda i: RX + 132 + shift + i * 30 + (12 if i >= 8 else 0) + lead = shared([base + 16 * r for r in shown]) if len(shown) > 1 else 0 + yy, last = y + TAG + PAD, None + for r in shown: + if last is not None and r > last + 1: # the rows left out: one row, and how many + more(g, RX + 18 - 6, yy) + g.t(RX + 18 + 30 + 36, b(yy), "%d rows" % (r - last - 1), S, FAINT, MONO) + yy += ROW + last = r + a0 = base + 16 * r + bracket(g, RX + 7, yy + 3, yy + ROW - 3, mix(region, PAGE, 0.6)) + addr(g, RX + 18, yy, a0, region, lead=lead) + runs, i = [], 0 + while i < 16 and a0 + i < base + length: + f = next((f for f in flist if base + f[0] <= a0 + i < base + f[0] + f[1]), None) + if f: + n = min(base + f[0] + f[1] - (a0 + i), 16 - i) + else: + n = min([base + o[0] - a0 for o in flist if a0 + i < base + o[0] < a0 + 16] + [16, base + length - a0]) - i + runs.append((i, n, f)) + i += n + x = RX + 640 + shift # the reading: a list, a character apart + for i0, n, f in runs: + vals = [mem.get(a0 + k) for k in range(i0, i0 + n)] + reads = f[2] if f else "loose" + x0, x1 = bx(i0) - 4, bx(i0 + n - 1) + 28 + if f: + g.rect(x0, yy + 1, x1 - x0, ROW - 2, RAISED) + if f[4] is not None and f[4] in marks: + g.frame(x0 - 3, yy - 1, x1 - x0 + 6, ROW + 2, READ, 2) + known = None not in vals + word = 0 + if known: + order = vals[::-1] if not (f and f[3]) else vals + for v in order: + word = word << 8 | v + ink = {"number": VELLUM, "bytes": VELLUM, "text": LIT, "loose": DIM, + "pointer": region_of(word) if known else VELLUM}[reads] + nz = [k for k, v in enumerate(vals) if v] + for k, v in enumerate(vals): + xx = bx(i0 + k) + if v is None: # not read at this stop: two dots, on the field's paper + g.rect(xx + 5, yy + 11, 4, 4, FAINT) + g.rect(xx + 15, yy + 11, 4, 4, FAINT) + continue + padded = reads in ("number", "pointer") and nz and (k < nz[0] if f[3] else k > nz[-1]) + g.t(xx, b(yy), "%02x" % v, S, mix(ink, PAGE, 0.45) if padded else ink, MONO) + if not known or reads in ("bytes", "loose"): + continue + if reads == "pointer": + if word == 0: + s_, sink = "NULL", DIM + else: + x = addr(g, link_arrow(g, x, yy), yy, word, region_of(word)) + A + continue + elif reads == "number": + s_, sink = str(word), VELLUM + else: + s_, sink = '"' + bytes(vals).split(b"\0")[0].decode("latin1") + '"', LIT + if x + len(s_) * A > RX + CW - 12: + s_ = s_[:max(int((RX + CW - 12 - x) // A) - 1, 0)] + "…" + g.t(x, b(yy), s_, S, sink, MONO) + x += (len(s_) + 1) * A + yy += ROW + + +def kernel(g, y, h, calls, name, nr, rows, given): + """`syscalls` in the band: the kernel's side, on vellum. calls: (name, result), newest first (the first is + the call in hand, gold: where execution is); rows: (register, argument, value, note); given: the bytes it took.""" + tag(g, LX, y, CW, h, "kernel", note="the other side of a system call") + g.rect(LX + 2, y + TAG, CW - 4, h - TAG - 2, gen.KERNEL) + g.t(LX + 12, y + TAG + 20, "calls so far", 18, gen.KERNEL_DIM, "sans") + for i, (c, ret) in enumerate(calls[:(h - TAG - 40) // 28]): + yy = y + TAG + 28 + i * 28 + if i == 0: + g.rect(LX + 12, yy, 196, 24, GOLD) + g.frame(LX + 12, yy, 196, 24, PAGE, 2) + g.t(LX + 20, b(yy), c, S, PAGE, MONO) + g.t(LX + 200, b(yy), str(ret), S, PAGE, MONO, "end") + x = LX + 236 + g.t(x, y + TAG + 46, name, 35, PAGE, "monob") + g.t(x + len(name) * 21 + 16, y + TAG + 44, "system call %d" % nr, 18, gen.KERNEL_DIM, "sans") + for i, (reg, arg, val, note) in enumerate(rows): + yy = y + TAG + 60 + i * 28 + g.rect(x, yy, 300, 2, gen.KERNEL_RULE) + g.t(x, b(yy + 2), reg, S, gen.KERNEL_DIM, MONO) + g.t(x + 52, b(yy + 2), arg, 20, PAGE, "sansm") + g.t(x + 130, b(yy + 2), val, S, PAGE, MONO) + if note: + g.t(x + 130 + (len(val) + 1) * A, b(yy + 2), note, S, PAGE, MONO) + x = LX + 564 + g.t(x, y + TAG + 20, "the bytes it was given", 18, gen.KERNEL_DIM, "sans") + for i, v in enumerate(given): + xx, yy = x + (i % 10) * 28, y + TAG + 28 + (i // 10) * 30 + g.rect(xx, yy, 26, 26, gen.KERNEL_HELD) + g.frame(xx, yy, 26, 26, PAGE, 2) + g.t(xx + 1, b(yy + 1), "%02x" % v, S, PAGE, MONO) + + def dump_row(g, y, a, runs, lead, mark=None, node=False): """A hexdump row: sixteen bytes and what they read as. runs: (first byte, bytes, kind, value) with kind in value | next | malloc | unread. mark: {"read": run index, "tick": run index}.""" @@ -703,21 +838,26 @@ def calls(g, y, h, tree, made, caller, project_from=None): return cx, cy -def backtrace(g, y, h, frames): - """The view of the calls: the call chain as rows, newest on top. frames: (name, args, file, line).""" - y0 = panel(g, RX, y, CW, (h - TAG - 2 * PAD) // ROW, "backtrace", note="the calls waiting · newest on top") - for i, (name, args, file, line) in enumerate(frames): +def backtrace(g, y, h, frames, x=RX, note="the calls waiting · newest on top", focus=False): + """The call chain as rows, newest on top: the view of the calls, or a lens's drawing (x = LX). frames: (name, + args, file, line), file None where the recording does not know it. More frames than rows: the oldest go, counted.""" + rows = (h - TAG - 2 * PAD) // ROW + if len(frames) > rows: + note += " · %d more" % (len(frames) - rows) + y0 = panel(g, x, y, CW, rows, "backtrace", focus=focus, note=note) + for i, (name, args, file, line) in enumerate(frames[:rows]): yy = y0 + i * ROW if i == 0: - g.rect(RX + 2, yy, CW - 4, ROW, EMBER[GOLD]) - g.rect(RX + 2, yy, 40, ROW, GOLD) - g.t(RX + 12, b(yy), "#0", S, INK, BOLD) + g.rect(x + 2, yy, CW - 4, ROW, EMBER[GOLD]) + g.rect(x + 2, yy, 40, ROW, GOLD) + g.t(x + 12, b(yy), "#0", S, INK, BOLD) else: - g.t(RX + 12, b(yy), "#%d" % i, S, FAINT, MONO) - g.t(RX + 60, b(yy), name, S, VELLUM, MONO) + g.t(x + 12, b(yy), "#%d" % i, S, FAINT, MONO) + g.t(x + 60, b(yy), name, S, VELLUM, MONO) if args: - g.t(RX + 384, b(yy), args, S, VELLUM, MONO) - g.t(RX + CW - 12, b(yy), "%s:%d" % (file, line), S, DIM, MONO, "end") + g.t(x + 384, b(yy), args, S, VELLUM, MONO) + if file: + g.t(x + CW - 12, b(yy), "%s:%d" % (file, line), S, DIM, MONO, "end") # ---- the data: moments 752 and 753 of the fib scene (anim/zig-out/recordings/steps.ztrace) ----- @@ -792,6 +932,155 @@ def frame_calls(name): g.save(name) +# ---- the data: the sqlite scene (anim/scenes/sqlite.zig), its stops 120 and 169 --------------------- +SQ = "/home/goblin/05-genizah/sqlite/sqlite-amalgamation-3500400/sqlite3.c" +SQ_LINES = {n: l for n, l in enumerate(open(SQ, errors="replace").read().split("\n"), 1) if 42280 <= n <= 42300 or 80885 <= n <= 80905} +SQ_TOTAL = 262899 + + +class Lines(dict): + """The source's lines a mock shows, by number (sqlite3.c is 262 899 of them).""" + def __getitem__(self, i): + return SQ_LINES.get(i + 1, "") + + +def sq_region(v): + """Where a value of the sqlite recording points, by its mappings: the ink of its digits.""" + if 0x7ffffffde000 <= v < 0x7ffffffff000: + return S_ + if 0x517000 <= v < 0x55b000: + return H_ + if 0x510000 <= v < 0x517000: + return D_ + if 0x402000 <= v < 0x4ed000 or 0x7ffff7c24000 <= v < 0x7ffff7d9f000: + return C_ + return VELLUM + + +SQ_FLAGS_120 = [("CF", 0, 0), ("PF", 0, 1), ("AF", 0, 0), ("ZF", 0, 1), ("SF", 0, 0), ("IF", 1, 0), ("DF", 0, 0), ("OF", 0, 0)] +SQ_FLAGS_169 = [("CF", 1, 1), ("PF", 1, 1), ("AF", 0, 0), ("ZF", 0, 0), ("SF", 0, 0), ("IF", 1, 0), ("DF", 0, 0), ("OF", 0, 0)] +E980 = [(0x7fffffffe980, S_), (0x7fffffffeb90, S_), (0x7fffffffec60, S_), (0x7fffffffece0, S_), (0x7fffffffed00, S_)] +E7E0 = [(0x7fffffffe7e0, S_), (0x7fffffffe820, S_), (0x7fffffffe860, S_), (0x7fffffffe8d0, S_), (0x7fffffffe940, S_)] +SQ_REGS_120 = [ + ("rax", [(0x5226d0, H_)], ("int", 0)), ("rbx", [], ("int", 1)), ("rcx", [], ("int", 0)), ("rdx", [], ("int", 8)), + ("rsi", [(0x7fffffffea60, S_)], ("int", 0)), ("rdi", [(0x521978, H_)], ("int", 0x101)), + ("rbp", E980, None), ("rsp", E980, None), ("r8", [], ("int", 0x38)), ("r9", [], ("int", 0)), + ("r10", [], ("int", 7)), ("r11", [], ("int", 0xffffffff)), ("r12", [], ("int", 0)), + ("r13", [(0x5222d0, H_)], ("int", 0x39fb80)), ("r14", [(0x5218f8, H_)], ("int", 0x40100010000)), + ("r15", [], ("int", 0)), ("rip", [(0x448d84, C_, "sqlite3BtreeInsert+4")], None), +] +PAGE_W = 0xe60f030000000d +SQ_REGS_169 = [ + ("rax", [], ("int", 0x1000)), ("rbx", [], ("int", 3)), ("rcx", [(0x7ffff7cf1a7d, C_, "__pwrite64+173")], None), + ("rdx", [], ("int", 0x1000)), ("rsi", [(0x538b28, H_)], ("int", PAGE_W)), ("rdi", [], ("int", 3)), + ("rbp", E7E0, None), ("rsp", [(0x7fffffffe7a0, S_)], ("int", 0)), ("r8", [], ("int", 0)), ("r9", [], ("int", 0)), + ("r10", [], ("int", 0x1000)), ("r11", [], ("int", 0x246)), ("r12", [], ("int", 0x1000)), + ("r13", [(0x538b28, H_)], ("int", PAGE_W)), ("r14", [], ("int", 0x1000)), ("r15", [(0x538b28, H_)], ("int", PAGE_W)), + ("rip", [(0x422051, C_, "unixWrite+65")], None), +] +EA18 = [(0x7fffffffea18, S_), (0x517378, H_), (0x513010, D_)] +SQ_STACK_120 = [ # from rsp: sqlite3BtreeInsert's saved rbp and return address, then its caller's words + (0x7fffffffe980, ["rbp", "rsp"], E980[1:], None), + (0x7fffffffe988, [], [(0x43e029, C_, "sqlite3VdbeExec+18905")], None), + (0x7fffffffe990, [], [(0x7ffff7c0ed60, VELLUM)], ("int", 0xd001200000f05)), + (0x7fffffffe998, [], EA18, ("int", 0x7800000003)), + (0x7fffffffe9a0, [], [(0x521ed0, H_)], ("int", 0)), + (0x7fffffffe9a8, [], EA18, ("int", 0x7800000003)), +] +SQ_STACK_169 = [ # rsp+20 to rsp+48: the words unixWrite's prologue pushed, its saved rbp, its way back + (0x7fffffffe7c0, [], [], ("int", 0), {"end": "tick"}), + (0x7fffffffe7c8, [], [(0x538b28, H_)], ("int", PAGE_W), {1: "tick"}), + (0x7fffffffe7d0, [], [(0x517e38, H_), (0x513010, D_)], ("int", 0x7800000003), {1: "tick"}), + (0x7fffffffe7d8, [], [], ("int", 2), {"end": "tick"}), + (0x7fffffffe7e0, ["rbp"], E7E0[1:], None), + (0x7fffffffe7e8, [], [(0x42fa75, C_, "pager_write_pagelist+245")], None), +] +SQ_DIS_120 = [(a, 80895, mn, [(ops, P)], "cur" if a == 0x448d84 else None, None) for a, mn, ops in [ + (0x448d80, "push", "rbp"), (0x448d81, "mov", "rbp, rsp"), (0x448d84, "push", "r15"), (0x448d86, "push", "r14"), + (0x448d88, "push", "r13"), (0x448d8a, "push", "r12"), (0x448d8c, "push", "rbx"), (0x448d8d, "sub", "rsp, 0xa8"), + (0x448d94, "mov", "r14d, ecx")]] +SQ_DIS_169 = [(a, 42290, mn, ops, "cur" if a == 0x422051 else None, None) for a, mn, ops in [ + (0x422042, "mov", [("rsi, r15", P)]), (0x422045, "mov", [("rdx, r12", P)]), (0x422048, "mov", [("rcx, r14", P)]), + (0x42204b, "call", [("qword ptr [rip + 0xf1567]", P)]), (0x422051, "mov", [("r13, rax", P)]), + (0x422054, "test", [("r13d, r13d", P)]), (0x422057, "jns", [(0x422070, C_)]), (0x422059, "call", [(0x4021c0, C_)]), + (0x42205e, "mov", [("ecx, dword ptr [rax]", P)])]] +SQ_BT_120 = [("sqlite3BtreeInsert+4", "", "sqlite3.c", 80895), ("sqlite3VdbeExec+18905", "", None, 0), + ("sqlite3_step+910", "", None, 0), ("sqlite3_exec+394", "", None, 0), ("main+56", "", None, 0), + ("libc.so.6+27781", "", None, 0), ("__libc_start_main+137", "", None, 0), ("_start+37", "", None, 0)] +# BtreePayload (the source's lines 16740 to 16748), as the scene gives it: (at, len, reads, big, mark) +PAYLOAD = [(0, 8, "pointer", False, None), (8, 8, "number", False, 0), (16, 8, "pointer", False, None), + (24, 8, "pointer", False, None), (32, 2, "number", False, None), (36, 4, "number", False, 1), + (40, 4, "number", False, None)] +ROW_BYTES = bytes.fromhex("0000000000000000 0100000000000000 884d520000000000 0000000000000000" + "0000000007000000 0000000001000000".replace(" ", "")) +PAGE0 = bytes.fromhex("0d000000030fe6000ff70fef0fe60000") +PAGE_END = bytes.fromhex("0000000000000703021767616d6d61060202156265746107010217616c706861") + + +def leaf(page): + """A table's leaf page, read by SQLite's file format (the scene's `leaf`): the header, the cell pointers, + each cell's length, rowid, record header and text. Every number big-endian, every varint here a byte.""" + out = [(0, 1, "number", False, 0), (1, 2, "bytes", True, 0), (3, 2, "number", True, 0), (5, 2, "bytes", True, 0), + (7, 1, "bytes", False, 0)] + cells = page[3] << 8 | page[4] + out += [(8 + 2 * k, 2, "number", True, 1) for k in range(cells)] + for k in range(cells): + at = page[8 + 2 * k] << 8 | page[9 + 2 * k] + out += [(at, 1, "bytes", False, 2 + k), (at + 1, 1, "number", False, 2 + k), (at + 2, 2, "bytes", False, 2 + k), + (at + 4, page[at] - 2, "text", False, 2 + k)] + return out + + +def frame_sqlite(name, late): + """The sqlite scene at rest. Early (stop 120): the backtrace is the band's drawing, and the row the B-tree + is handed, a struct on the stack, its view. Late (stop 169): pwrite64 has come back; the kernel's side is the + drawing, and the page it took the view, read by SQLite's file format.""" + g = Svg() + sp = SUBJECT + y = TOP + sp["band"] + 12 + yr = TOP + sp["view"] + 12 + lines = Lines() + w = wide(SQ_TOTAL) + if not late: + source(g, y, sp["src"], lines, 80890, 80895, [], "sqlite3.c", SQ_TOTAL) + disasm(g, y + ph(sp["src"]) + 12, SQ_DIS_120, "sqlite3BtreeInsert", 80895, w=w) + ys = y + TAG + PAD + 5 * ROW + changed = {r: {0: "tick"} for r, _, _ in SQ_REGS_120 if r not in ("r12", "rip")} + registers(g, yr, SQ_REGS_120, SQ_FLAGS_120, changed) + stack(g, yr + ph(17) + 12, SQ_STACK_120, [("sqlite3BtreeInsert", 0, 1), ("sqlite3VdbeExec", 2, 9)]) + backtrace(g, TOP, sp["band"], SQ_BT_120, x=LX, note="newest on top", focus=True) + base = 0x7fffffffea60 + fields(g, TOP, sp["view"], "pX, the row: a BtreePayload, at rsi", base, 48, PAYLOAD, + {base + i: v for i, v in enumerate(ROW_BYTES)}, STACK, sq_region, marks=(0, 1)) + clock(g, 9, 58) + gen.caption(g, [[("sqlite3VdbeExec", "mono"), (", the bytecode's loop, calls the B-tree: ",), ("rdi", "mono"), (" is",)], + [("the table's cursor, ",), ("rsi", "mono"), (" the row: rowid 1, a record of 7 bytes.",)]]) + else: + source(g, y, sp["src"], lines, 42286, 42290, [], "sqlite3.c", SQ_TOTAL) + disasm(g, y + ph(sp["src"]) + 12, SQ_DIS_169, "unixWrite", 42290, w=w) + ys = y + TAG + PAD + 4 * ROW + changed = {r: {0: "tick"} for r, _, _ in SQ_REGS_169 if r not in ("r9", "rip")} + registers(g, yr, SQ_REGS_169, SQ_FLAGS_169, changed) + stack(g, yr + ph(17) + 12, SQ_STACK_169, [("unixWrite", -1, 5)], note="rsp+20 to rsp+48") + page = bytes(4096 - len(PAGE_END) - len(PAGE0)) # the middle of the page is not drawn: `more` + page = PAGE0 + page + PAGE_END + kernel(g, TOP, sp["band"], [("pwrite64", 4096), ("pwrite64", 4096), ("fsync", 0), ("pwrite64", 12), + ("close", 0), ("fsync", 0), ("openat", 5), ("fsync", 0)], + "pwrite64", 18, [("rdi", "fd", "3", '"t.db"'), ("rsi", "buf", "538b28", None), + ("rdx", "count", "4096", None), ("r10", "offset", "4096", None), + ("rax", "returns", "4096", None)], PAGE0 + bytes(4)) + base = 0x538b28 + took = {base + i: v for i, v in enumerate(PAGE0)} + took.update({base + 0xfe0 + i: v for i, v in enumerate(PAGE_END)}) + fields(g, TOP, sp["view"], "pBuf: page 2 of t.db, at rsi", base, 4096, leaf(page), took, HEAP, sq_region, + marks=(0, 1)) + clock(g, 58, 58) + gen.caption(g, [[("Page 2 as the kernel took it: ",), ("0d", "mono"), (", a table's leaf; 3 cells;",)], + [("their offsets, ",), ("0ff7 0fef 0fe6", "mono"), (", each a row at the page's end.",)]]) + thread(g, ys, [(y + ph(sp["src"]) + 12 + TAG + PAD, y + ph(sp["src"]) + 12 + TAG + PAD + 9 * ROW)]) + g.save(name) + + if __name__ == "__main__": assert ph(8) + 12 + ph(17) == ph(17) + 12 + ph(8) == BOTTOM - TOP - 152 - 12 # lens beside assert ph(10) + 12 + ph(9) == BOTTOM - TOP - 296 - 12 # lens as subject: the drawing @@ -802,3 +1091,5 @@ if __name__ == "__main__": frame("10-context-step", True) frame("11-context-lens", True, subject=True) frame_calls("12-calls-subject") + frame_sqlite("13-sqlite-row", False) + frame_sqlite("14-sqlite-page", True) diff --git a/design/motion.md b/design/motion.md index c33a13e..065ee86 100644 --- a/design/motion.md +++ b/design/motion.md @@ -462,7 +462,8 @@ the frame saying what the digits say. | --- | --- | --- | | to a line 1 to 8 rows away, in view | 12, and 2 a row beyond the first, 24 at most | slides, `standard`; the number appears in the plaque when it lands | | a call, a return, more than 8 rows | 6 out, 6 in, the in starting as the out ends | the old place takes the trail's first colour | -| to a line out of view | 24 before the mark moves | the text scrolls by whole lines, `glide`; never a cut | +| to a line out of view, within a window's height | 24 before the mark moves | the text scrolls by whole lines, `glide`; never a cut | +| to a line farther than that (another function, line 42 290 after 80 895) | 12 out, 12 in, before the mark moves | the window fades through: scrolled, it would only blur | The trail shifts without animation. @@ -474,7 +475,7 @@ arrives. | Frames | | | --- | --- | | 0 to 12 | fire on the line | -| 18, 24, 30, 36 | `rax`, `rdi`, `rsi`, `rdx` framed as read, 6 f each | +| 18, 24, 30, 36 | `rax`, `rdi`, `rsi`, `rdx` framed as read, 6 f each: those that hold the argument at the stop shown, and no other | | 48 to 72 | the crossing arrow draws down from the registers through the line, `standard` | | 60 to 72 | the last call's name and rows fade out, `exit` | | 72 to 84 | this call's name fades in, rising 8 units | @@ -482,16 +483,20 @@ arrives. | 102 to 120 | its card pushes on the kernel's list | | 120 to 144 | a flow draws from the kernel up to `buf` | | 144 to 176 | the 16 bytes strike 2 f apart; no pulse | +| 180 to 186 | the `returns` row takes the value: the kernel answers before the answer travels | | 186 to 210 | the arrow back draws up | -| 198 to 210, 210 | arm, strike: `rax` | -| 216 | the `returns` row takes the value | -| 222 to 234, 234 | arm, strike: the word the line stores the result in (`n = read(…)`), when it does | +| 198 to 210, 210 | arm, strike: `rax`, as the arrow lands | +| 216, 222, … | the other registers the step changed (those the call clobbers, rcx and r11; those the wrapper restored), 6 f apart; then pins and links | +| 222 to 234, 234 | arm, strike: the word the line stores the result in (`n = read(…)`), when it does, after the registers | | 234 to 270 | hold | | 270 to 282 | advance | | 282 to 306 | rest | The result is stored only after the kernel has given it: `returns` has -the value before the local does, never the other way round. +the value before rax, and rax before the local, never the other way +round. A step that makes more than one call (a continue through a +library) is not a crossing: the kernel's list takes the calls, oldest +first, 2 f apart, the newest decoded, and the step is a `continue`. For `write` the work runs the other way: the user's bytes framed as read (120 to 126), a flow down (126 to 150), the kernel's cells filling 2 f @@ -499,6 +504,25 @@ apart. A call with no work (`close`) goes from 120 straight to the arrow back: 3.7 s. Nothing on the kernel's side changes before frame 60: the kernel does not know the call until it has crossed. +### A continue + +A stop far from the last: a breakpoint hit, thousands of instructions on. +The levels are the cascade's; what is in them is not one write each. + +| Frames | | +| --- | --- | +| 0 to 12 | fire on the line the program left from | +| 18 to 18 + 2n + 6 | the n registers that changed strike in a wave, top to bottom in pwndbg's order, 2 f apart; the fill in over 6 f; no arm, no pulse | +| then 18 f | memory: the stack's window scrolls to the new frame (24 f) when that is within six slots, else fades out (12 f) and in (12 f) with no marks; a dump the scene keeps follows its region the same way | +| with it | the backtrace: frames that end fade out (12 f); frames both stops share slide to their new depth (24 f, `glide`); new ones fade in (12 f) | +| then 18 f | the idea: the lens's drawing reacts, or a lens the scene brings comes in | +| 36 f after the last strike | hold | +| 12 | the advance: the mark jumps (6 out, 6 in), the source and disassembly fading through first when the new line is farther than a window | +| 24 | rest; the clock's gold for every moment passed fades in at once | + +A dozen registers struck on one frame is a flash that says only "a lot"; +the wave says it in about 0.6 s and lets the eye run down the panel with it. + ### A swap The compare in the step before is its anticipation: both cells framed as |
