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

JS: make string formatting a taint step #85

Merged
merged 4 commits into from Aug 21, 2018
Merged

JS: make string formatting a taint step #85

merged 4 commits into from Aug 21, 2018

Conversation

ghost
Copy link

@ghost ghost commented Aug 21, 2018

This PR adds string formatting, like util.format('echo "%s"', x), as a default taint step.

There are no new results on the standard benchmarks, but performance is at least unchanged.

@ghost ghost added the JS label Aug 21, 2018
@ghost ghost self-requested a review as a code owner August 21, 2018 06:38
Copy link

@xiemaisi xiemaisi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, modulo one minor stylistic comment.

abstract DataFlow::Node getFormatString();

/**
* Gets the i'th argument to the format string.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ghost
Copy link
Author

ghost commented Aug 21, 2018

Amended.

@xiemaisi
Copy link

Needs conflict resolution (the web interface actually works reasonably well).

@ghost
Copy link
Author

ghost commented Aug 21, 2018

Resolved.

@semmle-qlci semmle-qlci merged commit bcfd02f into github:master Aug 21, 2018
smowton pushed a commit to smowton/codeql that referenced this pull request Dec 6, 2021
Kotlin: Add support for companion objects
dbartol pushed a commit that referenced this pull request Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants