-
Notifications
You must be signed in to change notification settings - Fork 2k
Model Spring util
#5976
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
Model Spring util
#5976
Changes from 1 commit
c4e9b1f
92ebb63
739b142
fb0e6bf
60db9e1
bddc88c
4012076
240058b
dec0123
f7a4614
659478c
5769f47
f67e9ae
b202110
0441098
3d270bb
1bd01a5
d6c4325
60126b4
71f6d59
916c7c5
60179ce
9551321
48d4493
ad8bef5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ import semmle.code.java.dataflow.DataFlow | |
| import semmle.code.java.dataflow.ExternalFlow | ||
| import semmle.code.java.dataflow.TaintTracking | ||
| import TestUtilities.InlineExpectationsTest | ||
| import semmle.code.java.frameworks.spring.SpringUtil | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. At the moment it seems like the Spring models are not imported by default, which is why I didn't add the import anywhere---I guess the taint flow steps should always be included?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. Otherwise they don't actually accomplish anything - as you'll see in this test if you remove this line.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, but that's true of all the Spring models, as far as I can tell? I have included this in |
||
|
|
||
| class SummaryModelTest extends SummaryModelCsv { | ||
| override predicate row(string row) { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This import looks unused.