Skip to content

doc: update README #127

doc: update README

doc: update README #127

Triggered via push January 7, 2024 11:03
Status Success
Total duration 1m 1s
Artifacts

lint.yml

on: push
cpp-linter
52s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 2 notices
src/nonce.c:33:18 [readability-function-cognitive-complexity]: src/nonce.c#L33
function 'noncegen_create' has cognitive complexity of 31 (threshold 25)
src/nonce.c:43:34 [readability-uppercase-literal-suffix]: src/nonce.c#L43
integer literal has suffix 'u', which is not uppercase
src/nonce.c:43:40 [readability-uppercase-literal-suffix]: src/nonce.c#L43
integer literal has suffix 'u', which is not uppercase
src/nonce.c:43:46 [readability-uppercase-literal-suffix]: src/nonce.c#L43
integer literal has suffix 'u', which is not uppercase
src/nonce.c:43:52 [readability-uppercase-literal-suffix]: src/nonce.c#L43
integer literal has suffix 'u', which is not uppercase
src/obfs.c:125:2 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/obfs.c#L125
Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11
src/obfs.c:126:2 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]: src/obfs.c#L126
Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11
src/obfs.c:131:19 [cppcoreguidelines-init-variables]: src/obfs.c#L131
variable 'ctx' is not initialized
src/obfs.c:227:38 [readability-uppercase-literal-suffix]: src/obfs.c#L227
integer literal has suffix 'u', which is not uppercase
src/obfs.c:228:39 [readability-uppercase-literal-suffix]: src/obfs.c#L228
integer literal has suffix 'u', which is not uppercase
Run clang-format on src/obfs.c: src/obfs.c#L1
File src/obfs.c does not conform to Custom style guidelines. (lines 648)
Run clang-format on src/sockutil.h: src/sockutil.h#L1
File src/sockutil.h does not conform to Custom style guidelines. (lines 43, 44)