doc: update readme #111
Annotations
10 warnings
/src/util.c:23:16 [cppcoreguidelines-avoid-non-const-global-variables]:
src/util.c#L23
variable 'G' is non-const and globally accessible, consider making it const
|
/src/util.c:27:6 [readability-function-cognitive-complexity]:
src/util.c#L27
function 'init' has cognitive complexity of 58 (threshold 25)
|
/src/util.c:54:6 [readability-function-cognitive-complexity]:
src/util.c#L54
function 'drop_privileges' has cognitive complexity of 108 (threshold 25)
|
/src/util.c:86:6 [readability-function-cognitive-complexity]:
src/util.c#L86
function 'daemonize' has cognitive complexity of 223 (threshold 25)
|
/src/util.c:102:13 [cppcoreguidelines-avoid-magic-numbers:
src/util.c#L102
256 is a magic number; consider replacing it with a named constant
|
/src/util.c:130:8 [cppcoreguidelines-init-variables]:
src/util.c#L130
variable 'f' is not initialized
|
/src/util.c:153:11 [cppcoreguidelines-avoid-magic-numbers:
src/util.c#L153
256 is a magic number; consider replacing it with a named constant
|
/src/util.c:154:16 [clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling]:
src/util.c#L154
Call to function 'snprintf' 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 'snprintf_s' in case of C11
|
/src/forward.c:66:1 [readability-function-cognitive-complexity]:
src/forward.c#L66
function 'forward_ctx_stop' has cognitive complexity of 42 (threshold 25)
|
/src/forward.c:123:13 [readability-function-cognitive-complexity]:
src/forward.c#L123
function 'xfer_state_cb' has cognitive complexity of 28 (threshold 25)
|