Skip to content

feat: add CompiledPlugin#784

Merged
zshipko merged 8 commits intomainfrom
compiled-plugin
Nov 14, 2024
Merged

feat: add CompiledPlugin#784
zshipko merged 8 commits intomainfrom
compiled-plugin

Conversation

@zshipko
Copy link
Copy Markdown
Contributor

@zshipko zshipko commented Oct 29, 2024

No description provided.

@zshipko zshipko marked this pull request as ready for review November 8, 2024 23:53
/**
* Create a new plugin from an `ExtismCompiledPlugin`
*/
ExtismPlugin *extism_plugin_new_from_compiled(const ExtismCompiledPlugin *compiled, char **errmsg);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something i still can't quite tell from this. Is there any way to point this at native code on disk somehow? My concern is someone writes some code that takes native code off disk and runs it. and somehow some user input can manipulate that. Are we protecting from that at all?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still doesn't open up the ability to run native code. It pretty much just splits out the linking into two steps to allow the pre-instance to be instantiated multiple times.

@zshipko zshipko merged commit 14477ce into main Nov 14, 2024
@zshipko zshipko deleted the compiled-plugin branch November 14, 2024 20:32
@nilslice nilslice mentioned this pull request Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants