-
Notifications
You must be signed in to change notification settings - Fork 2k
JS: Modeling of underscore.string package
#19049
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
Changes from 1 commit
e8b233f
9bca863
c256b9c
30623cd
cd40b6f
6b105b2
77e1e17
b59b9c8
25c6fb5
ca9ae8a
cccd863
3a83c8d
dcc1e88
fc6b779
eb18c3c
d8e6d76
2c7562d
8b431dc
922a07d
752f02f
f4ca2dc
221cc19
ca53e97
9e78755
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,3 +4,4 @@ extensions: | |||||
| extensible: summaryModel | ||||||
| data: | ||||||
| - ["'underscore.string'", "Member[slugify,capitalize,decapitalize,clean,cleanDiacritics,swapCase,escapeHTML,unescapeHTML,wrap,dedent,reverse,pred,succ,titleize,camelize,classify,underscored,dasherize,humanize,trim,ltrim,rtrim,truncate,sprintf,strRight,strRightBack,strLeft,strLeftBack,stripTags,unquote,map]", "Argument[0]", "ReturnValue", "taint"] | ||||||
| - ["'underscore.string'", "Member[chop,chars,words,lines]", "Argument[0]", "ReturnValue", "taint"] | ||||||
|
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.
Suggested change
This is a bit more precise. If the whole return value is tainted, the analysis thinks all its properties are tainted too, including sink(s.chop(source("s1"), 3).length);
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. It looks like there is still something off with
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. Some of the tests have a typo, they should access the sink(s.chars(source("s2")[0])) -> sink(s.chars(source("s2"))[0])I know why the last test is failing but it's complicated. Would you mind leaving it as |
||||||
Uh oh!
There was an error while loading. Please reload this page.