Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

C++: Assume modelled functions always override buffers by default #15633

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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Feb 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
C++: Fix QLoc on 'isPartialWrite'.
  • Loading branch information
MathiasVP committed Feb 22, 2024
commit aca3970c33e8a4ff4744505e295821463f12c30d
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import semmle.code.cpp.models.Models
*/
abstract class PartialFlowFunction extends Function {
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Show resolved Hide resolved
github-advanced-security[bot] marked this conversation as resolved.
Show resolved Hide resolved
/**
* Holds if the write to `output` either is:
* - Only partially updating the `output`
* - Is not unconditional
* Holds if the write to output does not overwrite the entire value that was
* there before, or does not do so reliably. For example the destination
* argument of `strcat` is modified but not overwritten.
*/
predicate isPartialWrite(FunctionOutput output) { none() }
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.