-
Notifications
You must be signed in to change notification settings - Fork 263
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
wamprinter: support printing name and bytes for unknown custom sections #1345
Comments
This seems reasonable to me, but what do other disassemblers do? We'd ideally not stray too far from them. |
@fitzgen thanks for following up! Support was recently added to
When annotations are enabled,
|
I think this'd be a good idea to support! The |
This is now enabled by default, so I'm going to close this. |
Currently, if a custom section in a WASM module does not have a registered printer, and it is not
producers
ordylink.0
, it is ignored. It would be nice if an option as added (or it was the default behavior) to print the names of unknown custom sections, then a hex encoding of their bytes. I would specifically find this useful in the context ofwasmtime explore
.I'd love to contribute this functionality if there is alignment!
The text was updated successfully, but these errors were encountered: