2024-04-22 22:52 ftp://ftp.de.debian.org/debian/pool/main/t/tsdecrypt/tsdecrypt_10.0.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: bd7136d (2024-04-22 21:34:48 +0200) count: 269 269 elapsed-time: 18.7 19.5 head-timing-info: old-timing-info: head results: tsdecrypt-10.0/FFdecsa/FFdecsa.c:526:57: style:inconclusive: Function 'set_control_words' argument 2 names different: declaration 'even' definition 'ev'. [funcArgNamesDifferent] tsdecrypt-10.0/FFdecsa/FFdecsa.h:46:57: note: Function 'set_control_words' argument 2 names different: declaration 'even' definition 'ev'. tsdecrypt-10.0/FFdecsa/FFdecsa.c:526:57: note: Function 'set_control_words' argument 2 names different: declaration 'even' definition 'ev'. tsdecrypt-10.0/FFdecsa/FFdecsa.c:526:82: style:inconclusive: Function 'set_control_words' argument 3 names different: declaration 'odd' definition 'od'. [funcArgNamesDifferent] tsdecrypt-10.0/FFdecsa/FFdecsa.h:46:84: note: Function 'set_control_words' argument 3 names different: declaration 'odd' definition 'od'. tsdecrypt-10.0/FFdecsa/FFdecsa.c:526:82: note: Function 'set_control_words' argument 3 names different: declaration 'odd' definition 'od'. tsdecrypt-10.0/FFdecsa/FFdecsa.c:531:61: style:inconclusive: Function 'set_even_control_word' argument 2 names different: declaration 'even' definition 'pk'. [funcArgNamesDifferent] tsdecrypt-10.0/FFdecsa/FFdecsa.h:49:61: note: Function 'set_even_control_word' argument 2 names different: declaration 'even' definition 'pk'. tsdecrypt-10.0/FFdecsa/FFdecsa.c:531:61: note: Function 'set_even_control_word' argument 2 names different: declaration 'even' definition 'pk'. tsdecrypt-10.0/FFdecsa/FFdecsa.c:535:60: style:inconclusive: Function 'set_odd_control_word' argument 2 names different: declaration 'odd' definition 'pk'. [funcArgNamesDifferent] tsdecrypt-10.0/FFdecsa/FFdecsa.h:52:60: note: Function 'set_odd_control_word' argument 2 names different: declaration 'odd' definition 'pk'. tsdecrypt-10.0/FFdecsa/FFdecsa.c:535:60: note: Function 'set_odd_control_word' argument 2 names different: declaration 'odd' definition 'pk'. tsdecrypt-10.0/FFdecsa/FFdecsa.c:160:18: style: Parameter 'ck' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/FFdecsa/FFdecsa.c:198:18: style: Parameter 'ck' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/FFdecsa/FFdecsa.c:256:8: style: Variable 'ibi' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/FFdecsa/FFdecsa.c:337:10: style: Parameter 'kkmulti' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/FFdecsa/FFdecsa.c:388:14: style: Variable 'r6_N' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/FFdecsa/FFdecsa.c:541:30: style: Parameter 'keys' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/FFdecsa/stream.c:461:10: style: Variable 'sb_g' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/FFdecsa/FFdecsa_test.c:45:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/FFdecsa/FFdecsa_test.c:70:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/FFdecsa/FFdecsa_test.c:33:28: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/FFdecsa/FFdecsa_test.c:33:47: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/FFdecsa/logic/logic.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/FFdecsa/logic/logic.c:182:27: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tsdecrypt-10.0/FFdecsa/logic/logic.c:192:27: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] tsdecrypt-10.0/camd-cs378x.c:30:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/camd-cs378x.c:93:54: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:48:46: style: Parameter 'ts_packet' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:52:51: style: Parameter 'ts_packet' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:61:51: style: Parameter 'ts_packet' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:74:52: style: Parameter 'ts_packet' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/camd-newcamd.c:113:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DES_ENCRYPT [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/camd-newcamd.c:123:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DES_DECRYPT [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/camd-newcamd.c:175:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DES_cblock [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/camd-newcamd.c:203:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DES_cblock [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/camd-newcamd.c:349:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/camd-newcamd.c:295:19: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] tsdecrypt-10.0/camd-newcamd.c:68:55: style: Parameter 'normal' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/camd-newcamd.c:237:81: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/camd-newcamd.c:367:60: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'newcamd_do_ecm' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tsdecrypt-10.0/camd-newcamd.c:429:17: note: You might need to cast the function pointer here tsdecrypt-10.0/camd-newcamd.c:367:60: note: Parameter 'msg' can be declared as pointer to const tsdecrypt-10.0/camd-newcamd.c:372:60: style: Parameter 'msg' can be declared as pointer to const. However it seems that 'newcamd_do_emm' is a callback function, if 'msg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tsdecrypt-10.0/camd-newcamd.c:428:17: note: You might need to cast the function pointer here tsdecrypt-10.0/camd-newcamd.c:372:60: note: Parameter 'msg' can be declared as pointer to const tsdecrypt-10.0/camd-newcamd.c:170:12: style: Variable 'data' is assigned a value that is never used. [unreadVariable] tsdecrypt-10.0/camd.c:58:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/camd.c:139:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tsdecrypt-10.0/camd.c:252:3: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] tsdecrypt-10.0/camd.c:250:23: note: 'm' is assigned value '*pmsg' here. tsdecrypt-10.0/camd.c:251:6: note: outer condition: m tsdecrypt-10.0/camd.c:252:3: note: identical inner condition: *pmsg tsdecrypt-10.0/camd.c:239:103: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/camd.c:263:9: style: Variable 'req' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/csa.c:124:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/csa.c:169:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/csa.c:198:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLIB [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/csa.c:113:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tsdecrypt-10.0/csa.c:156:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tsdecrypt-10.0/csa.c:114:16: style: Checking if unsigned expression 'i' is less than zero. [unsignedLessThanZero] tsdecrypt-10.0/csa.c:106:48: note: Calling function 'dvbcsa_bs_batch_size' returns 0 tsdecrypt-10.0/csa.c:106:48: note: Assignment 'batch_size=dvbcsa_bs_batch_size()', assigned value is 0 tsdecrypt-10.0/csa.c:114:16: note: Unsigned less than zero tsdecrypt-10.0/csa.c:157:16: style: Checking if unsigned expression 'i' is less than zero. [unsignedLessThanZero] tsdecrypt-10.0/csa.c:147:62: note: Calling function 'ffdecsa_get_suggested_cluster_size' returns 0 tsdecrypt-10.0/csa.c:147:65: note: Assignment 'batch_size=ffdecsa_get_suggested_cluster_size()/2', assigned value is 0 tsdecrypt-10.0/csa.c:157:16: note: Unsigned less than zero tsdecrypt-10.0/csa.c:172:18: style: Checking if unsigned expression 'd' is less than zero. [unsignedLessThanZero] tsdecrypt-10.0/csa.c:147:62: note: Calling function 'ffdecsa_get_suggested_cluster_size' returns 0 tsdecrypt-10.0/csa.c:147:65: note: Assignment 'batch_size=ffdecsa_get_suggested_cluster_size()/2', assigned value is 0 tsdecrypt-10.0/csa.c:172:18: note: Unsigned less than zero tsdecrypt-10.0/csa.c:122:21: error: Division by zero. [zerodiv] tsdecrypt-10.0/csa.c:106:48: note: Calling function 'dvbcsa_bs_batch_size' returns 0 tsdecrypt-10.0/csa.c:106:48: note: Assignment 'batch_size=dvbcsa_bs_batch_size()', assigned value is 0 tsdecrypt-10.0/csa.c:122:21: note: Division by zero tsdecrypt-10.0/csa.c:166:21: error: Division by zero. [zerodiv] tsdecrypt-10.0/csa.c:147:62: note: Calling function 'ffdecsa_get_suggested_cluster_size' returns 0 tsdecrypt-10.0/csa.c:147:65: note: Assignment 'batch_size=ffdecsa_get_suggested_cluster_size()/2', assigned value is 0 tsdecrypt-10.0/csa.c:166:21: note: Division by zero tsdecrypt-10.0/csa.c:87:17: style: Variable 'key' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/csa.c:92:17: style: Variable 'key' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/csa.c:150:10: style: Variable 'ecw' can be declared as const array [constVariable] tsdecrypt-10.0/csa.c:151:10: style: Variable 'ocw' can be declared as const array [constVariable] tsdecrypt-10.0/data.c:89:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IRDETO_FILTER_IDX [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/filter.c:75:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/filter.c:108:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/filter.c:183:38: style: The if condition is the same as the previous if condition [duplicateCondition] tsdecrypt-10.0/filter.c:181:38: note: First condition tsdecrypt-10.0/filter.c:183:38: note: Second condition tsdecrypt-10.0/filter.c:85:24: style: Parameter 'filter_def' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/filter.c:151:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/filter.c:203:49: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/filter.c:188:8: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] tsdecrypt-10.0/filter.c:192:8: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] tsdecrypt-10.0/libfuncs/asyncdns.c:67:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CANCEL_ENABLE [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/asyncdns.c:117:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/asyncdns.c:130:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tsdecrypt-10.0/libfuncs/asyncdns.c:58:8: style: Variable 'host' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libfuncs/asyncdns.c:81:24: style: Variable 'ipv4' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libfuncs/asyncdns.c:103:99: style: Parameter 'active' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/asyncdns.c:123:21: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] tsdecrypt-10.0/libfuncs/cbuf.c:35:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/cbuf.c:61:3: error: Memory leak: b [memleak] tsdecrypt-10.0/libfuncs/cbuf.c:65:3: error: Memory leak: b [memleak] tsdecrypt-10.0/libfuncs/cbuf.c:74:3: error: Memory leak: b.name [memleak] tsdecrypt-10.0/libfuncs/cbuf.c:81:23: style:inconclusive: Function 'cbuf_free' argument 1 names different: declaration 'buffer' definition 'pb'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/cbuf.h:28:23: note: Function 'cbuf_free' argument 1 names different: declaration 'buffer' definition 'pb'. tsdecrypt-10.0/libfuncs/cbuf.c:81:23: note: Function 'cbuf_free' argument 1 names different: declaration 'buffer' definition 'pb'. tsdecrypt-10.0/libfuncs/cbuf.c:207:22: style:inconclusive: Function 'cbuf_copy' argument 1 names different: declaration 'src' definition 'from'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/cbuf.h:33:22: note: Function 'cbuf_copy' argument 1 names different: declaration 'src' definition 'from'. tsdecrypt-10.0/libfuncs/cbuf.c:207:22: note: Function 'cbuf_copy' argument 1 names different: declaration 'src' definition 'from'. tsdecrypt-10.0/libfuncs/cbuf.c:207:34: style:inconclusive: Function 'cbuf_copy' argument 2 names different: declaration 'dest' definition 'to'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/cbuf.h:33:33: note: Function 'cbuf_copy' argument 2 names different: declaration 'dest' definition 'to'. tsdecrypt-10.0/libfuncs/cbuf.c:207:34: note: Function 'cbuf_copy' argument 2 names different: declaration 'dest' definition 'to'. tsdecrypt-10.0/libfuncs/cbuf.c:28:31: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/cbuf.c:140:35: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/cbuf.c:112:19: portability: 'b->buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] tsdecrypt-10.0/libfuncs/cbuf.c:167:18: portability: 'b->buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] tsdecrypt-10.0/libfuncs/cbuf.c:200:18: portability: 'b->buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] tsdecrypt-10.0/libfuncs/http_response.c:30:62: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] tsdecrypt-10.0/libfuncs/io.c:50:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/io.c:60:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/io.c:68:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/io.c:79:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/io.c:121:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/io.c:174:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/io.c:230:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/io.c:236:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/io.c:246:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/io.c:81:15: style: Checking if unsigned expression 'buf_size' is less than zero. [unsignedLessThanZero] tsdecrypt-10.0/libfuncs/io.c:123:15: style: Checking if unsigned expression 'buf_size' is less than zero. [unsignedLessThanZero] tsdecrypt-10.0/libfuncs/io.c:177:15: style: Checking if unsigned expression 'buf_size' is less than zero. [unsignedLessThanZero] tsdecrypt-10.0/libfuncs/io.c:169:31: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/list.c:118:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/list.c:121:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tsdecrypt-10.0/libfuncs/list.c:38:3: error: Memory leak: list [memleak] tsdecrypt-10.0/libfuncs/list.c:38:3: error: Memory leak: list.name [memleak] tsdecrypt-10.0/libfuncs/list.c:24:22: style:inconclusive: Function 'list_new' argument 1 names different: declaration 'listname' definition 'name'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/list.h:45:25: note: Function 'list_new' argument 1 names different: declaration 'listname' definition 'name'. tsdecrypt-10.0/libfuncs/list.c:24:22: note: Function 'list_new' argument 1 names different: declaration 'listname' definition 'name'. tsdecrypt-10.0/libfuncs/list.c:51:23: style:inconclusive: Function 'list_free' argument 1 names different: declaration 'l' definition 'plist'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/list.h:46:26: note: Function 'list_free' argument 1 names different: declaration 'l' definition 'plist'. tsdecrypt-10.0/libfuncs/list.c:51:23: note: Function 'list_free' argument 1 names different: declaration 'l' definition 'plist'. tsdecrypt-10.0/libfuncs/list.c:73:22: style:inconclusive: Function 'list_lock' argument 1 names different: declaration 'l' definition 'list'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/list.h:48:25: note: Function 'list_lock' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:73:22: note: Function 'list_lock' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:77:24: style:inconclusive: Function 'list_unlock' argument 1 names different: declaration 'l' definition 'list'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/list.h:49:26: note: Function 'list_unlock' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:77:24: note: Function 'list_unlock' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:81:21: style:inconclusive: Function 'list_add' argument 1 names different: declaration 'l' definition 'list'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/list.h:51:24: note: Function 'list_add' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:81:21: note: Function 'list_add' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:116:22: style:inconclusive: Function 'list_dump' argument 1 names different: declaration 'l' definition 'list'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/list.h:58:22: note: Function 'list_dump' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:116:22: note: Function 'list_dump' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:130:29: style:inconclusive: Function 'list_del_unlocked' argument 1 names different: declaration 'l' definition 'list'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/list.h:54:31: note: Function 'list_del_unlocked' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:130:29: note: Function 'list_del_unlocked' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:149:20: style:inconclusive: Function 'list_del' argument 1 names different: declaration 'l' definition 'list'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/list.h:53:24: note: Function 'list_del' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:149:20: note: Function 'list_del' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:158:26: style:inconclusive: Function 'list_del_entry' argument 1 names different: declaration 'l' definition 'list'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/list.h:56:29: note: Function 'list_del_entry' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:158:26: note: Function 'list_del_entry' argument 1 names different: declaration 'l' definition 'list'. tsdecrypt-10.0/libfuncs/list.c:24:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/list.c:158:38: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/log.c:66:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/log.c:118:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/log.c:187:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/log.c:174:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tsdecrypt-10.0/libfuncs/log.c:149:21: style: Parameter 'host_ident' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/log.c:149:71: style: Parameter 'log_host' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/misc.c:12:19: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/misc.c:12:28: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/misc.c:19:51: style: Parameter 'start_ts' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/misc.c:19:78: style: Parameter 'end_ts' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/misc.c:26:54: style: Parameter 'start_ts' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/misc.c:26:80: style: Parameter 'end_ts' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/misc.c:33:54: style: Parameter 'start_ts' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/misc.c:33:80: style: Parameter 'end_ts' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/misc.c:40:53: style: Parameter 'start_ts' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/misc.c:40:79: style: Parameter 'end_ts' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/queue.c:84:6: style: Condition '!q' is always false [knownConditionTrueFalse] tsdecrypt-10.0/libfuncs/queue.c:84:33: style: Condition 'q->items==0' is always false [knownConditionTrueFalse] tsdecrypt-10.0/libfuncs/queue.c:38:25: style:inconclusive: Function 'queue_free' argument 1 names different: declaration 'q' definition 'pq'. [funcArgNamesDifferent] tsdecrypt-10.0/libfuncs/queue.h:31:28: note: Function 'queue_free' argument 1 names different: declaration 'q' definition 'pq'. tsdecrypt-10.0/libfuncs/queue.c:38:25: note: Function 'queue_free' argument 1 names different: declaration 'q' definition 'pq'. tsdecrypt-10.0/libfuncs/server.c:35:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/server.c:55:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libfuncs/server.c:35:2: warning: Return value of function freopen() is not used. [ignoredReturnValue] tsdecrypt-10.0/libfuncs/server.c:36:2: warning: Return value of function freopen() is not used. [ignoredReturnValue] tsdecrypt-10.0/libfuncs/server.c:37:2: warning: Return value of function freopen() is not used. [ignoredReturnValue] tsdecrypt-10.0/libfuncs/server.c:60:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] tsdecrypt-10.0/libfuncs/server.c:20:22: style: Parameter 'pidfile' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/server.c:40:31: style: Parameter 'bind_addr' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libfuncs/server.c:41:8: style: Variable 'binded' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libfuncs/server.c:43:18: style: Variable 'host_ptr' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/cat.c:36:34: style:inconclusive: Function 'ts_cat_free' argument 1 names different: declaration 'cat' definition 'pcat'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:161:48: note: Function 'ts_cat_free' argument 1 names different: declaration 'cat' definition 'pcat'. tsdecrypt-10.0/libtsfuncs/cat.c:36:34: note: Function 'ts_cat_free' argument 1 names different: declaration 'cat' definition 'pcat'. tsdecrypt-10.0/libtsfuncs/cat.c:256:56: style:inconclusive: Function 'ts_get_emm_info' argument 2 names different: declaration 'CA_sys' definition 'req_CA_type'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:170:61: note: Function 'ts_get_emm_info' argument 2 names different: declaration 'CA_sys' definition 'req_CA_type'. tsdecrypt-10.0/libtsfuncs/cat.c:256:56: note: Function 'ts_get_emm_info' argument 2 names different: declaration 'CA_sys' definition 'req_CA_type'. tsdecrypt-10.0/libtsfuncs/cat.c:260:56: style:inconclusive: Function 'ts_get_ecm_info' argument 2 names different: declaration 'CA_sys' definition 'req_CA_type'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:171:61: note: Function 'ts_get_ecm_info' argument 2 names different: declaration 'CA_sys' definition 'req_CA_type'. tsdecrypt-10.0/libtsfuncs/cat.c:260:56: note: Function 'ts_get_ecm_info' argument 2 names different: declaration 'CA_sys' definition 'req_CA_type'. tsdecrypt-10.0/libtsfuncs/cat.c:61:12: style: Variable 'section_data' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/descs.c:357:25: style: Condition 'data[i+3]>=0x01' is always true [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/descs.c:355:20: note: Assuming that condition 'data[i+3]==0' is not redundant tsdecrypt-10.0/libtsfuncs/descs.c:357:25: note: Condition 'data[i+3]>=0x01' is always true tsdecrypt-10.0/libtsfuncs/descs.c:18:64: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/descs.c:71:14: style: struct member 'Anonymous0::escape' is never used. [unusedStructMember] tsdecrypt-10.0/libtsfuncs/eit.c:88:74: warning: Logical conjunction always evaluates to false: section_header.table_id < 0x50 && section_header.table_id > 0x5f. [incorrectLogicOperator] tsdecrypt-10.0/libtsfuncs/eit.c:52:34: style:inconclusive: Function 'ts_eit_free' argument 1 names different: declaration 'eit' definition 'peit'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:238:39: note: Function 'ts_eit_free' argument 1 names different: declaration 'eit' definition 'peit'. tsdecrypt-10.0/libtsfuncs/eit.c:52:34: note: Function 'ts_eit_free' argument 1 names different: declaration 'eit' definition 'peit'. tsdecrypt-10.0/libtsfuncs/eit.c:81:12: style: Variable 'section_data' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/eit.c:189:25: style: Variable 'stream' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/eit.c:138:26: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] tsdecrypt-10.0/libtsfuncs/eit.c:142:25: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] tsdecrypt-10.0/libtsfuncs/eit_desc.c:184:29: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] tsdecrypt-10.0/libtsfuncs/log.c:14:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libtsfuncs/misc.c:25:53: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/misc.c:71:47: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/misc.c:98:26: style: Variable 'prg' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/nit.c:138:15: style: Redundant initialization for 'stream_len'. The initialized value is overwritten before it is read. [redundantInitialization] tsdecrypt-10.0/libtsfuncs/nit.c:123:23: note: stream_len is initialized tsdecrypt-10.0/libtsfuncs/nit.c:138:15: note: stream_len is overwritten tsdecrypt-10.0/libtsfuncs/nit.c:53:34: style:inconclusive: Function 'ts_nit_free' argument 1 names different: declaration 'nit' definition 'pnit'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:199:39: note: Function 'ts_nit_free' argument 1 names different: declaration 'nit' definition 'pnit'. tsdecrypt-10.0/libtsfuncs/nit.c:53:34: note: Function 'ts_nit_free' argument 1 names different: declaration 'nit' definition 'pnit'. tsdecrypt-10.0/libtsfuncs/nit.c:83:12: style: Variable 'section_data' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/nit.c:196:25: style: Variable 'stream' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/nit_desc.c:123:135: style: Parameter 'freqs' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/nit_desc.c:170:107: style: Parameter 'services' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/pat.c:28:4: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] tsdecrypt-10.0/libtsfuncs/pat.c:27:20: note: outer condition: pat->programs[i] tsdecrypt-10.0/libtsfuncs/pat.c:28:4: note: identical inner condition: pat->programs[i] tsdecrypt-10.0/libtsfuncs/pat.c:51:34: style:inconclusive: Function 'ts_pat_free' argument 1 names different: declaration 'pat' definition 'ppat'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:144:48: note: Function 'ts_pat_free' argument 1 names different: declaration 'pat' definition 'ppat'. tsdecrypt-10.0/libtsfuncs/pat.c:51:34: note: Function 'ts_pat_free' argument 1 names different: declaration 'pat' definition 'ppat'. tsdecrypt-10.0/libtsfuncs/pat.c:80:12: style: Variable 'section_data' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/pat.c:147:26: style: Variable 'prg' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/pat_desc.c:64:26: style: Variable 'prg' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/pat_desc.c:94:26: style: Variable 'prg' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/pes.c:514:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/libtsfuncs/pes.c:28:34: style:inconclusive: Function 'ts_pes_free' argument 1 names different: declaration 'pes' definition 'ppes'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:302:41: note: Function 'ts_pes_free' argument 1 names different: declaration 'pes' definition 'ppes'. tsdecrypt-10.0/libtsfuncs/pes.c:28:34: note: Function 'ts_pes_free' argument 1 names different: declaration 'pes' definition 'ppes'. tsdecrypt-10.0/libtsfuncs/pes.c:50:73: style: Parameter 'payload' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/pes.c:145:28: style: Variable 'as.free_format_flag' is assigned a value that is never used. [unreadVariable] tsdecrypt-10.0/libtsfuncs/pes.c:148:28: style: Variable 'as.vbr_flag' is assigned a value that is never used. [unreadVariable] tsdecrypt-10.0/libtsfuncs/pes.c:149:28: style: Variable 'as.reserved' is assigned a value that is never used. [unreadVariable] tsdecrypt-10.0/libtsfuncs/pes_data.c:98:26: style: Variable 'stream' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/pes_es.c:13:82: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/pmt.c:54:34: style:inconclusive: Function 'ts_pmt_free' argument 1 names different: declaration 'pmt' definition 'ppmt'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:183:48: note: Function 'ts_pmt_free' argument 1 names different: declaration 'pmt' definition 'ppmt'. tsdecrypt-10.0/libtsfuncs/pmt.c:54:34: note: Function 'ts_pmt_free' argument 1 names different: declaration 'pmt' definition 'ppmt'. tsdecrypt-10.0/libtsfuncs/pmt.c:81:12: style: Variable 'section_data' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/pmt.c:190:25: style: Variable 'stream' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/privsec.c:91:41: style: Same expression on both sides of '!='. [duplicateExpression] tsdecrypt-10.0/libtsfuncs/privsec.c:23:42: style:inconclusive: Function 'ts_privsec_clear' argument 1 names different: declaration 'pprivsec' definition 'privsec'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:275:47: note: Function 'ts_privsec_clear' argument 1 names different: declaration 'pprivsec' definition 'privsec'. tsdecrypt-10.0/libtsfuncs/privsec.c:23:42: note: Function 'ts_privsec_clear' argument 1 names different: declaration 'pprivsec' definition 'privsec'. tsdecrypt-10.0/libtsfuncs/privsec.c:67:12: style: Variable 'section_data' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/privsec.c:88:43: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/privsec.c:88:66: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/sdt.c:52:34: style:inconclusive: Function 'ts_sdt_free' argument 1 names different: declaration 'sdt' definition 'psdt'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:218:48: note: Function 'ts_sdt_free' argument 1 names different: declaration 'sdt' definition 'psdt'. tsdecrypt-10.0/libtsfuncs/sdt.c:52:34: note: Function 'ts_sdt_free' argument 1 names different: declaration 'sdt' definition 'psdt'. tsdecrypt-10.0/libtsfuncs/sdt.c:81:12: style: Variable 'section_data' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/sdt.c:172:25: style: Variable 'stream' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/sdt_desc.c:127:19: style: Condition 'service_name' is always true [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/sdt_desc.c:125:7: style: Variable 'dpos' is assigned a value that is never used. [unreadVariable] tsdecrypt-10.0/libtsfuncs/secdata.c:52:54: style:inconclusive: Function 'ts_section_data_free' argument 1 names different: declaration 'ts_section_header' definition 'psection_data'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:128:62: note: Function 'ts_section_data_free' argument 1 names different: declaration 'ts_section_header' definition 'psection_data'. tsdecrypt-10.0/libtsfuncs/secdata.c:52:54: note: Function 'ts_section_data_free' argument 1 names different: declaration 'ts_section_header' definition 'psection_data'. tsdecrypt-10.0/libtsfuncs/secdata.c:78:67: style:inconclusive: Function 'ts_section_data_calculate_crc' argument 2 names different: declaration 'section_data_size' definition 'secdata_size'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:134:72: note: Function 'ts_section_data_calculate_crc' argument 2 names different: declaration 'section_data_size' definition 'secdata_size'. tsdecrypt-10.0/libtsfuncs/secdata.c:78:67: note: Function 'ts_section_data_calculate_crc' argument 2 names different: declaration 'section_data_size' definition 'secdata_size'. tsdecrypt-10.0/libtsfuncs/secdata.c:61:53: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/secdata.c:91:55: style: Parameter 'ts_header' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/secdata.c:91:75: style: Parameter 'section_data' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/secdata.c:137:77: style: Parameter 'ts_header' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/secdata.c:137:97: style: Parameter 'ts_packet' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/sections.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] tsdecrypt-10.0/libtsfuncs/sections.c:143:15: style: Condition 't->table_id==0x74' is always false [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/sections.c:137:3: note: Assuming that condition 't->table_id>=0x50' is not redundant tsdecrypt-10.0/libtsfuncs/sections.c:143:15: note: Condition 't->table_id==0x74' is always false tsdecrypt-10.0/libtsfuncs/sections.c:144:15: style: Condition 't->table_id==0x75' is always false [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/sections.c:137:3: note: Assuming that condition 't->table_id>=0x50' is not redundant tsdecrypt-10.0/libtsfuncs/sections.c:144:15: note: Condition 't->table_id==0x75' is always false tsdecrypt-10.0/libtsfuncs/sections.c:145:15: style: Condition 't->table_id==0x76' is always false [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/sections.c:137:3: note: Assuming that condition 't->table_id>=0x50' is not redundant tsdecrypt-10.0/libtsfuncs/sections.c:145:15: note: Condition 't->table_id==0x76' is always false tsdecrypt-10.0/libtsfuncs/sections.c:146:15: style: Condition 't->table_id==0x77' is always false [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/sections.c:137:3: note: Assuming that condition 't->table_id>=0x50' is not redundant tsdecrypt-10.0/libtsfuncs/sections.c:146:15: note: Condition 't->table_id==0x77' is always false tsdecrypt-10.0/libtsfuncs/sections.c:147:15: style: Condition 't->table_id==0x78' is always false [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/sections.c:137:3: note: Assuming that condition 't->table_id>=0x50' is not redundant tsdecrypt-10.0/libtsfuncs/sections.c:147:15: note: Condition 't->table_id==0x78' is always false tsdecrypt-10.0/libtsfuncs/sections.c:148:15: style: Condition 't->table_id==0x79' is always false [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/sections.c:137:3: note: Assuming that condition 't->table_id>=0x50' is not redundant tsdecrypt-10.0/libtsfuncs/sections.c:148:15: note: Condition 't->table_id==0x79' is always false tsdecrypt-10.0/libtsfuncs/sections.c:150:15: style: Condition 't->table_id==0x7e' is always false [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/sections.c:137:3: note: Assuming that condition 't->table_id>=0x50' is not redundant tsdecrypt-10.0/libtsfuncs/sections.c:150:15: note: Condition 't->table_id==0x7e' is always false tsdecrypt-10.0/libtsfuncs/sections.c:151:15: style: Condition 't->table_id==0x7f' is always false [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/sections.c:137:3: note: Assuming that condition 't->table_id>=0x50' is not redundant tsdecrypt-10.0/libtsfuncs/sections.c:151:15: note: Condition 't->table_id==0x7f' is always false tsdecrypt-10.0/libtsfuncs/sections.c:153:15: style: Condition 't->table_id==0xff' is always false [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/sections.c:137:3: note: Assuming that condition 't->table_id>=0x50' is not redundant tsdecrypt-10.0/libtsfuncs/sections.c:153:15: note: Condition 't->table_id==0xff' is always false tsdecrypt-10.0/libtsfuncs/sections.c:31:72: style: Parameter 'ts_header' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/sections.c:33:11: style: Variable 'data_end' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/sections.c:72:79: style: Parameter 'ts_section_header' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/sections.c:94:50: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/sections.c:94:80: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/tdt.c:37:34: style:inconclusive: Function 'ts_tdt_free' argument 1 names different: declaration 'tdt' definition 'ptdt'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:258:39: note: Function 'ts_tdt_free' argument 1 names different: declaration 'tdt' definition 'ptdt'. tsdecrypt-10.0/libtsfuncs/tdt.c:37:34: note: Function 'ts_tdt_free' argument 1 names different: declaration 'tdt' definition 'ptdt'. tsdecrypt-10.0/libtsfuncs/tdt.c:65:12: style: Variable 'section_data' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/tdt.c:176:18: error: Modifying string literal "TDT (tspacket->s.." directly or indirectly is undefined behaviour. [stringLiteralWrite] tsdecrypt-10.0/libtsfuncs/tdt.c:179:3: note: Modifying string literal "TDT (tspacket->s.." directly or indirectly is undefined behaviour. tsdecrypt-10.0/libtsfuncs/tdt.c:176:18: note: Modifying string literal "TDT (tspacket->s.." directly or indirectly is undefined behaviour. tsdecrypt-10.0/libtsfuncs/tdt.c:177:18: error: Modifying string literal "TDT (struct->tsp.." directly or indirectly is undefined behaviour. [stringLiteralWrite] tsdecrypt-10.0/libtsfuncs/tdt.c:180:3: note: Modifying string literal "TDT (struct->tsp.." directly or indirectly is undefined behaviour. tsdecrypt-10.0/libtsfuncs/tdt.c:177:18: note: Modifying string literal "TDT (struct->tsp.." directly or indirectly is undefined behaviour. tsdecrypt-10.0/libtsfuncs/tdt_desc.c:163:11: style: Condition 'now>=dst_start_date' is always true [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/tdt_desc.c:158:10: note: Assuming that condition 'now=dst_start_date' is always true tsdecrypt-10.0/libtsfuncs/tdt_desc.c:70:49: style:inconclusive: Function 'ts_tdt_set_time' argument 2 names different: declaration 'ts' definition 'now'. [funcArgNamesDifferent] tsdecrypt-10.0/libtsfuncs/tsfuncs.h:265:53: note: Function 'ts_tdt_set_time' argument 2 names different: declaration 'ts' definition 'now'. tsdecrypt-10.0/libtsfuncs/tdt_desc.c:70:49: note: Function 'ts_tdt_set_time' argument 2 names different: declaration 'ts' definition 'now'. tsdecrypt-10.0/libtsfuncs/time.c:48:7: error: Using pointer to local variable 'dectm' that is out of scope. [invalidLifetime] tsdecrypt-10.0/libtsfuncs/time.c:46:9: note: Address of variable taken here. tsdecrypt-10.0/libtsfuncs/time.c:44:13: note: Variable created here. tsdecrypt-10.0/libtsfuncs/time.c:48:7: note: Using pointer to local variable 'dectm' that is out of scope. tsdecrypt-10.0/libtsfuncs/time.c:39:63: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/time.c:40:13: style: Variable 'ltm' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/tsfuncs.c:263:15: style: Condition 'ts_header->payload_field' is always true [knownConditionTrueFalse] tsdecrypt-10.0/libtsfuncs/tsfuncs.c:260:6: note: Assuming that condition '!ts_header->payload_field' is not redundant tsdecrypt-10.0/libtsfuncs/tsfuncs.c:263:15: note: Condition 'ts_header->payload_field' is always true tsdecrypt-10.0/libtsfuncs/tsfuncs.c:36:47: style: Parameter 'ts_packet' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/tsfuncs.c:60:33: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/tsfuncs.c:92:11: style: Variable 'payload' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/tsfuncs.c:128:11: style: Variable 'data_end' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/tsfuncs.c:171:32: style: Parameter 'ts_packet' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/libtsfuncs/tsfuncs.c:193:11: style: Variable 'data' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/libtsfuncs/tsfuncs.c:280:70: style: Parameter 'ts_header' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/notify.c:45:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/notify.c:114:40: style: Parameter 'ts' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/notify.c:132:48: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/notify.c:137:60: style: Parameter 'msg_id' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/notify.c:137:74: style: Parameter 'msg_text' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/process.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/process.c:269:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/process.c:224:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tsdecrypt-10.0/process.c:290:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tsdecrypt-10.0/process.c:382:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tsdecrypt-10.0/process.c:398:8: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tsdecrypt-10.0/process.c:81:3: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] tsdecrypt-10.0/process.c:81:3: warning: %ld in format string (no. 5) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] tsdecrypt-10.0/process.c:33:27: style: Variable 'prg' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/process.c:45:26: style: Variable 'stream' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/process.c:68:54: style: Parameter 'wtf' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/process.c:68:65: style: Parameter 'extra' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/process.c:89:27: error: Uninitialized variable: pdump [uninitvar] tsdecrypt-10.0/process.c:73:7: note: Assuming condition is false tsdecrypt-10.0/process.c:89:27: note: Uninitialized variable: pdump tsdecrypt-10.0/process.c:138:36: style: Variable 'even_pcks[even_packets].data' is assigned a value that is never used. [unreadVariable] tsdecrypt-10.0/process.c:143:34: style: Variable 'odd_pcks[odd_packets].data' is assigned a value that is never used. [unreadVariable] tsdecrypt-10.0/tables.c:54:26: style: Variable 'prg' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/tables.c:148:25: style: Variable 'stream' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/tables.c:219:7: style: Variable 'ofs' is assigned a value that is never used. [unreadVariable] tsdecrypt-10.0/tsdecrypt.c:43:51: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] tsdecrypt-10.0/udp.c:86:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/udp.c:114:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_ANY [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/udp.c:157:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/udp.c:205:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/udp.c:39:23: style: Variable 'addr4' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/util.c:179:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/util.c:246:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/util.c:292:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/util.c:319:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] tsdecrypt-10.0/util.c:150:29: style: Parameter 'hex' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/util.c:243:33: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] tsdecrypt-10.0/util.c:315:23: style: Variable 'addr_v4' can be declared as pointer to const [constVariablePointer] tsdecrypt-10.0/util.c:316:23: style: Variable 'addr_v6' can be declared as pointer to const [constVariablePointer] diff: DONE