Byrgenwerthnotes of Paleblood, rebuilding Bloodborne one verified function at a time

Week of 19 October 2026: A bounded verification pipeline and a clearer site

The documentation caught up with merged tracing, control-flow feedback and the opt-in automation prototype, the runtime numbers followed the newest merged boot record, and the site got a new menu. None of it establishes a new verified function or startup milestone.

Runtime and boot progress

Catching up on 11–15 October. @clee's merged PR #66 makes getpagesize stop by name under both import names instead of guessing. The game's own executables bound the answer to a divisor of 16384 (4096, 8192 or 16384), and no public source says which one the PS4 reports, so only a console observation can settle it. The entries do not count as implemented.

@EzequielRindello's merged PR #62 compares guest thread handles, and PR #72 supplies the documented sched_yield path. scePthreadYield stays unresolved because its PS4 return signature is unknown. The registry tests are synthetic. No boot was run for this audit; the saved result still stops at scePthreadAttrGetaffinity, before the first startup milestone.

merged#82 runtime: implement memcpy and memset (libSceLibcInternal), by @EzequielRindello. Merged 2026-10-19.

  • System calls: memcpy; memset.
  • Tests: 2 synthetic runtime test(s); the effect on the real boot is measured after merge, so this is not a boot result.
  • Left unresolved: PS4 C library behavior for undefined cases (overlapping memcpy regions, null pointers) is not modelled.

merged#81 runtime: implement scePthreadAttrSetdetachstate, by @BluePinetree. Merged 2026-10-19.

  • System calls: scePthreadAttrSetdetachstate (libkernel); pthread_attr_setdetachstate (libScePosix); rt_thread_attr_detach_state (internal reader for thread creation).
  • Tests: 4 synthetic runtime test(s); the effect on the real boot is measured after merge, so this is not a boot result.
  • Left unresolved: the PS4 detach state of a fresh attribute: the reader stops by name; the PS4 detach state of an attribute filled by scePthreadAttrGet: the reader stops by name; null or empty variable meaning the defaults at thread creation is libthr behaviour; the runtime stops in both cases; the reader has no production caller until scePthreadCreate is implemented; pthread_attr_init and pthread_attr_destroy (POSIX names) are not registered yet.

Merged PR #82, by EzequielRindello, adds registry-backed memcpy and memset. Merged PR #81, by BluePinetree, adds detach-state setters and a reader that fails loudly for an unknown system default. Focused synthetic registry tests support these changes; neither merge is a new game boot or verified-function promotion. Source reviewed: 2e5da0854d999c486f4310ba0b7b055d4e939f36.

merged#83 runtime: report stub modules loaded at run time, by @adurham. Merged 2026-10-20.

  • No function status changed.

Decompilation and verified functions

Catching up on 11–15 October, which fell between the daily posts and the first weekly one. @ThisIsAkill's merged PR #64 replaces event_flag_write: a lookup by flag group picks direct or strided storage, then sets or clears the flag's bit. All 14 authored edge cases match the original, so it is edge-verified, not verified: no game recording reaches it yet, and finding the save state that does is the open question.

No function was implemented, promoted, or newly verified during this documentation audit. The generated baseline remains 21 fully verified and 31 cumulative replaced/edge-verified functions. The AI article now limits its claim to the verified shared-world wrapper; it does not claim that individual enemy or boss decisions have been decoded. Existing original-instruction evidence was not rerun.

Tooling and automation

Catching up on 11–15 October. @ThisIsAkill's merged PR #65 adds a function catalog that ranks research candidates from static call and instruction data, and PR #67 qualifies those candidates by ownership and evidence, so a candidate without ownership evidence stays conditional rather than queued.

Merged Paleblood PR #70 supplies fixture replay, bounded exploration, mismatch minimization, and evidence bundles. PR #74 adds supported guest-instruction memory observations; #75 corrects POP's stack-relative destination, and #76 rejects classified unsupported instruction families. #78 adds bounded block/edge feedback, and #79 coordinates a qualified candidate, prewritten replacement, local fixtures, checks, and an opt-in draft PR. Synthetic success establishes tool behavior. Skipped host code still makes a trace incomplete; no complete real-game candidate-to-PR run is established.

merged#80 diagnostics: identify incomplete harness import traces, by @ThisIsAkill. Merged 2026-10-19.

  • Findings: The recorded frame timing canary exits guest tracing at the sceKernelClockGettime harness bridge; the host dispatcher remains unobserved and the trace is incomplete..

Merged PR #80 names incomplete harness import traces and preserves the original execution result. This improves diagnostics, not game execution. PR #84 aligns exported system pages with their verification evidence.

merged#85 diagnostics: observe bounded import entry and return state, by @ThisIsAkill. Merged 2026-10-19.

  • Findings: The recorded clock canary remains incomplete at the sceKernelClockGettime host dispatcher; boundary snapshots expose net changes without establishing host memory-access or CFG coverage..

Merged PR #85 adds bounded import entry/return observations to explain net register and sampled-memory changes. These snapshots are not host instruction or complete memory-access traces and cannot qualify a function for verification. The recorded clock remains incomplete at its import boundary. Reviewed merged source: 1d418eba692745d8fc0a7d77a04d1bca56badab8. This is diagnostic infrastructure, not new game execution.

merged#86 tools: add evidence-backed type intelligence overlays, by @ThisIsAkill. Merged 2026-10-19.

  • Findings: The Itanium St namespace substitution does not require a nested-name N prefix. A synthetic named table covers this extraction path without target bytes.; Imported RTTI meta-vtables may reside in uninitialized external-symbol blocks; distinguish symbol-supported address points from readable local metadata. Preserve unknown origins except bounded FMOD virtual-slot hypotheses.; The local read-only scan recovered no supported memory RTTI and 12101 untyped pointer-table candidates; imported namespace labels do not establish game class layouts..

merged#87 tools: qualify automation trials from current ownership and recorded evidence, by @ThisIsAkill. Merged 2026-10-19.

  • Findings: Catalog ownership was not returned to the automation consumer, canonical original statuses were rejected, and original-only batch envelopes obscured faults. Share the fresh ownership contract, normalize original execution, exclude ABI side….

merged#88 tools: land candidate eligibility on main and correct LEA tracing, by @ThisIsAkill. Merged 2026-10-19.

  • Findings: Real original-only candidate execution exposed Capstone address operands being reported as out-of-bounds LEA loads. Classify opcode-validated address calculations separately, preserve genuine load rejection and unsupported semantics, and r…; LEA in the register-only candidate at 0x02ab7be0 was incorrectly classified as an external memory access. Keep calculations explicit and retain rejection when their results are dereferenced; original-execution eligibility never grants ABI…; PR #87 merged into its dependent feature base after #86 was squash-merged. Preserve the reviewed implementation and history while making its eligibility gates available from main.; The Itanium St namespace substitution does not require a nested-name N prefix. A synthetic named table covers this extraction path without target bytes.; Imported RTTI meta-vtables may reside in uninitialized external-symbol blocks; distinguish symbol-supported address points from readable local metadata. Preserve unknown origins except bounded FMOD virtual-slot hypotheses.; The local read-only scan recovered no supported memory RTTI and 12101 untyped pointer-table candidates; imported namespace labels do not establish game class layouts..

merged#89 tools: add bounded opt-in implementation generation, by @ThisIsAkill. Merged 2026-10-20.

  • No function status changed.

merged#90 tools: reject undeclared scalar replay state, by @ThisIsAkill. Merged 2026-10-20.

  • No function status changed.

open#93 tools: one contributor workflow and a shareable handoff, by @ThisIsAkill. Open pull request: proposed, not merged.

  • No function status changed.

Documentation and website changes

Catching up on 11–15 October. @clee's merged PR #68 shows that a US package of the same version reproduces every pinned target hash, so onboarding now says the game version and the dump decide address compatibility, not the title id; other regions and versions remain untested. @ThisIsAkill's merged PR #71 and PR #77 bring the Kernel page in line with the runtime: getpagesize is unresolved, scePthreadEqual and sched_yield are implemented, and scePthreadYield stays unresolved.

The source audit reviewed every current page and generated fragment against merged Paleblood af97b90. Architecture, Runtime, CI, Glossary, and contributor credits now explain the merged tools and their limits. Kernel catches up with the existing thread-call documentation. Event explains the edge-verified flag writer; AI narrows an unsupported broad claim, and Frame Timing labels the saved display result as historical scaffold evidence. Those system-page corrections are under review in Paleblood PR #84. The wiki changes are prepared locally and have not been published.

merged#84 docs: align system pages with verification evidence, by @ThisIsAkill. Merged 2026-10-19.

  • Explain existing edge-verified event flag behavior, narrow AI claims to the verified wrapper, and distinguish historical scaffold timing from project-owned runtime execution.
  • Pages: docs/systems/ai.md; docs/systems/event.md; docs/systems/frame_timing.md.

The Hunters directory and individual profiles are prepared for review, using numeric GitHub identities, actual API-provided avatars, linked public contribution histories, and evidence-backed devlog acknowledgments. Routine refreshes preserve editorial text and publish through the existing source, privacy, and site-hook gates after initial approval. This is documentation infrastructure; it does not advance game execution.

merged#91 docs: refresh runtime coverage from genuine boot, by @ThisIsAkill. Merged 2026-10-20.

  • No function status changed.

merged#92 docs: record post-module boot and affinity evidence, by @ThisIsAkill. Merged 2026-10-20.

  • No function status changed.

The site's navigation was redesigned. The header now carries five section tabs (The Hunt, Encyclopedia, Systems, How It Works, For Hunters), and the sidebar lists only the current section's pages at a normal reading size, with the encyclopedia's three parts as headings over their own pages. The sidebar no longer shrinks its text to fit the window, and no section folds away. On small screens the menu button opens a drawer that lists every section. The progress widget became one card with the verified-function count, generated from the same progress data as before. Every page keeps its address. This changes the website only; it does not advance game execution.

The site's runtime numbers now follow the boot record merged in Paleblood PR #92 (7bb7828): 252 of 686 system imports provided (219 by the game's own modules, 33 by the runtime), up from 247, with the boot still stopping at scePthreadAttrGetaffinity in libc.elf at the loaded milestone. The Runtime page describes that run. The count grew; game execution did not advance.

Tests and validation

The wiki Python suite passed all 26 tests. After committing the new daily post, the strict public build passed without suppressing warnings; the privacy scanner found 106 clean files. The output check resolved 2,417 local references across 48 HTML pages, retained the seven sidebar groups, menu artwork and active-section expansion, and found the new explanations in the generated search index. These are documentation checks; no game execution was performed.

Blockers and next steps

The exact-source publication dry run remains blocked on unmerged Paleblood PR #84 and correctly rejects the changed AI, Event, and Frame Timing exports. After maintainer review and merge, pin the actual new main revision, refresh the generated documentation, and rerun every gate before completing the documentation review. No merge or publication occurred. The original-game automation blocker remains incomplete observation of host-import dispatch, and the saved boot still stops at the contributor-owned affinity call.

Hunters Involved

← Back to the devlog