Skip to content

Commit c837ab7

Browse files
hvitvedjbj
andauthored
Apply suggestions from code review
Co-authored-by: Jonas Jensen <[email protected]>
1 parent 948c2f7 commit c837ab7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

change-notes/1.25/analysis-cpp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The following changes in version 1.25 affect C/C++ analysis in all applications.
1818

1919
* The data-flow library has been improved, which affects most security queries by potentially
2020
adding more results. Flow through functions now takes nested field reads/writes into account.
21-
For example, the library is able to track flow from `"taint"` to `sink()` via the method
21+
For example, the library is able to track flow from `taint()` to `sink()` via the method
2222
`getf2f1()` in
2323
```c
2424
struct C {
@@ -27,15 +27,15 @@ The following changes in version 1.25 affect C/C++ analysis in all applications.
2727

2828
struct C2
2929
{
30-
C f2;
30+
C f2;
3131

3232
int getf2f1() {
3333
return f2.f1; // Nested field read
3434
}
3535

3636
void m() {
3737
f2.f1 = taint();
38-
sink(getf2f1()); // NEW: "taint" reaches here
38+
sink(getf2f1()); // NEW: taint() reaches here
3939
}
4040
};
41-
```
41+
```

0 commit comments

Comments
 (0)