You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dtarditi
changed the title
Warn about accesses via unchecked pointers to struct members that are checked arrays?rs?
Warn about accesses via unchecked pointers to struct members that are checked arrays?
Sep 21, 2017
dopelsunce
pushed a commit
to dopelsunce/checkedc-clang
that referenced
this issue
Sep 28, 2020
- Add -output-dir option to write updated files to a directory structure
parallel to the base dir (#347). When -output-dir is used, a source
file outside the base dir can't be handled because there is no way to
compute its output path. For consistency, this is now an error even
when -output-dir is not used.
- Convert all 3C regression tests from -output-postfix to -output-dir to
avoid leaving temporary files in the clang/test/3C directory (#378).
- Expand "3c -help" documentation. In particular, direct the user to pass
"--" when they don't want to use a compilation database to avoid
accidentally using unwanted compiler options and suppress the warning
if no compilation database is found (#343).
- For consistency, have stdout mode output the main file even if it is
unchanged (#328).
- Fix bugs in matching of file paths against the base dir (#327).
- Other minor bug fixes: see the pull request description for details.
Co-authored-by: John Kastner <[email protected]>
This issue got automatically closed by mistake: GitHub closed issue number N in the checkedc-clang repository when a 3C PR that has a comment "Fixes issue N" (where N refers to the issue number in CCI's repository), was merged to master branch in the checkedc-clang repository. Reopening it.
checkedc/checkedc#197 explains potential issues with accesses via unchecked pointers to struct members.
Possible solutions are is to forbid such accesses or warn about them.
The text was updated successfully, but these errors were encountered: