-
Notifications
You must be signed in to change notification settings - Fork 101
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
getting a list of a plugin’s exported functions #714
Comments
Hey - we don't officially support this via Extism, but you can use another tool we make, Modsurfer. Either statically, via the web0 or CLI1, or dynamically in a program using it as an Extism plugin2. For 2, via an Extism plugin, you would call the export We provide Go and Rust libraries, but you can also generate your own protobuf library in any language they support using the |
Awesome thanks for the quick help! |
For sure! If you have any issues with these approaches, please let us know. I might also add another export to this plugin (would be a new .wasm) which would just list the exports by name in a JSON list |
I'd love to see this exposed via the Plugin API. It would be a great way to verify that the module you've been given adheres to a certain contract. |
I’ll reopen the issue as per slyons’ suggestion |
I agree it would be convenient, but would recommend using the modsurfer plugin approach for now. Mainly since it could be some time until we decide to implement this especially across all the runtimes and SDKs. |
Will use the |
Hi.
I was wondering if it’d be possible to, given a
Plugin
, figure out which functions are exported by it?The text was updated successfully, but these errors were encountered: