Skip to content

Fix utility library - #65

Open
Haibib wants to merge 7 commits into
mainfrom
futility
Open

Haibib wants to merge 7 commits into
mainfrom
futility

Conversation

@Haibib

@Haibib Haibib commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

PR Description

  • Adds fix utils: a library for fix procedures to import. It includes utility functions and operations that are resolved to externrefs.
  • Adds fix-postprocessor: adds WebAssembly memories to the given WebAssembly binary by parsing the wasm_num_memories custom section.
  • Adds helper functions to safely get the contents of blobs and tree handles and to create handles from blob and tree contents by naively allocating new tables and memories.
  • Makes the fix parser into a fix procedure that relies on the utility library to interact with the fix shell
  • Updates the grammar used for the fix parser to reduce line noise.
  • Adds selection thunk handling, primitive handling, and a basic $identity primitive to the fix parser

Haibib Kerim and others added 6 commits September 14, 2026 18:59
Co-authored-by: SaibililaA <saibi.kerim@gmail.com>
Co-authored-by: SaibililaA <saibi.kerim@gmail.com>
Co-authored-by: SaibililaA <saibi.kerim@gmail.com>
Co-authored-by: SaibililaA <saibi.kerim@gmail.com>
@Haibib
Haibib requested a review from keithw September 15, 2026 05:29
@Haibib
Haibib marked this pull request as ready for review September 15, 2026 05:44
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.

2 participants