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

Tracking updates to shared data in context-sensitive analyses #20

Open
khilangudka opened this issue Mar 11, 2015 · 0 comments
Open

Tracking updates to shared data in context-sensitive analyses #20

khilangudka opened this issue Mar 11, 2015 · 0 comments

Comments

@khilangudka
Copy link
Contributor

SOAAP currently understands when modifications occur to shared data, such as global variables, but does not track these modifications. Up until now this has been sufficient, but with the new context-sensitive function-pointer inference analysis, we will need to keep track of assignments to shared function-pointer variables that occur in different contexts. For example, we currently cannot infer that fp points to bar in the sandbox:

void (*fp)(void);

__soaap_sandbox_persistent("box")
void foo() {
fp(); // we can't currently infer that fp points to bar()
}

void bar() { ../ }

int main(int argc, char** argv) {
fp = bar;
__soaap_create_persistent_sandbox("box");
foo();
}

In general we will want to be able to model different sharing semantics for different sandboxing models (e.g. copy-on-write vs no sharing).

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