-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Create and upstream a magic(5) entry for webcil #86522
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsThe upstream mailing list is https://mailman.astron.com/pipermail/file/ We should identify .wasm files containing a webcil payload as something more than just
By contrast
So ideally for a webcil file we print
that includes the version of the wasm wrapper (and possibly the version of the webcil payload - not sure how hard it would be to write a magic rule to extract that
|
Tagging subscribers to this area: @dotnet/area-meta Issue DetailsThe upstream mailing list is https://mailman.astron.com/pipermail/file/ We should identify .wasm files containing a webcil payload as something more than just
By contrast
So ideally for a webcil file we print
that includes the version of the wasm wrapper (and possibly the version of the webcil payload - not sure how hard it would be to write a magic rule to extract that
|
Is it even possible to decode uleb128 values using magic(5)? if not, it will be pretty difficult to traverse the file. Although maybe it's good enough to look for 'webcilVersion' and 'WbIL' and match what follows them - the nearby bytes are probably pretty distinctive |
(Contributes to #80807)
The upstream mailing list is https://mailman.astron.com/pipermail/file/
a readonly mirror of the git repo is https://github.com/file/file
We should identify .wasm files containing a webcil payload as something more than just
By contrast
.dll
files print out:So ideally for a webcil file we print
that includes the version of the wasm wrapper (and possibly the version of the webcil payload - not sure how hard it would be to write a magic rule to extract that)
The webcil format is documented in https://github.com/dotnet/runtime/blob/main/docs/design/mono/webcil.md
The text was updated successfully, but these errors were encountered: