-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding clang-tidy static analyzer and fixing related issues
added the clang-tidy static analyzer option and worked on resolving all detected issues as best I could. Also switched to some new safe_ functions implemented in opensea-common where necessary to add bounds checking. Signed-off-by: Tyler Erickson <[email protected]>
- Loading branch information
1 parent
2805734
commit bd4f05b
Showing
4 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule opensea-common
updated
16 files
+3 −1 | .clang-tidy | |
+14 −14 | include/common_types.h | |
+26 −0 | include/io_utils.h | |
+5 −5 | include/predef_env_detect.h | |
+21 −21 | include/secure_file.h | |
+35 −66 | src/constraint_handling.c | |
+6 −8 | src/error_translation.c | |
+274 −5 | src/io_utils.c | |
+156 −153 | src/memory_safety.c | |
+14 −11 | src/posix_env_detect.c | |
+102 −60 | src/posix_secure_file.c | |
+34 −42 | src/secure_file.c | |
+296 −247 | src/string_utils.c | |
+6 −6 | src/time_utils.c | |
+35 −38 | src/validate_format.c | |
+102 −24 | src/windows_secure_file.c |
Submodule opensea-operations
updated
5 files
+3 −1 | .clang-tidy | |
+36 −36 | include/device_statistics.h | |
+57 −38 | src/farm_log.c | |
+5 −0 | src/trim_unmap.c | |
+4 −4 | src/writesame.c |
Submodule opensea-transport
updated
7 files
+3 −1 | .clang-tidy | |
+19 −19 | src/csmi_helper.c | |
+0 −1 | src/scsi_cmds.c | |
+45 −40 | src/sg_helper.c | |
+13 −16 | src/sntl_helper.c | |
+6 −4 | src/uscsi_helper.c | |
+2 −2 | src/win_helper.c |