more work done
This commit is contained in:
parent
5cc5612f4e
commit
d323bb28fc
68 changed files with 714 additions and 19 deletions
|
|
@ -204,11 +204,16 @@ Verified first live class batch landed on 2026-04-06.
|
|||
- `13a0:045c FUN_13a0_045c` now also carries a decompiler comment recording the same split from the consumer side: it reads descriptor bytes and inline strings directly from the `+0x09` lane and dereferences the `+0x0d` lane as the evaluation context while formatting debugger dump/watch text into the shared output buffer at `0x45a6`.
|
||||
- The `CallstackPushFrame` comment in seg1408 was updated to reflect that narrower live read: `+0x09` is no longer just a generic source-derived far pointer, but a real source-stream cursor used by the seg109 formatter path.
|
||||
- That naming decision is now applied live too. `/Remorse/UsecodeDebuggerCallstackEntry` now exposes `source_stream_cursor_farptr` at offset `+0x09` with a matching field comment in the datatype manager, and `CallstackPushFrame` now uses `source_stream_cursor_farptr` in its parameter list instead of the older `source_stream_target_farptr` wording.
|
||||
- The seg109 consumer helpers are now named live as stable free functions rather than left comment-only:
|
||||
- `13a0:0291` -> `usecode_debugger_format_expression_to_shared_buffer`
|
||||
- `13a0:045c` -> `usecode_debugger_format_descriptor_expression`
|
||||
- Those names are still intentionally conservative. They record the verified behavior now visible in both producer-side and consumer-side comments: `13a0:0291` resolves the current debugger callstack entry and writes the formatted result into the shared output buffer, while `13a0:045c` interprets the descriptor/source-stream cursor plus frame payload context rather than merely dumping raw bytes.
|
||||
- Added decompiler comments on the breakpoint and callstack helpers so the recovered inline-record layout is visible in-session even before every field is formally typed.
|
||||
- Added decompiler comments on the only verified `Interpreter_NextUsecodeOp` caller of `CallstackPushFrame`, which confirms the current live read of the three trailing callstack dwords:
|
||||
- `source_stream_target_farptr` is source-stream-derived from the interpreter `+0xd6/+0xd8` lane plus one fetched word
|
||||
- `current_frame_payload_farptr` is current-frame-derived from the `frame_base + 0x04` lane
|
||||
- `aux_farptr` is still zero in the only verified caller
|
||||
- A second caller pass on 2026-04-08 still did not widen that lane: `get_callers(1408:02f5)` still reports only `1418:051d Interpreter_NextUsecodeOp`, and the live `CallstackPushFrame` comment now records that the trailing `aux_farptr` slot remains literal zero in retail while the current seg109 consumers still only read `+0x09` and `+0x0d`.
|
||||
|
||||
## Current Cautions
|
||||
|
||||
|
|
@ -221,7 +226,7 @@ Verified first live class batch landed on 2026-04-06.
|
|||
|
||||
1. Cross-check the seg1408 class note against the interpreter callback site at `1418:04b5` so the dormant-orphan lifecycle remains explicit in the live notes now that slot 0 is confirmed to land on an inert retail stub.
|
||||
2. Decide whether `aux_farptr` should remain neutral or can be promoted after one more caller or consumer pass.
|
||||
3. Decide whether `13a0:0291` and `13a0:045c` are ready for stable debugger-UI names or should remain comment-backed until another direct caller or string anchor lands.
|
||||
3. If the debugger family is revisited again, prioritize non-retail callback behavior or instantiation evidence before spending more time on the already-stable retail formatter lane.
|
||||
4. If the debugger family stalls there, switch to the next planned class-lift family instead of overworking this orphaned subsystem.
|
||||
|
||||
## Bottom Line
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue