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

Parametric taint state not changed when used as an argument of an unknown method #90

Closed
formanek opened this issue Sep 14, 2015 · 0 comments
Labels
Milestone

Comments

@formanek
Copy link
Contributor

When a parameter is passed to an unknown method, the taint state is changed to unknown if it was safe before. However, if there are taint parameters set, the non-parametric taint state was not modified. As a result, invalid method summaries could be generated. For example, the summary of a piece of code like this would be 0,SAFE instead of 0,UNKNOWN

public List<String> test(List<String> list) {
    list.add("safe");
    modify(list);
    return list;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants