Skip to content

add WebAssembly support#277

Merged
athre0z merged 2 commits intozyantific:masterfrom
williballenthin:feature/wasm
Nov 28, 2021
Merged

add WebAssembly support#277
athre0z merged 2 commits intozyantific:masterfrom
williballenthin:feature/wasm

Conversation

@williballenthin
Copy link
Copy Markdown
Contributor

Relying on the changes in zyantific/zycore-c#40, this PR adds support to Zydis for building for WebAssembly. The only updates are to implement the appropriate ZydisStringAppend* routines when wasm is detected. Because wasm is most like a 32-bit architecture, we go the 32-bit-optimized U32 route.

@flobernd flobernd requested a review from athre0z November 27, 2021 08:23
@athre0z athre0z added A-formatter Area: Formatter C-enhancement Category: Enhancement of existing features P-medium Priority: Medium labels Nov 28, 2021
Copy link
Copy Markdown
Member

@athre0z athre0z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks again! I updated the submodule and rebased on master so we can run tests properly. Your branch was forked off a master that was 179 commits behind, presumably accidentally from an old fork.

@athre0z athre0z merged commit 66e81eb into zyantific:master Nov 28, 2021
@williballenthin
Copy link
Copy Markdown
Contributor Author

williballenthin commented Nov 28, 2021 via email

@athre0z
Copy link
Copy Markdown
Member

athre0z commented Nov 28, 2021

Ah, makes sense. Thanks for the clarification!

@williballenthin williballenthin deleted the feature/wasm branch November 29, 2021 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-formatter Area: Formatter C-enhancement Category: Enhancement of existing features P-medium Priority: Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants