Skip to content

Move registers out of HubrisArchive#655

Open
mkeeter wants to merge 1 commit intomkeeter/revamp-attachfrom
mkeeter/no-registers-in-archive
Open

Move registers out of HubrisArchive#655
mkeeter wants to merge 1 commit intomkeeter/revamp-attachfrom
mkeeter/no-registers-in-archive

Conversation

@mkeeter
Copy link
Copy Markdown
Contributor

@mkeeter mkeeter commented May 5, 2026

(Staged on #652)

We currently do a strange dance when getting registers out of a dump:

  • We read the dump to get the archive (OXIDE_NT_HUBRIS_ARCHIVE) and registers (OXIDE_NT_HUBRIS_REGISTERS)
  • We put the registers into the HubrisArchive (so they're only populated if the archive was built from a dump)
  • We then re-read the dump to get memory regions, and need to pass in the HubrisArchive to get the registers

This PR skips that whole dance: when we read the dump to get memory regions, we also get the registers.

@mkeeter mkeeter requested a review from labbott May 5, 2026 20:25
@mkeeter mkeeter force-pushed the mkeeter/no-registers-in-archive branch from 60d2361 to 2059901 Compare May 5, 2026 21:19
@mkeeter mkeeter force-pushed the mkeeter/revamp-attach branch from 73ca69e to 95a62e9 Compare May 5, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant