Skip to content

Java: Add support for flow through side-effects on static fields. - #16500

Merged
aschackmull merged 2 commits into
github:mainfrom
aschackmull:java/static-field-side-effect
May 24, 2024
Merged

Java: Add support for flow through side-effects on static fields.#16500
aschackmull merged 2 commits into
github:mainfrom
aschackmull:java/static-field-side-effect

Conversation

@aschackmull

Copy link
Copy Markdown
Contributor

Fixes #15972

atorralba
atorralba previously approved these changes May 16, 2024

@atorralba atorralba left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

@aschackmull

Copy link
Copy Markdown
Contributor Author

There are a bunch of additional results. The steps provided by this PR look reasonable, but it appears that I'm running into trouble with a bunch of the generated java.time.* models. Are those models reasonable? Or would it make sense to bulk-ditch them? I don't know if they're the primary culprit, but they might be.

@github-actions

github-actions Bot commented May 17, 2024

Copy link
Copy Markdown
Contributor

⚠️ The head of this PR and the base branch were compared for differences in the framework coverage reports. A recent commit removed the previously reported differences.

@aschackmull

Copy link
Copy Markdown
Contributor Author

I've accumulated several different things on this PR now - I'll split the independent changes into separate PRs:
#16550
#16551
#16552

@aschackmull
aschackmull force-pushed the java/static-field-side-effect branch from a40d929 to 1bc3f6b Compare May 23, 2024 11:03
@aschackmull

Copy link
Copy Markdown
Contributor Author

I've rebased this PR, as the 3 spinoff PRs are now merged, so this PR is back to being nice and simple.

@atorralba atorralba left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think I'm approving exactly the same set of changes as the last time 😄.

@aschackmull
aschackmull merged commit 5a7174d into github:main May 24, 2024
@aschackmull
aschackmull deleted the java/static-field-side-effect branch May 24, 2024 07:19
owen-mc added a commit to owen-mc/codeql that referenced this pull request May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cant find taint flow in a LocalVariable statement

3 participants