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

Allow marking a C++ class as sandboxed #23

Open
arichardson opened this issue Mar 27, 2015 · 0 comments
Open

Allow marking a C++ class as sandboxed #23

arichardson opened this issue Mar 27, 2015 · 0 comments

Comments

@arichardson
Copy link
Contributor

I would be nice if I could annotate a C++ class as sandboxed by using e.g. __soaap_sandboxed_class("sandboxname").
SOAAP should then treat every function in that class (including constructors and destructor) as running in a sandbox.

My current workaround is to add a dummy function that calls every method on the class (which can be quite a lot in some cases):

__soaap_sandbox_persistent("foo") soaap_dummy() {
  Foo foo(args);
  foo.bar();
  foo.baz(1234);
  // ....
}
@arichardson arichardson changed the title Support Qt plugins Allow marking a C++ class as sandboxed May 24, 2015
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

No branches or pull requests

1 participant