Skip to content

Make native-only loaders optional on Emscripten - #702

Merged
twizmwazin merged 4 commits into
masterfrom
wasm-host-support
Jul 22, 2026
Merged

Make native-only loaders optional on Emscripten#702
twizmwazin merged 4 commits into
masterfrom
wasm-host-support

Conversation

@zardus

@zardus zardus commented Jul 21, 2026

Copy link
Copy Markdown
Member

Summary

  • exclude pyxdia and uefi-firmware from Emscripten dependency resolution
  • make PE PDB support degrade cleanly when pyxdia is unavailable
  • register the UEFI backend only when its native-only dependency is importable

The remaining CLE loaders, including ELF, stay available in the browser runtime.

Validation

Loaded and analyzed the AMD64 fauxware ELF under Pyodide. Native PE and UEFI imports continue to work with their dependencies installed.

@angr-bot

Copy link
Copy Markdown
Member

Corpus decompilation diffs can be found at angr/dec-snapshots@master...angr/cle_702

Comment thread cle/backends/__init__.py Outdated
@twizmwazin
twizmwazin merged commit 8cb3fe7 into master Jul 22, 2026
25 of 27 checks passed
@twizmwazin
twizmwazin deleted the wasm-host-support branch July 22, 2026 00:14
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.

3 participants