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

pulley: Expand provenance test some more #10112

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexcrichton
Copy link
Member

Cover more styles of function calls and a trap or two. This required fixing some issues with libcalls, notably ensuring that expose_provenance() is called at some point on the function pointers and additionally ensuring that the signedness of integer arguments were the same. The internal macro previously used i32 and i64 but that was actually used everywhere on the host as u32 and u64. There was some confusion in some signatures so this commit fixes things to force everyone to use unsigned integers everywhere to match type we ascribe, the type it's defined with, and how it's called with Pulley.

Cover more styles of function calls and a trap or two. This required
fixing some issues with libcalls, notably ensuring that
`expose_provenance()` is called at some point on the function pointers
and additionally ensuring that the signedness of integer arguments were
the same. The internal macro previously used `i32` and `i64` but that
was actually used everywhere on the host as `u32` and `u64`. There was
some confusion in some signatures so this commit fixes things to force
everyone to use unsigned integers everywhere to match type we ascribe,
the type it's defined with, and how it's called with Pulley.
@alexcrichton alexcrichton requested review from a team as code owners January 25, 2025 01:53
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team January 25, 2025 01:53
@github-actions github-actions bot added wasmtime:api Related to the API of the `wasmtime` crate itself winch Winch issues or pull requests labels Jan 25, 2025
Copy link

Subscribe to Label Action

cc @saulecabrera

This issue or pull request has been labeled: "wasmtime:api", "winch"

Thus the following users have been cc'd because of the following labels:

  • saulecabrera: winch

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasmtime:api Related to the API of the `wasmtime` crate itself winch Winch issues or pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant