Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add WebAssembly support #277

Merged
merged 2 commits into from
Nov 28, 2021
Merged

Conversation

williballenthin
Copy link
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.

@athre0z athre0z added A-formatter Area: Formatter C-enhancement Category: Enhancement of existing features P-medium Priority: Medium labels Nov 28, 2021
Copy link
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
Contributor Author

williballenthin commented Nov 28, 2021 via email

@athre0z
Copy link
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