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

C#/Java: Introduce source and sink model generation sanitisers. #16759

Merged
merged 9 commits into from
Jun 24, 2024

Conversation

michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Jun 14, 2024

In this PR we restrict the source and sink model generation for C# and Java: If a value passes through an irrelevant type we consider the value sanitised (we do the same for summary model generation).

Furthermore, for C# we also severely limit the source model extrapolation and require that sources only propagate upwards in the call stack based on a unique callable path (to avoid unwanted virtual dispatch).

@github-actions github-actions bot added the C# label Jun 14, 2024
@github-actions github-actions bot added the Java label Jun 14, 2024
@michaelnebel michaelnebel added the no-change-note-required This PR does not need a change note label Jun 14, 2024
@michaelnebel michaelnebel marked this pull request as ready for review June 14, 2024 14:05
@michaelnebel michaelnebel requested review from a team as code owners June 14, 2024 14:05
@michaelnebel michaelnebel merged commit 94d12ed into github:main Jun 24, 2024
32 checks passed
@michaelnebel michaelnebel deleted the modelgen/sourcesinkmodelgen branch June 24, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C# Java no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants