2025-05-09 20:37 ftp://ftp.de.debian.org/debian/pool/main/c/codec2/codec2_1.2.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 1008 1004 elapsed-time: 38.2 36.8 head-timing-info: old-timing-info: head results: codec2-1.2.0/demo/c2demo.c:49:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/demo/c2demo.c:38:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/demo/freedv_700d_rx.c:38:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_700D [valueFlowBailoutIncompleteVar] codec2-1.2.0/demo/freedv_700d_tx.c:48:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_700D [valueFlowBailoutIncompleteVar] codec2-1.2.0/demo/freedv_datac0c1_rx.c:61:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_DATAC0 [valueFlowBailoutIncompleteVar] codec2-1.2.0/demo/freedv_datac0c1_rx.c:108:47: style: Parameter 'buf' can be declared as const array [constParameter] codec2-1.2.0/demo/freedv_datac0c1_tx.c:44:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_DATAC0 [valueFlowBailoutIncompleteVar] codec2-1.2.0/demo/freedv_datac0c1_tx.c:88:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] codec2-1.2.0/demo/freedv_datac0c1_tx.c:108:10: warning: Uninitialized variable: sil_short [uninitvar] codec2-1.2.0/demo/freedv_datac0c1_tx.c:107:21: note: Assuming condition is false codec2-1.2.0/demo/freedv_datac0c1_tx.c:108:10: note: Uninitialized variable: sil_short codec2-1.2.0/demo/freedv_datac1_rx.c:40:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_DATAC1 [valueFlowBailoutIncompleteVar] codec2-1.2.0/demo/freedv_datac1_tx.c:54:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_DATAC1 [valueFlowBailoutIncompleteVar] codec2-1.2.0/demo/freedv_datac1_tx.c:92:12: warning: Uninitialized variable: sil_short [uninitvar] codec2-1.2.0/demo/freedv_datac1_tx.c:91:23: note: Assuming condition is false codec2-1.2.0/demo/freedv_datac1_tx.c:92:12: note: Uninitialized variable: sil_short codec2-1.2.0/src/c2dec.c:75:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/c2dec.c:393:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/c2dec.c:70:9: style: Variable 'opt_string' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/c2dec.c:110:9: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/c2dec.c:390:72: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/c2dec.c:392:9: style: Variable 'option_parameters' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/codec2_fft.h:51:72: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/c2dec.c:271:68: error: Uninitialized variable: state [uninitvar] codec2-1.2.0/src/c2enc.c:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/c2enc.c:104:9: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/c2sim.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/c2sim.c:1158:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/c2sim.c:827:16: warning: Assert statement calls a function which may have desired side effects: 'fwrite'. [assertWithSideEffect] codec2-1.2.0/src/c2sim.c:846:16: warning: Assert statement calls a function which may have desired side effects: 'fwrite'. [assertWithSideEffect] codec2-1.2.0/src/c2sim.c:849:16: warning: Assert statement calls a function which may have desired side effects: 'fread'. [assertWithSideEffect] codec2-1.2.0/src/c2sim.c:1005:16: style: Variable 'model_dec[decimate-1]' is assigned an expression that holds the same value. [redundantAssignment] codec2-1.2.0/src/c2sim.c:1000:29: note: model_dec[decimate-1] is assigned 'model' here. codec2-1.2.0/src/c2sim.c:1005:16: note: Variable 'model_dec[decimate-1]' is assigned an expression that holds the same value. codec2-1.2.0/src/c2sim.c:500:39: style: Local variable 'weight' shadows outer function [shadowFunction] codec2-1.2.0/src/lpc.h:41:6: note: Shadowed declaration codec2-1.2.0/src/c2sim.c:500:39: note: Shadow variable codec2-1.2.0/src/c2sim.c:667:13: style: Local variable 'buf' shadows outer variable [shadowVariable] codec2-1.2.0/src/c2sim.c:464:9: note: Shadowed declaration codec2-1.2.0/src/c2sim.c:667:13: note: Shadow variable codec2-1.2.0/src/c2sim.c:675:11: style: Local variable 'm' shadows outer variable [shadowVariable] codec2-1.2.0/src/c2sim.c:477:10: note: Shadowed declaration codec2-1.2.0/src/c2sim.c:675:11: note: Shadow variable codec2-1.2.0/src/c2sim.c:822:16: style: Local variable 'i' shadows outer variable [shadowVariable] codec2-1.2.0/src/c2sim.c:477:7: note: Shadowed declaration codec2-1.2.0/src/c2sim.c:822:16: note: Shadow variable codec2-1.2.0/src/c2sim.c:898:18: style: Local variable 'i' shadows outer variable [shadowVariable] codec2-1.2.0/src/c2sim.c:477:7: note: Shadowed declaration codec2-1.2.0/src/c2sim.c:898:18: note: Shadow variable codec2-1.2.0/src/c2sim.c:911:32: style: Local variable 'ak' shadows outer variable [shadowVariable] codec2-1.2.0/src/c2sim.c:485:9: note: Shadowed declaration codec2-1.2.0/src/c2sim.c:911:32: note: Shadow variable codec2-1.2.0/src/c2sim.c:922:20: style: Local variable 'i' shadows outer variable [shadowVariable] codec2-1.2.0/src/c2sim.c:477:7: note: Shadowed declaration codec2-1.2.0/src/c2sim.c:922:20: note: Shadow variable codec2-1.2.0/src/c2sim.c:121:9: style: Variable 'opt_string' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/c2sim.c:942:20: style: Variable 'A' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/c2sim.c:943:20: style: Variable 'B' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/c2sim.c:945:22: style: Variable 'T' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/c2sim.c:1154:72: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/c2sim.c:1156:9: style: Variable 'option_parameters' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/c2sim.c:671:14: warning: Uninitialized variable: buf [uninitvar] codec2-1.2.0/src/c2sim.c:668:21: note: Assuming condition is false codec2-1.2.0/src/c2sim.c:671:14: note: Uninitialized variable: buf codec2-1.2.0/src/c2sim.c:536:14: style: Variable 'prev_e' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/c2sim.c:537:17: style: Variable 'hpf_states[0]' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/c2sim.c:537:33: style: Variable 'hpf_states[1]' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/debug_alloc.h:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/debug_alloc.h:44:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/debug_alloc.h:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ch.c:57:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ch.c:95:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/debug_alloc.h:54:42: error: Dereferencing 'ptr' after it is deallocated / released [deallocuse] codec2-1.2.0/src/ch.c:69:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/ch.c:71:9: style: Variable 'fading_dir' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ch.c:158:26: style: Variable 'long_opts' can be declared as const array [constVariable] codec2-1.2.0/src/ch.c:306:33: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/codec2.c:1863:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/codec2.c:1882:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/codec2.c:140:5: error: Memory leak: c2 [memleak] codec2-1.2.0/src/codec2.c:145:5: error: Memory leak: c2 [memleak] codec2-1.2.0/src/codec2.c:151:5: error: Memory leak: c2 [memleak] codec2-1.2.0/src/codec2.c:158:5: error: Memory leak: c2 [memleak] codec2-1.2.0/src/codec2.c:284:36: style:inconclusive: Function 'codec2_destroy' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:86:36: note: Function 'codec2_destroy' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:284:36: note: Function 'codec2_destroy' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:312:42: style:inconclusive: Function 'codec2_bits_per_frame' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:94:42: note: Function 'codec2_bits_per_frame' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:312:42: note: Function 'codec2_bits_per_frame' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:335:43: style:inconclusive: Function 'codec2_bytes_per_frame' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:95:43: note: Function 'codec2_bytes_per_frame' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:335:43: note: Function 'codec2_bytes_per_frame' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:349:45: style:inconclusive: Function 'codec2_samples_per_frame' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:93:45: note: Function 'codec2_samples_per_frame' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:349:45: note: Function 'codec2_samples_per_frame' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:371:35: style:inconclusive: Function 'codec2_encode' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:87:35: note: Function 'codec2_encode' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:371:35: note: Function 'codec2_encode' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:371:67: style:inconclusive: Function 'codec2_encode' argument 3 names different: declaration 'speech_in' definition 'speech'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:88:26: note: Function 'codec2_encode' argument 3 names different: declaration 'speech_in' definition 'speech'. codec2-1.2.0/src/codec2.c:371:67: note: Function 'codec2_encode' argument 3 names different: declaration 'speech_in' definition 'speech'. codec2-1.2.0/src/codec2.c:389:35: style:inconclusive: Function 'codec2_decode' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:89:35: note: Function 'codec2_decode' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:389:35: note: Function 'codec2_decode' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:389:45: style:inconclusive: Function 'codec2_decode' argument 2 names different: declaration 'speech_out' definition 'speech'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:89:55: note: Function 'codec2_decode' argument 2 names different: declaration 'speech_out' definition 'speech'. codec2-1.2.0/src/codec2.c:389:45: note: Function 'codec2_decode' argument 2 names different: declaration 'speech_out' definition 'speech'. codec2-1.2.0/src/codec2.c:394:39: style:inconclusive: Function 'codec2_decode_ber' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:91:39: note: Function 'codec2_decode_ber' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:394:39: note: Function 'codec2_decode_ber' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:394:49: style:inconclusive: Function 'codec2_decode_ber' argument 2 names different: declaration 'speech_out' definition 'speech'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:91:59: note: Function 'codec2_decode_ber' argument 2 names different: declaration 'speech_out' definition 'speech'. codec2-1.2.0/src/codec2.c:394:49: note: Function 'codec2_decode_ber' argument 2 names different: declaration 'speech_out' definition 'speech'. codec2-1.2.0/src/codec2.c:395:45: style:inconclusive: Function 'codec2_decode_ber' argument 3 names different: declaration 'bytes' definition 'bits'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:92:45: note: Function 'codec2_decode_ber' argument 3 names different: declaration 'bytes' definition 'bits'. codec2-1.2.0/src/codec2.c:395:45: note: Function 'codec2_decode_ber' argument 3 names different: declaration 'bytes' definition 'bits'. codec2-1.2.0/src/codec2.c:1588:40: style:inconclusive: Function 'codec2_get_energy' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:103:40: note: Function 'codec2_get_energy' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:1588:40: note: Function 'codec2_get_energy' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:1764:48: style:inconclusive: Function 'codec2_set_lpc_post_filter' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:97:48: note: Function 'codec2_set_lpc_post_filter' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:1764:48: note: Function 'codec2_set_lpc_post_filter' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:1780:47: style:inconclusive: Function 'codec2_get_spare_bit_index' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:99:47: note: Function 'codec2_get_spare_bit_index' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:1780:47: note: Function 'codec2_get_spare_bit_index' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:1803:45: style:inconclusive: Function 'codec2_rebuild_spare_bit' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:100:45: note: Function 'codec2_rebuild_spare_bit' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:1803:45: note: Function 'codec2_rebuild_spare_bit' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:1850:48: style:inconclusive: Function 'codec2_set_natural_or_gray' argument 1 names different: declaration 'codec2_state' definition 'c2'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:101:48: note: Function 'codec2_set_natural_or_gray' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:1850:48: note: Function 'codec2_set_natural_or_gray' argument 1 names different: declaration 'codec2_state' definition 'c2'. codec2-1.2.0/src/codec2.c:1860:60: style:inconclusive: Function 'codec2_open_mlfeat' argument 2 names different: declaration 'feat_filename' definition 'feat_fn'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:106:60: note: Function 'codec2_open_mlfeat' argument 2 names different: declaration 'feat_filename' definition 'feat_fn'. codec2-1.2.0/src/codec2.c:1860:60: note: Function 'codec2_open_mlfeat' argument 2 names different: declaration 'feat_filename' definition 'feat_fn'. codec2-1.2.0/src/codec2.c:1861:31: style:inconclusive: Function 'codec2_open_mlfeat' argument 3 names different: declaration 'model_filename' definition 'model_fn'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2.h:107:31: note: Function 'codec2_open_mlfeat' argument 3 names different: declaration 'model_filename' definition 'model_fn'. codec2-1.2.0/src/codec2.c:1861:31: note: Function 'codec2_open_mlfeat' argument 3 names different: declaration 'model_filename' definition 'model_fn'. codec2-1.2.0/src/codec2.c:809:9: style: Local variable 'weight' shadows outer function [shadowFunction] codec2-1.2.0/src/lpc.h:41:6: note: Shadowed declaration codec2-1.2.0/src/codec2.c:809:9: note: Shadow variable codec2-1.2.0/src/codec2.c:984:9: style: Local variable 'weight' shadows outer function [shadowFunction] codec2-1.2.0/src/lpc.h:41:6: note: Shadowed declaration codec2-1.2.0/src/codec2.c:984:9: note: Shadow variable codec2-1.2.0/src/codec2.c:1149:9: style: Local variable 'weight' shadows outer function [shadowFunction] codec2-1.2.0/src/lpc.h:41:6: note: Shadowed declaration codec2-1.2.0/src/codec2.c:1149:9: note: Shadow variable codec2-1.2.0/src/codec2.c:1342:9: style: Local variable 'weight' shadows outer function [shadowFunction] codec2-1.2.0/src/lpc.h:41:6: note: Shadowed declaration codec2-1.2.0/src/codec2.c:1342:9: note: Shadow variable codec2-1.2.0/src/codec2.c:312:42: style: Parameter 'c2' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/codec2.c:349:45: style: Parameter 'c2' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/codec2.c:1558:41: style: Parameter 'c2' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/codec2.c:1695:63: style: Parameter 'speech' can be declared as const array [constParameter] codec2-1.2.0/src/codec2.c:1780:47: style: Parameter 'c2' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/codec2.c:1803:45: style: Parameter 'c2' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/codec2.c:1860:60: style: Parameter 'feat_fn' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/codec2.c:1861:31: style: Parameter 'model_fn' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/codec2.c:1878:33: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/codec2.c:1900:37: style: Parameter 'codec2_state' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/codec2_fifo.c:75:10: style: Variable 'pdata' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/codec2_fifo.c:124:10: style: Variable 'pin' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/codec2_fifo.c:125:10: style: Variable 'pout' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/cohpsk.c:110:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/cohpsk.c:609:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/cohpsk.c:660:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/cohpsk.c:1125:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/cohpsk.c:1377:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/cohpsk.c:1437:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/cohpsk.c:1410:14: style: The if condition is the same as the previous if condition [duplicateCondition] codec2-1.2.0/src/cohpsk.c:1400:14: note: First condition codec2-1.2.0/src/cohpsk.c:1410:14: note: Second condition codec2-1.2.0/src/cohpsk.c:1073:13: style: The statement 'if (nin!=100) nin=100' is logically equivalent to 'nin=100'. [duplicateConditionalAssign] codec2-1.2.0/src/cohpsk.c:1073:30: note: Assignment 'nin=100' codec2-1.2.0/src/cohpsk.c:1073:13: note: Condition 'nin!=100' is redundant codec2-1.2.0/src/cohpsk.c:689:32: style:inconclusive: Function 'cohpsk_mod' argument 1 names different: declaration 'cohpsk' definition 'coh'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_cohpsk.h:51:32: note: Function 'cohpsk_mod' argument 1 names different: declaration 'cohpsk' definition 'coh'. codec2-1.2.0/src/cohpsk.c:689:32: note: Function 'cohpsk_mod' argument 1 names different: declaration 'cohpsk' definition 'coh'. codec2-1.2.0/src/cohpsk.c:1094:34: style:inconclusive: Function 'cohpsk_demod' argument 1 names different: declaration 'cohpsk' definition 'coh'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_cohpsk.h:53:34: note: Function 'cohpsk_demod' argument 1 names different: declaration 'cohpsk' definition 'coh'. codec2-1.2.0/src/cohpsk.c:1094:34: note: Function 'cohpsk_demod' argument 1 names different: declaration 'cohpsk' definition 'coh'. codec2-1.2.0/src/cohpsk.c:1094:61: style:inconclusive: Function 'cohpsk_demod' argument 3 names different: declaration 'sync' definition 'sync_good'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_cohpsk.h:53:64: note: Function 'cohpsk_demod' argument 3 names different: declaration 'sync' definition 'sync_good'. codec2-1.2.0/src/cohpsk.c:1094:61: note: Function 'cohpsk_demod' argument 3 names different: declaration 'sync' definition 'sync_good'. codec2-1.2.0/src/cohpsk.c:1284:44: style:inconclusive: Function 'cohpsk_get_demod_stats' argument 1 names different: declaration 'cohpsk' definition 'coh'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_cohpsk.h:55:44: note: Function 'cohpsk_get_demod_stats' argument 1 names different: declaration 'cohpsk' definition 'coh'. codec2-1.2.0/src/cohpsk.c:1284:44: note: Function 'cohpsk_get_demod_stats' argument 1 names different: declaration 'cohpsk' definition 'coh'. codec2-1.2.0/src/cohpsk.c:1362:49: style:inconclusive: Function 'cohpsk_put_test_bits' argument 5 names different: declaration 'rx_bits' definition 'rx_bits_char'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_cohpsk.h:59:49: note: Function 'cohpsk_put_test_bits' argument 5 names different: declaration 'rx_bits' definition 'rx_bits_char'. codec2-1.2.0/src/cohpsk.c:1362:49: note: Function 'cohpsk_put_test_bits' argument 5 names different: declaration 'rx_bits' definition 'rx_bits_char'. codec2-1.2.0/src/cohpsk.c:233:70: style: Parameter 'tx_bits' can be declared as const array [constParameter] codec2-1.2.0/src/cohpsk.c:531:71: style: Parameter 'coh' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/cohpsk.c:1284:44: style: Parameter 'coh' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/cohpsk.c:1362:49: style: Parameter 'rx_bits_char' can be declared as const array [constParameter] codec2-1.2.0/src/cohpsk.c:1426:48: style: Parameter 'coh' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/cohpsk.c:1430:48: style: Parameter 'coh' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/cohpsk.c:811:19: style: Unused variable: l [unusedVariable] codec2-1.2.0/src/cohpsk_demod.c:83:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/cohpsk_demod.c:48:22: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/cohpsk_demod.c:48:45: style: Parameter 'opt' can be declared as const array [constParameter] codec2-1.2.0/src/cohpsk_demod.c:58:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/cohpsk_demod.c:82:26: style: Variable 'long_opts' can be declared as const array [constVariable] codec2-1.2.0/src/cohpsk_get_test_bits.c:51:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/cohpsk_get_test_bits.c:38:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/cohpsk_get_test_bits.c:43:25: style: Variable 'ptest_bits_coh_end' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/cohpsk_mod.c:61:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/cohpsk_mod.c:40:22: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/cohpsk_mod.c:40:45: style: Parameter 'opt' can be declared as const array [constParameter] codec2-1.2.0/src/cohpsk_put_test_bits.c:54:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/cohpsk_put_test_bits.c:42:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/deframer.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/deframer.c:122:23: portability: Casting between unsigned char * and float * which have an incompatible binary data representation. [invalidPointerCast] codec2-1.2.0/src/deframer.c:77:9: style: Variable 'uw_hex' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/deframer.c:122:16: style: Variable 'pllr' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/fdmdv.c:102:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/fdmdv.c:1946:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/fdmdv.c:1983:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/fdmdv.c:1763:49: error: Array 'in8k[0]' accessed at index -24, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1763:12: note: Assignment 'i=-(48/2)', assigned value is -24 codec2-1.2.0/src/fdmdv.c:1763:49: note: Negative array index codec2-1.2.0/src/fdmdv.c:1788:49: error: Array 'in8k[0]' accessed at index -24, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1788:12: note: Assignment 'i=-(48/2)', assigned value is -24 codec2-1.2.0/src/fdmdv.c:1788:49: note: Negative array index codec2-1.2.0/src/fdmdv.c:1821:49: error: Array 'in16k[0]' accessed at index -48, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1821:13: note: Assignment 'i=-48', assigned value is -48 codec2-1.2.0/src/fdmdv.c:1821:49: note: Negative array index codec2-1.2.0/src/fdmdv.c:1837:49: error: Array 'in16k[0]' accessed at index -48, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1837:13: note: Assignment 'i=-48', assigned value is -48 codec2-1.2.0/src/fdmdv.c:1837:49: note: Negative array index codec2-1.2.0/src/fdmdv.c:1868:50: error: Array 'in8k[0]' accessed at index -8, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1868:12: note: Assignment 'i=-(48/6)', assigned value is -8 codec2-1.2.0/src/fdmdv.c:1868:50: note: Negative array index codec2-1.2.0/src/fdmdv.c:1886:50: error: Array 'in8k[0]' accessed at index -8, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1886:12: note: Assignment 'i=-(48/6)', assigned value is -8 codec2-1.2.0/src/fdmdv.c:1886:50: note: Negative array index codec2-1.2.0/src/fdmdv.c:1910:47: error: Array 'in48k[0]' accessed at index -47, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1907:12: note: Assignment 'i=0', assigned value is 0 codec2-1.2.0/src/fdmdv.c:1910:47: note: Negative array index codec2-1.2.0/src/fdmdv.c:1916:10: error: Array 'in48k[0]' accessed at index -48, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1915:13: note: Assignment 'i=-48', assigned value is -48 codec2-1.2.0/src/fdmdv.c:1916:10: note: Negative array index codec2-1.2.0/src/fdmdv.c:1926:42: error: Array 'in48k[0]' accessed at index -47, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1923:12: note: Assignment 'i=0', assigned value is 0 codec2-1.2.0/src/fdmdv.c:1926:42: note: Negative array index codec2-1.2.0/src/fdmdv.c:1933:10: error: Array 'in48k[0]' accessed at index -48, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1932:13: note: Assignment 'i=-48', assigned value is -48 codec2-1.2.0/src/fdmdv.c:1933:10: note: Negative array index codec2-1.2.0/src/fdmdv.c:593:7: style: The if condition is the same as the previous if condition [duplicateCondition] codec2-1.2.0/src/fdmdv.c:591:7: note: First condition codec2-1.2.0/src/fdmdv.c:593:7: note: Second condition codec2-1.2.0/src/fdmdv.c:197:34: style:inconclusive: Function 'fdmdv_destroy' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:97:34: note: Function 'fdmdv_destroy' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:197:34: note: Function 'fdmdv_destroy' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:204:47: style:inconclusive: Function 'fdmdv_use_old_qpsk_mapping' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:98:47: note: Function 'fdmdv_use_old_qpsk_mapping' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:204:47: note: Function 'fdmdv_use_old_qpsk_mapping' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:208:40: style:inconclusive: Function 'fdmdv_bits_per_frame' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:99:40: note: Function 'fdmdv_bits_per_frame' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:208:40: note: Function 'fdmdv_bits_per_frame' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:222:40: style:inconclusive: Function 'fdmdv_get_test_bits' argument 1 names different: declaration 'fdmdv_state' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:108:40: note: Function 'fdmdv_get_test_bits' argument 1 names different: declaration 'fdmdv_state' definition 'f'. codec2-1.2.0/src/fdmdv.c:222:40: note: Function 'fdmdv_get_test_bits' argument 1 names different: declaration 'fdmdv_state' definition 'f'. codec2-1.2.0/src/fdmdv.c:233:36: style:inconclusive: Function 'fdmdv_get_fsep' argument 1 names different: declaration 'fdmdv_state' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:100:36: note: Function 'fdmdv_get_fsep' argument 1 names different: declaration 'fdmdv_state' definition 'f'. codec2-1.2.0/src/fdmdv.c:233:36: note: Function 'fdmdv_get_fsep' argument 1 names different: declaration 'fdmdv_state' definition 'f'. codec2-1.2.0/src/fdmdv.c:235:35: style:inconclusive: Function 'fdmdv_set_fsep' argument 1 names different: declaration 'fdmdv_state' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:101:35: note: Function 'fdmdv_set_fsep' argument 1 names different: declaration 'fdmdv_state' definition 'f'. codec2-1.2.0/src/fdmdv.c:235:35: note: Function 'fdmdv_set_fsep' argument 1 names different: declaration 'fdmdv_state' definition 'f'. codec2-1.2.0/src/fdmdv.c:489:42: style:inconclusive: Function 'fdm_upconvert' argument 5 names different: declaration 'freq_tx' definition 'freq'. [funcArgNamesDifferent] codec2-1.2.0/src/fdmdv_internal.h:177:42: note: Function 'fdm_upconvert' argument 5 names different: declaration 'freq_tx' definition 'freq'. codec2-1.2.0/src/fdmdv.c:489:42: note: Function 'fdm_upconvert' argument 5 names different: declaration 'freq_tx' definition 'freq'. codec2-1.2.0/src/fdmdv.c:553:30: style:inconclusive: Function 'fdmdv_mod' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:103:30: note: Function 'fdmdv_mod' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:553:30: note: Function 'fdmdv_mod' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:1436:44: style:inconclusive: Function 'fdmdv_error_pattern_size' argument 1 names different: declaration 'fdmdv_state' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:109:44: note: Function 'fdmdv_error_pattern_size' argument 1 names different: declaration 'fdmdv_state' definition 'f'. codec2-1.2.0/src/fdmdv.c:1436:44: note: Function 'fdmdv_error_pattern_size' argument 1 names different: declaration 'fdmdv_state' definition 'f'. codec2-1.2.0/src/fdmdv.c:1586:32: style:inconclusive: Function 'fdmdv_demod' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:105:32: note: Function 'fdmdv_demod' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:1586:32: note: Function 'fdmdv_demod' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:1712:42: style:inconclusive: Function 'fdmdv_get_demod_stats' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:113:42: note: Function 'fdmdv_get_demod_stats' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:1712:42: note: Function 'fdmdv_get_demod_stats' argument 1 names different: declaration 'fdmdv_state' definition 'fdmdv'. codec2-1.2.0/src/fdmdv.c:1741:54: style:inconclusive: Function 'fdmdv_8_to_16' argument 3 names different: declaration 'n' definition 'n8k'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:116:54: note: Function 'fdmdv_8_to_16' argument 3 names different: declaration 'n' definition 'n8k'. codec2-1.2.0/src/fdmdv.c:1741:54: note: Function 'fdmdv_8_to_16' argument 3 names different: declaration 'n' definition 'n8k'. codec2-1.2.0/src/fdmdv.c:1766:60: style:inconclusive: Function 'fdmdv_8_to_16_short' argument 3 names different: declaration 'n' definition 'n8k'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fdmdv.h:117:60: note: Function 'fdmdv_8_to_16_short' argument 3 names different: declaration 'n' definition 'n8k'. codec2-1.2.0/src/fdmdv.c:1766:60: note: Function 'fdmdv_8_to_16_short' argument 3 names different: declaration 'n' definition 'n8k'. codec2-1.2.0/src/fdmdv.c:208:40: style: Parameter 'fdmdv' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/fdmdv.c:233:36: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/fdmdv.c:271:32: style: Parameter 'tx_bits' can be declared as const array [constParameter] codec2-1.2.0/src/fdmdv.c:584:63: style: Parameter 'freq' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/fdmdv.c:1102:69: style: Parameter 'freq_pol' can be declared as const array [constParameter] codec2-1.2.0/src/fdmdv.c:1436:44: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/fdmdv.c:1450:64: style: Parameter 'rx_bits' can be declared as const array [constParameter] codec2-1.2.0/src/fdmdv.c:1669:30: style: Parameter 'sig_est' can be declared as const array [constParameter] codec2-1.2.0/src/fdmdv.c:1669:47: style: Parameter 'noise_est' can be declared as const array [constParameter] codec2-1.2.0/src/fdmdv.c:1943:40: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/fdmdv_demod.c:90:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/fdmdv_demod.c:167:9: warning: If memory allocation fails, then there is a possible null pointer dereference: rx_symbols_log [nullPointerOutOfMemory] codec2-1.2.0/src/fdmdv_demod.c:139:28: note: Assuming allocation function fails codec2-1.2.0/src/fdmdv_demod.c:139:20: note: Assignment 'rx_symbols_log=(struct COMP*)(malloc(sizeof(struct COMP)*(Nc+1)*50*60))', assigned value is 0 codec2-1.2.0/src/fdmdv_demod.c:167:9: note: Null pointer dereference codec2-1.2.0/src/fdmdv_demod.c:51:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/fdmdv_get_test_bits.c:56:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/fdmdv_get_test_bits.c:37:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/fdmdv_mod.c:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/fdmdv_mod.c:40:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/fdmdv_put_test_bits.c:59:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/fdmdv_put_test_bits.c:100:16: warning: Either the condition 'packed_bits!=NULL' is redundant or there is possible null pointer dereference: packed_bits. [nullPointerRedundantCheck] codec2-1.2.0/src/fdmdv_put_test_bits.c:164:19: note: Assuming that condition 'packed_bits!=NULL' is not redundant codec2-1.2.0/src/fdmdv_put_test_bits.c:100:16: note: Null pointer dereference codec2-1.2.0/src/fdmdv_put_test_bits.c:38:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/filter.c:245:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/filter.c:263:37: style: Parameter 'inSamples' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/fm.c:110:26: style:inconclusive: Function 'fm_demod' argument 1 names different: declaration 'fm' definition 'fm_states'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fm.h:48:26: note: Function 'fm_demod' argument 1 names different: declaration 'fm' definition 'fm_states'. codec2-1.2.0/src/fm.c:110:26: note: Function 'fm_demod' argument 1 names different: declaration 'fm' definition 'fm_states'. codec2-1.2.0/src/fm.c:209:24: style:inconclusive: Function 'fm_mod' argument 1 names different: declaration 'fm' definition 'fm_states'. [funcArgNamesDifferent] codec2-1.2.0/src/codec2_fm.h:49:24: note: Function 'fm_mod' argument 1 names different: declaration 'fm' definition 'fm_states'. codec2-1.2.0/src/fm.c:209:24: note: Function 'fm_mod' argument 1 names different: declaration 'fm' definition 'fm_states'. codec2-1.2.0/src/fm.c:110:59: style: Parameter 'rx' can be declared as const array [constParameter] codec2-1.2.0/src/fm.c:209:41: style: Parameter 'tx_in' can be declared as const array [constParameter] codec2-1.2.0/src/fm.c:253:46: style: Parameter 'tx_in' can be declared as const array [constParameter] codec2-1.2.0/src/fmfsk.c:204:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rx_filt [nullPointerOutOfMemory] codec2-1.2.0/src/fmfsk.c:195:26: note: Assuming allocation function fails codec2-1.2.0/src/fmfsk.c:195:26: note: Assignment 'rx_filt=malloc(sizeof(float)*(nsym+1)*Ts)', assigned value is 0 codec2-1.2.0/src/fmfsk.c:204:5: note: Null pointer dereference codec2-1.2.0/src/fmfsk.c:227:9: warning: If memory allocation fails, then there is a possible null pointer dereference: rx_filt [nullPointerOutOfMemory] codec2-1.2.0/src/fmfsk.c:195:26: note: Assuming allocation function fails codec2-1.2.0/src/fmfsk.c:195:26: note: Assignment 'rx_filt=malloc(sizeof(float)*(nsym+1)*Ts)', assigned value is 0 codec2-1.2.0/src/fmfsk.c:227:9: note: Null pointer dereference codec2-1.2.0/src/fmfsk.c:227:22: warning: If memory allocation fails, then there is a possible null pointer dereference: rx_filt [nullPointerOutOfMemory] codec2-1.2.0/src/fmfsk.c:195:26: note: Assuming allocation function fails codec2-1.2.0/src/fmfsk.c:195:26: note: Assignment 'rx_filt=malloc(sizeof(float)*(nsym+1)*Ts)', assigned value is 0 codec2-1.2.0/src/fmfsk.c:227:22: note: Null pointer dereference codec2-1.2.0/src/fmfsk.c:104:34: style: Parameter 'fmfsk' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/fmfsk.c:138:30: style: Parameter 'fmfsk' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/fmfsk.c:138:64: style: Parameter 'bits_in' can be declared as const array [constParameter] codec2-1.2.0/src/fmfsk.c:164:64: style: Parameter 'fmfsk_in' can be declared as const array [constParameter] codec2-1.2.0/src/modem_probe.h:106:43: style: Parameter 'modname' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/modem_probe.h:106:58: style: Parameter 'runname' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/modem_probe.h:110:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/modem_probe.h:110:55: style: Parameter 'samp' can be declared as const array [constParameter] codec2-1.2.0/src/modem_probe.h:114:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/modem_probe.h:114:57: style: Parameter 'samp' can be declared as const array [constParameter] codec2-1.2.0/src/modem_probe.h:118:45: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/modem_probe.h:122:47: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/modem_probe.h:122:67: style: Parameter 'samp' can be declared as const array [constParameter] codec2-1.2.0/src/framer.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/framer.c:75:9: style: Variable 'uw_hex' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/framer.c:91:12: warning: Uninitialized variable: uw [uninitvar] codec2-1.2.0/src/framer.c:78:21: note: Assuming condition is false codec2-1.2.0/src/framer.c:91:12: note: Uninitialized variable: uw codec2-1.2.0/src/freedv_700.c:589:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_700.c:314:10: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] codec2-1.2.0/src/freedv_700.c:311:5: note: i is assigned codec2-1.2.0/src/freedv_700.c:314:10: note: i is overwritten codec2-1.2.0/src/freedv_700.c:365:16: style: Variable 'rx_bits_lower' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/freedv_700.c:374:16: style: Variable 'rx_bits_upper' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/freedv_700.c:111:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/freedv_api.c:1009:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_api.c:308:31: style:inconclusive: Function 'freedv_tx' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:200:31: note: Function 'freedv_tx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:308:31: note: Function 'freedv_tx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:336:35: style:inconclusive: Function 'freedv_comptx' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:201:35: note: Function 'freedv_comptx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:336:35: note: Function 'freedv_comptx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:429:52: style:inconclusive: Function 'freedv_crc16_unpacked' argument 1 names different: declaration 'bits' definition 'unpacked_bits'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:238:53: note: Function 'freedv_crc16_unpacked' argument 1 names different: declaration 'bits' definition 'unpacked_bits'. codec2-1.2.0/src/freedv_api.c:429:52: note: Function 'freedv_crc16_unpacked' argument 1 names different: declaration 'bits' definition 'unpacked_bits'. codec2-1.2.0/src/freedv_api.c:585:42: style:inconclusive: Function 'freedv_data_ntxframes' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:203:42: note: Function 'freedv_data_ntxframes' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:585:42: note: Function 'freedv_data_ntxframes' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:598:31: style:inconclusive: Function 'freedv_nin' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:215:31: note: Function 'freedv_nin' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:598:31: note: Function 'freedv_nin' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:608:53: style:inconclusive: Function 'freedv_codec_frames_from_rawdata' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:229:53: note: Function 'freedv_codec_frames_from_rawdata' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:608:53: note: Function 'freedv_codec_frames_from_rawdata' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:649:53: style:inconclusive: Function 'freedv_rawdata_from_codec_frames' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:232:53: note: Function 'freedv_rawdata_from_codec_frames' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:649:53: note: Function 'freedv_rawdata_from_codec_frames' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:738:30: style:inconclusive: Function 'freedv_rx' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:216:30: note: Function 'freedv_rx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:738:30: note: Function 'freedv_rx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:788:34: style:inconclusive: Function 'freedv_comprx' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:220:34: note: Function 'freedv_comprx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:788:34: note: Function 'freedv_comprx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:829:35: style:inconclusive: Function 'freedv_shortrx' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:217:35: note: Function 'freedv_shortrx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:829:35: note: Function 'freedv_shortrx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1020:37: style:inconclusive: Function 'freedv_rawdatarx' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:221:37: note: Function 'freedv_rawdatarx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1020:37: note: Function 'freedv_rawdatarx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1037:41: style:inconclusive: Function 'freedv_rawdatacomprx' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:223:41: note: Function 'freedv_rawdatacomprx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1037:41: note: Function 'freedv_rawdatacomprx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1130:45: style:inconclusive: Function 'freedv_set_callback_txt' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:243:45: note: Function 'freedv_set_callback_txt' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1130:45: note: Function 'freedv_set_callback_txt' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1131:59: style:inconclusive: Function 'freedv_set_callback_txt' argument 4 names different: declaration 'callback_state' definition 'state'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:244:59: note: Function 'freedv_set_callback_txt' argument 4 names different: declaration 'callback_state' definition 'state'. codec2-1.2.0/src/freedv_api.c:1131:59: note: Function 'freedv_set_callback_txt' argument 4 names different: declaration 'callback_state' definition 'state'. codec2-1.2.0/src/freedv_api.c:1158:49: style:inconclusive: Function 'freedv_set_callback_txt_sym' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api_internal.h:259:49: note: Function 'freedv_set_callback_txt_sym' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1158:49: note: Function 'freedv_set_callback_txt_sym' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1159:40: style:inconclusive: Function 'freedv_set_callback_txt_sym' argument 3 names different: declaration 'callback_state' definition 'state'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api_internal.h:261:40: note: Function 'freedv_set_callback_txt_sym' argument 3 names different: declaration 'callback_state' definition 'state'. codec2-1.2.0/src/freedv_api.c:1159:40: note: Function 'freedv_set_callback_txt_sym' argument 3 names different: declaration 'callback_state' definition 'state'. codec2-1.2.0/src/freedv_api.c:1189:50: style:inconclusive: Function 'freedv_set_callback_protocol' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:245:50: note: Function 'freedv_set_callback_protocol' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1189:50: note: Function 'freedv_set_callback_protocol' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1216:46: style:inconclusive: Function 'freedv_set_callback_data' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:249:46: note: Function 'freedv_set_callback_data' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1216:46: note: Function 'freedv_set_callback_data' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1245:44: style:inconclusive: Function 'freedv_set_data_header' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:271:44: note: Function 'freedv_set_data_header' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1245:44: note: Function 'freedv_set_data_header' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1267:44: style:inconclusive: Function 'freedv_get_modem_stats' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:293:44: note: Function 'freedv_get_modem_stats' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1267:44: note: Function 'freedv_get_modem_stats' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1287:44: style:inconclusive: Function 'freedv_set_test_frames' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:253:44: note: Function 'freedv_set_test_frames' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1287:44: note: Function 'freedv_set_test_frames' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1287:51: style:inconclusive: Function 'freedv_set_test_frames' argument 2 names different: declaration 'test_frames' definition 'val'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:253:56: note: Function 'freedv_set_test_frames' argument 2 names different: declaration 'test_frames' definition 'val'. codec2-1.2.0/src/freedv_api.c:1287:51: note: Function 'freedv_set_test_frames' argument 2 names different: declaration 'test_frames' definition 'val'. codec2-1.2.0/src/freedv_api.c:1288:54: style:inconclusive: Function 'freedv_set_test_frames_diversity' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:254:54: note: Function 'freedv_set_test_frames_diversity' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1288:54: note: Function 'freedv_set_test_frames_diversity' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1288:61: style:inconclusive: Function 'freedv_set_test_frames_diversity' argument 2 names different: declaration 'test_frames_diversity' definition 'val'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:255:43: note: Function 'freedv_set_test_frames_diversity' argument 2 names different: declaration 'test_frames_diversity' definition 'val'. codec2-1.2.0/src/freedv_api.c:1288:61: note: Function 'freedv_set_test_frames_diversity' argument 2 names different: declaration 'test_frames_diversity' definition 'val'. codec2-1.2.0/src/freedv_api.c:1291:43: style:inconclusive: Function 'freedv_set_squelch_en' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:257:43: note: Function 'freedv_set_squelch_en' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1291:43: note: Function 'freedv_set_squelch_en' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1291:51: style:inconclusive: Function 'freedv_set_squelch_en' argument 2 names different: declaration 'squelch_en' definition 'val'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:257:56: note: Function 'freedv_set_squelch_en' argument 2 names different: declaration 'squelch_en' definition 'val'. codec2-1.2.0/src/freedv_api.c:1291:51: note: Function 'freedv_set_squelch_en' argument 2 names different: declaration 'squelch_en' definition 'val'. codec2-1.2.0/src/freedv_api.c:1292:49: style:inconclusive: Function 'freedv_set_total_bit_errors' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:261:49: note: Function 'freedv_set_total_bit_errors' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1292:49: note: Function 'freedv_set_total_bit_errors' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1295:43: style:inconclusive: Function 'freedv_set_total_bits' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:262:43: note: Function 'freedv_set_total_bits' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1295:43: note: Function 'freedv_set_total_bits' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1296:55: style:inconclusive: Function 'freedv_set_total_bit_errors_coded' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:263:55: note: Function 'freedv_set_total_bit_errors_coded' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1296:55: note: Function 'freedv_set_total_bit_errors_coded' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1299:49: style:inconclusive: Function 'freedv_set_total_bits_coded' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:264:49: note: Function 'freedv_set_total_bits_coded' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1299:49: note: Function 'freedv_set_total_bits_coded' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1302:52: style:inconclusive: Function 'freedv_set_total_packet_errors' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:266:52: note: Function 'freedv_set_total_packet_errors' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1302:52: note: Function 'freedv_set_total_packet_errors' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1305:46: style:inconclusive: Function 'freedv_set_total_packets' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:265:46: note: Function 'freedv_set_total_packets' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1305:46: note: Function 'freedv_set_total_packets' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1308:50: style:inconclusive: Function 'freedv_set_varicode_code_num' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:270:50: note: Function 'freedv_set_varicode_code_num' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1308:50: note: Function 'freedv_set_varicode_code_num' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1312:51: style:inconclusive: Function 'freedv_set_snr_squelch_thresh' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:258:51: note: Function 'freedv_set_snr_squelch_thresh' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1312:51: note: Function 'freedv_set_snr_squelch_thresh' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1312:60: style:inconclusive: Function 'freedv_set_snr_squelch_thresh' argument 2 names different: declaration 'snr_squelch_thresh' definition 'val'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:259:42: note: Function 'freedv_set_snr_squelch_thresh' argument 2 names different: declaration 'snr_squelch_thresh' definition 'val'. codec2-1.2.0/src/freedv_api.c:1312:60: note: Function 'freedv_set_snr_squelch_thresh' argument 2 names different: declaration 'snr_squelch_thresh' definition 'val'. codec2-1.2.0/src/freedv_api.c:1315:39: style:inconclusive: Function 'freedv_set_tx_amp' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:276:39: note: Function 'freedv_set_tx_amp' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1315:39: note: Function 'freedv_set_tx_amp' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1322:37: style:inconclusive: Function 'freedv_set_clip' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:260:37: note: Function 'freedv_set_clip' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1322:37: note: Function 'freedv_set_clip' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1333:39: style:inconclusive: Function 'freedv_set_tx_bpf' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:275:39: note: Function 'freedv_set_tx_bpf' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1333:39: note: Function 'freedv_set_tx_bpf' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1353:40: style:inconclusive: Function 'freedv_set_verbose' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:274:40: note: Function 'freedv_set_verbose' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1353:40: note: Function 'freedv_set_verbose' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1363:55: style:inconclusive: Function 'freedv_set_callback_error_pattern' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:267:55: note: Function 'freedv_set_callback_error_pattern' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1363:55: note: Function 'freedv_set_callback_error_pattern' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1370:45: style:inconclusive: Function 'freedv_set_carrier_ampl' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:272:45: note: Function 'freedv_set_carrier_ampl' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1370:45: note: Function 'freedv_set_carrier_ampl' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1397:49: style:inconclusive: Function 'freedv_set_frames_per_burst' argument 1 names different: declaration 'f' definition 'freedv'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:280:49: note: Function 'freedv_set_frames_per_burst' argument 1 names different: declaration 'f' definition 'freedv'. codec2-1.2.0/src/freedv_api.c:1397:49: note: Function 'freedv_set_frames_per_burst' argument 1 names different: declaration 'f' definition 'freedv'. codec2-1.2.0/src/freedv_api.c:1420:45: style:inconclusive: Function 'freedv_get_protocol_bits' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:331:45: note: Function 'freedv_get_protocol_bits' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1420:45: note: Function 'freedv_get_protocol_bits' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1421:36: style:inconclusive: Function 'freedv_get_mode' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:292:36: note: Function 'freedv_get_mode' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1421:36: note: Function 'freedv_get_mode' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1422:43: style:inconclusive: Function 'freedv_get_test_frames' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:296:43: note: Function 'freedv_get_test_frames' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1422:43: note: Function 'freedv_get_test_frames' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1423:50: style:inconclusive: Function 'freedv_get_speech_sample_rate' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:298:50: note: Function 'freedv_get_speech_sample_rate' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1423:50: note: Function 'freedv_get_speech_sample_rate' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1426:48: style:inconclusive: Function 'freedv_get_n_speech_samples' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:299:48: note: Function 'freedv_get_n_speech_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1426:48: note: Function 'freedv_get_n_speech_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1429:49: style:inconclusive: Function 'freedv_get_modem_sample_rate' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:302:49: note: Function 'freedv_get_modem_sample_rate' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1429:49: note: Function 'freedv_get_modem_sample_rate' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1432:49: style:inconclusive: Function 'freedv_get_modem_symbol_rate' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:303:49: note: Function 'freedv_get_modem_symbol_rate' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1432:49: note: Function 'freedv_get_modem_symbol_rate' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1435:51: style:inconclusive: Function 'freedv_get_n_max_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:304:51: note: Function 'freedv_get_n_max_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1435:51: note: Function 'freedv_get_n_max_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1438:51: style:inconclusive: Function 'freedv_get_n_nom_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:305:51: note: Function 'freedv_get_n_nom_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1438:51: note: Function 'freedv_get_n_nom_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1441:50: style:inconclusive: Function 'freedv_get_n_tx_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:306:50: note: Function 'freedv_get_n_tx_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1441:50: note: Function 'freedv_get_n_tx_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1444:42: style:inconclusive: Function 'freedv_get_total_bits' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:311:42: note: Function 'freedv_get_total_bits' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1444:42: note: Function 'freedv_get_total_bits' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1445:48: style:inconclusive: Function 'freedv_get_total_bit_errors' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:312:48: note: Function 'freedv_get_total_bit_errors' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1445:48: note: Function 'freedv_get_total_bit_errors' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1448:48: style:inconclusive: Function 'freedv_get_total_bits_coded' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:313:48: note: Function 'freedv_get_total_bits_coded' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1448:48: note: Function 'freedv_get_total_bits_coded' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1451:54: style:inconclusive: Function 'freedv_get_total_bit_errors_coded' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:314:54: note: Function 'freedv_get_total_bit_errors_coded' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1451:54: note: Function 'freedv_get_total_bit_errors_coded' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1454:45: style:inconclusive: Function 'freedv_get_total_packets' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:315:45: note: Function 'freedv_get_total_packets' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1454:45: note: Function 'freedv_get_total_packets' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1455:51: style:inconclusive: Function 'freedv_get_total_packet_errors' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:316:51: note: Function 'freedv_get_total_packet_errors' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1455:51: note: Function 'freedv_get_total_packet_errors' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1458:36: style:inconclusive: Function 'freedv_get_sync' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:321:36: note: Function 'freedv_get_sync' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1458:36: note: Function 'freedv_get_sync' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1459:49: style:inconclusive: Function 'freedv_get_codec2' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:326:49: note: Function 'freedv_get_codec2' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1459:49: note: Function 'freedv_get_codec2' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1462:52: style:inconclusive: Function 'freedv_get_bits_per_codec_frame' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:328:52: note: Function 'freedv_get_bits_per_codec_frame' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1462:52: note: Function 'freedv_get_bits_per_codec_frame' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1465:52: style:inconclusive: Function 'freedv_get_bits_per_modem_frame' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:329:52: note: Function 'freedv_get_bits_per_modem_frame' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1465:52: note: Function 'freedv_get_bits_per_modem_frame' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1468:41: style:inconclusive: Function 'freedv_get_rx_status' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:318:41: note: Function 'freedv_get_rx_status' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1468:41: note: Function 'freedv_get_rx_status' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1469:44: style:inconclusive: Function 'freedv_get_fsk_S_and_N' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:319:44: note: Function 'freedv_get_fsk_S_and_N' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1469:44: note: Function 'freedv_get_fsk_S_and_N' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1500:52: style:inconclusive: Function 'freedv_get_n_max_speech_samples' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:300:52: note: Function 'freedv_get_n_max_speech_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1500:52: note: Function 'freedv_get_n_max_speech_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1521:48: style:inconclusive: Function 'freedv_get_sync_interleaver' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:322:48: note: Function 'freedv_get_sync_interleaver' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1521:48: note: Function 'freedv_get_sync_interleaver' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1523:48: style:inconclusive: Function 'freedv_get_sz_error_pattern' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:330:48: note: Function 'freedv_get_sz_error_pattern' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1523:48: note: Function 'freedv_get_sz_error_pattern' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1534:53: style:inconclusive: Function 'freedv_get_modem_extended_stats' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:294:53: note: Function 'freedv_get_modem_extended_stats' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1534:53: note: Function 'freedv_get_modem_extended_stats' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1572:59: style:inconclusive: Function 'freedv_get_n_tx_preamble_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:307:59: note: Function 'freedv_get_n_tx_preamble_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1572:59: note: Function 'freedv_get_n_tx_preamble_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1584:60: style:inconclusive: Function 'freedv_get_n_tx_postamble_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:308:60: note: Function 'freedv_get_n_tx_postamble_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1584:60: note: Function 'freedv_get_n_tx_postamble_modem_samples' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_api.c:1595:48: style:inconclusive: Function 'freedv_gen_crc16' argument 1 names different: declaration 'bytes' definition 'data_p'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:235:48: note: Function 'freedv_gen_crc16' argument 1 names different: declaration 'bytes' definition 'data_p'. codec2-1.2.0/src/freedv_api.c:1595:48: note: Function 'freedv_gen_crc16' argument 1 names different: declaration 'bytes' definition 'data_p'. codec2-1.2.0/src/freedv_api.c:1595:60: style:inconclusive: Function 'freedv_gen_crc16' argument 2 names different: declaration 'nbytes' definition 'length'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:235:59: note: Function 'freedv_gen_crc16' argument 2 names different: declaration 'nbytes' definition 'length'. codec2-1.2.0/src/freedv_api.c:1595:60: note: Function 'freedv_gen_crc16' argument 2 names different: declaration 'nbytes' definition 'length'. codec2-1.2.0/src/freedv_api.c:260:40: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:272:45: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:402:43: style: Parameter 'bits' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:416:44: style: Parameter 'bytes' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:505:17: style: Variable 'fsk' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/freedv_api.c:610:53: style: Parameter 'rawdata' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:650:53: style: Parameter 'codec_frames' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:893:33: style: Parameter 'demod_in' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_api.c:1021:28: style: Parameter 'demod_in' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_api.c:1406:43: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1420:45: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1421:36: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1422:43: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1423:50: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1426:48: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1429:49: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1432:49: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1435:51: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1438:51: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1441:50: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1444:42: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1445:48: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1448:48: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1451:54: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1454:45: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1455:51: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1458:36: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1459:49: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1462:52: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1465:52: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1468:41: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1521:48: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_api.c:1574:17: style: Variable 'fsk' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/freedv_api.c:1595:48: style: Parameter 'data_p' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_data_channel.c:205:16: style: Local variable 'size' shadows outer argument [shadowArgument] codec2-1.2.0/src/freedv_data_channel.c:129:63: note: Shadowed declaration codec2-1.2.0/src/freedv_data_channel.c:205:16: note: Shadow variable codec2-1.2.0/src/freedv_data_channel.c:299:61: style: Parameter 'fdc' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_data_raw_rx.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_data_raw_rx.c:72:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_data_raw_rx.c:51:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_data_raw_rx.c:71:26: style: Variable 'long_opts' can be declared as const array [constVariable] codec2-1.2.0/src/freedv_data_raw_rx.c:259:17: style: Variable 'fsk' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/freedv_data_raw_tx.c:76:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_data_raw_tx.c:368:11: style: Local variable 'samples_delay' shadows outer variable [shadowVariable] codec2-1.2.0/src/freedv_data_raw_tx.c:319:7: note: Shadowed declaration codec2-1.2.0/src/freedv_data_raw_tx.c:368:11: note: Shadow variable codec2-1.2.0/src/freedv_data_raw_tx.c:405:11: style: Local variable 'samples_delay' shadows outer variable [shadowVariable] codec2-1.2.0/src/freedv_data_raw_tx.c:319:7: note: Shadowed declaration codec2-1.2.0/src/freedv_data_raw_tx.c:405:11: note: Shadow variable codec2-1.2.0/src/freedv_data_raw_tx.c:421:9: style: Local variable 'samples_delay' shadows outer variable [shadowVariable] codec2-1.2.0/src/freedv_data_raw_tx.c:319:7: note: Shadowed declaration codec2-1.2.0/src/freedv_data_raw_tx.c:421:9: note: Shadow variable codec2-1.2.0/src/freedv_data_raw_tx.c:51:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_data_raw_tx.c:75:26: style: Variable 'long_opts' can be declared as const array [constVariable] codec2-1.2.0/src/freedv_data_raw_tx.c:504:10: warning: Uninitialized variable: sil_short [uninitvar] codec2-1.2.0/src/freedv_data_raw_tx.c:503:21: note: Assuming condition is false codec2-1.2.0/src/freedv_data_raw_tx.c:504:10: note: Uninitialized variable: sil_short codec2-1.2.0/src/freedv_data_raw_tx.c:303:19: style: Variable 'Ntestframes' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/freedv_data_rx.c:142:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_data_rx.c:164:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_data_rx.c:117:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] codec2-1.2.0/src/freedv_data_rx.c:52:36: style: Parameter 'mac' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_data_rx.c:146:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_data_tx.c:105:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_data_tx.c:203:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_data_tx.c:52:50: style: Parameter 'callsign' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_fsk.c:620:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_fsk.c:696:35: style:inconclusive: Function 'freedv_floatrx' argument 1 names different: declaration 'freedv' definition 'f'. [funcArgNamesDifferent] codec2-1.2.0/src/freedv_api.h:219:35: note: Function 'freedv_floatrx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_fsk.c:696:35: note: Function 'freedv_floatrx' argument 1 names different: declaration 'freedv' definition 'f'. codec2-1.2.0/src/freedv_fsk.c:399:40: style: Parameter 'payload_data' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_fsk.c:696:64: style: Parameter 'demod_in' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_mixed_rx.c:64:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_mixed_rx.c:94:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_mixed_rx.c:53:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] codec2-1.2.0/src/freedv_mixed_rx.c:45:53: style: Parameter 'packet' can be declared as pointer to const. However it seems that 'my_datarx' is a callback function, if 'packet' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/src/freedv_mixed_rx.c:149:36: note: You might need to cast the function pointer here codec2-1.2.0/src/freedv_mixed_rx.c:45:53: note: Parameter 'packet' can be declared as pointer to const codec2-1.2.0/src/freedv_mixed_rx.c:68:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_mixed_tx.c:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_mixed_tx.c:224:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_mixed_tx.c:53:50: style: Parameter 'callsign' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_mixed_tx.c:180:40: style: Parameter 'samples' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_rx.c:85:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_rx.c:62:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_rx.c:77:8: style: Variable 'f2020' can be declared as const array [constVariable] codec2-1.2.0/src/freedv_rx.c:114:26: style: Variable 'long_opts' can be declared as const array [constVariable] codec2-1.2.0/src/freedv_tx.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/freedv_tx.c:55:32: style: Parameter 'state' can be declared as pointer to const. However it seems that 'on_reliable_text_rx' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/src/freedv_tx.c:184:35: note: You might need to cast the function pointer here codec2-1.2.0/src/freedv_tx.c:55:32: note: Parameter 'state' can be declared as pointer to const codec2-1.2.0/src/freedv_tx.c:59:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_tx.c:64:9: style: Variable 'callsign' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/freedv_tx.c:66:8: style: Variable 'f2020' can be declared as const array [constVariable] codec2-1.2.0/src/freedv_tx.c:99:26: style: Variable 'long_opts' can be declared as const array [constVariable] codec2-1.2.0/src/freedv_vhf_framing.c:373:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] codec2-1.2.0/src/freedv_vhf_framing.c:375:5: note: Found duplicate branches for 'if' and 'else'. codec2-1.2.0/src/freedv_vhf_framing.c:373:10: note: Found duplicate branches for 'if' and 'else'. codec2-1.2.0/src/freedv_vhf_framing.c:384:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] codec2-1.2.0/src/freedv_vhf_framing.c:386:5: note: Found duplicate branches for 'if' and 'else'. codec2-1.2.0/src/freedv_vhf_framing.c:384:10: note: Found duplicate branches for 'if' and 'else'. codec2-1.2.0/src/freedv_vhf_framing.c:117:31: style: Parameter 'proto_in' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_vhf_framing.c:117:51: style: Parameter 'vc_in' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_vhf_framing.c:157:14: style: Variable 'codec2_in1' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/freedv_vhf_framing.c:158:14: style: Variable 'codec2_in2' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/freedv_vhf_framing.c:354:54: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_vhf_framing.c:359:55: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_vhf_framing.c:370:54: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_vhf_framing.c:381:57: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_vhf_framing.c:397:52: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_vhf_framing.c:425:55: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_vhf_framing.c:425:68: style: Parameter 'bits' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_vhf_framing.c:488:67: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/freedv_vhf_framing.c:489:47: style: Parameter 'bits' can be declared as const array [constParameter] codec2-1.2.0/src/freedv_vhf_framing.c:632:46: style: Parameter 'bits' can be declared as const array [constParameter] codec2-1.2.0/src/fsk.c:501:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fftin [nullPointerOutOfMemory] codec2-1.2.0/src/fsk.c:476:47: note: Assuming allocation function fails codec2-1.2.0/src/fsk.c:476:25: note: Assignment 'fftin=(struct kiss_fft_cpx*)malloc(sizeof(struct kiss_fft_cpx)*Ndft)', assigned value is 0 codec2-1.2.0/src/fsk.c:501:7: note: Null pointer dereference codec2-1.2.0/src/fsk.c:502:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fftin [nullPointerOutOfMemory] codec2-1.2.0/src/fsk.c:476:47: note: Assuming allocation function fails codec2-1.2.0/src/fsk.c:476:25: note: Assignment 'fftin=(struct kiss_fft_cpx*)malloc(sizeof(struct kiss_fft_cpx)*Ndft)', assigned value is 0 codec2-1.2.0/src/fsk.c:502:7: note: Null pointer dereference codec2-1.2.0/src/fsk.c:222:51: style:inconclusive: Function 'fsk_create' argument 4 names different: declaration 'f1_tx' definition 'tx_f1'. [funcArgNamesDifferent] codec2-1.2.0/src/fsk.h:117:51: note: Function 'fsk_create' argument 4 names different: declaration 'f1_tx' definition 'tx_f1'. codec2-1.2.0/src/fsk.c:222:51: note: Function 'fsk_create' argument 4 names different: declaration 'f1_tx' definition 'tx_f1'. codec2-1.2.0/src/fsk.c:222:62: style:inconclusive: Function 'fsk_create' argument 5 names different: declaration 'tone_spacing' definition 'tx_fs'. [funcArgNamesDifferent] codec2-1.2.0/src/fsk.h:117:62: note: Function 'fsk_create' argument 5 names different: declaration 'tone_spacing' definition 'tx_fs'. codec2-1.2.0/src/fsk.c:222:62: note: Function 'fsk_create' argument 5 names different: declaration 'tone_spacing' definition 'tx_fs'. codec2-1.2.0/src/fsk.c:1043:51: style:inconclusive: Function 'fsk_set_freq_est_limits' argument 2 names different: declaration 'fmin' definition 'est_min'. [funcArgNamesDifferent] codec2-1.2.0/src/fsk.h:138:51: note: Function 'fsk_set_freq_est_limits' argument 2 names different: declaration 'fmin' definition 'est_min'. codec2-1.2.0/src/fsk.c:1043:51: note: Function 'fsk_set_freq_est_limits' argument 2 names different: declaration 'fmin' definition 'est_min'. codec2-1.2.0/src/fsk.c:1043:64: style:inconclusive: Function 'fsk_set_freq_est_limits' argument 3 names different: declaration 'fmax' definition 'est_max'. [funcArgNamesDifferent] codec2-1.2.0/src/fsk.h:138:61: note: Function 'fsk_set_freq_est_limits' argument 3 names different: declaration 'fmax' definition 'est_max'. codec2-1.2.0/src/fsk.c:1043:64: note: Function 'fsk_set_freq_est_limits' argument 3 names different: declaration 'fmax' definition 'est_max'. codec2-1.2.0/src/fsk.c:874:12: style: Local variable 'm' shadows outer variable [shadowVariable] codec2-1.2.0/src/fsk.c:628:16: note: Shadowed declaration codec2-1.2.0/src/fsk.c:874:12: note: Shadow variable codec2-1.2.0/src/fsk.c:282:56: style: Parameter 'tx_bits' can be declared as const array [constParameter] codec2-1.2.0/src/fsk.c:340:57: style: Parameter 'tx_bits' can be declared as const array [constParameter] codec2-1.2.0/src/fsk.c:400:34: style: Parameter 'fsk' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/fsk.c:400:64: style: Parameter 'tx_bits' can be declared as const array [constParameter] codec2-1.2.0/src/fsk.c:454:30: style: Parameter 'fsk' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/fsk.c:595:10: style: Variable 'Sf' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/fsk.c:656:10: style: Variable 'f_est' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/fsk.c:532:7: style: Variable 'max' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/fsk_demod.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/fsk_demod.c:319:16: warning: If memory allocation fails, then there is a possible null pointer dereference: rawbuf [nullPointerOutOfMemory] codec2-1.2.0/src/fsk_demod.c:307:29: note: Assuming allocation function fails codec2-1.2.0/src/fsk_demod.c:307:12: note: Assignment 'rawbuf=(int16_t*)malloc(bytes_per_sample*(fsk->N+fsk->Ts*2)*complex_input)', assigned value is 0 codec2-1.2.0/src/fsk_demod.c:319:16: note: Null pointer dereference codec2-1.2.0/src/fsk_demod.c:327:9: warning: If memory allocation fails, then there is a possible null pointer dereference: modbuf [nullPointerOutOfMemory] codec2-1.2.0/src/fsk_demod.c:309:26: note: Assuming allocation function fails codec2-1.2.0/src/fsk_demod.c:309:12: note: Assignment 'modbuf=(struct COMP*)malloc(sizeof(struct COMP)*(fsk->N+fsk->Ts*2))', assigned value is 0 codec2-1.2.0/src/fsk_demod.c:327:9: note: Null pointer dereference codec2-1.2.0/src/fsk_demod.c:328:9: warning: If memory allocation fails, then there is a possible null pointer dereference: modbuf [nullPointerOutOfMemory] codec2-1.2.0/src/fsk_demod.c:309:26: note: Assuming allocation function fails codec2-1.2.0/src/fsk_demod.c:309:12: note: Assignment 'modbuf=(struct COMP*)malloc(sizeof(struct COMP)*(fsk->N+fsk->Ts*2))', assigned value is 0 codec2-1.2.0/src/fsk_demod.c:328:9: note: Null pointer dereference codec2-1.2.0/src/fsk_demod.c:52:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/fsk_demod.c:83:26: style: Variable 'long_opts' can be declared as const array [constVariable] codec2-1.2.0/src/fsk_demod.c:333:18: style: Variable 'rawbuf_u8' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/fsk_demod.c:408:16: style: Variable 'f_est' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/fsk_get_test_bits.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/fsk_get_test_bits.c:82:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bitbuf [nullPointerOutOfMemory] codec2-1.2.0/src/fsk_get_test_bits.c:77:29: note: Assuming allocation function fails codec2-1.2.0/src/fsk_get_test_bits.c:77:12: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*framesize)', assigned value is 0 codec2-1.2.0/src/fsk_get_test_bits.c:82:5: note: Null pointer dereference codec2-1.2.0/src/fsk_get_test_bits.c:88:12: warning: If memory allocation fails, then there is a possible null pointer dereference: bitbuf [nullPointerOutOfMemory] codec2-1.2.0/src/fsk_get_test_bits.c:77:29: note: Assuming allocation function fails codec2-1.2.0/src/fsk_get_test_bits.c:77:12: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*framesize)', assigned value is 0 codec2-1.2.0/src/fsk_get_test_bits.c:88:12: note: Null pointer dereference codec2-1.2.0/src/fsk_get_test_bits.c:39:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/fsk_mod.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable complex [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/fsk_mod.c:46:8: style: Variable 'usage' can be declared as const array [constVariable] codec2-1.2.0/src/fsk_mod.c:126:14: warning: Uninitialized variable: rawbuf [uninitvar] codec2-1.2.0/src/fsk_mod.c:125:21: note: Assuming condition is false codec2-1.2.0/src/fsk_mod.c:126:14: note: Uninitialized variable: rawbuf codec2-1.2.0/src/fsk_mod.c:136:14: warning: Uninitialized variable: rawbuf [uninitvar] codec2-1.2.0/src/fsk_mod.c:132:21: note: Assuming condition is false codec2-1.2.0/src/fsk_mod.c:136:14: note: Uninitialized variable: rawbuf codec2-1.2.0/src/fsk_put_test_bits.c:60:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/fsk_put_test_bits.c:118:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bitbuf_tx [nullPointerOutOfMemory] codec2-1.2.0/src/fsk_put_test_bits.c:112:32: note: Assuming allocation function fails codec2-1.2.0/src/fsk_put_test_bits.c:112:15: note: Assignment 'bitbuf_tx=(uint8_t*)malloc(sizeof(uint8_t)*framesize)', assigned value is 0 codec2-1.2.0/src/fsk_put_test_bits.c:118:5: note: Null pointer dereference codec2-1.2.0/src/fsk_put_test_bits.c:119:5: warning: If memory allocation fails, then there is a possible null pointer dereference: bitbuf_rx [nullPointerOutOfMemory] codec2-1.2.0/src/fsk_put_test_bits.c:113:32: note: Assuming allocation function fails codec2-1.2.0/src/fsk_put_test_bits.c:113:15: note: Assignment 'bitbuf_rx=(uint8_t*)malloc(sizeof(uint8_t)*framesize)', assigned value is 0 codec2-1.2.0/src/fsk_put_test_bits.c:119:5: note: Null pointer dereference codec2-1.2.0/src/fsk_put_test_bits.c:51:8: style: Variable 'usage' can be declared as const array [constVariable] codec2-1.2.0/src/fsk_put_test_bits.c:99:9: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/generate_codebook.c:104:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/generate_codebook.c:137:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/generate_codebook.c:77:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] codec2-1.2.0/src/generate_codebook.c:79:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] codec2-1.2.0/src/generate_codebook.c:120:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] codec2-1.2.0/src/generate_codebook.c:114:30: note: Assuming allocation function fails codec2-1.2.0/src/generate_codebook.c:114:30: note: Assignment 'b=malloc(sizeof(struct codebook))', assigned value is 0 codec2-1.2.0/src/generate_codebook.c:120:3: note: Null pointer dereference codec2-1.2.0/src/generate_codebook.c:121:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] codec2-1.2.0/src/generate_codebook.c:114:30: note: Assuming allocation function fails codec2-1.2.0/src/generate_codebook.c:114:30: note: Assignment 'b=malloc(sizeof(struct codebook))', assigned value is 0 codec2-1.2.0/src/generate_codebook.c:121:3: note: Null pointer dereference codec2-1.2.0/src/generate_codebook.c:122:10: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] codec2-1.2.0/src/generate_codebook.c:114:30: note: Assuming allocation function fails codec2-1.2.0/src/generate_codebook.c:114:30: note: Assignment 'b=malloc(sizeof(struct codebook))', assigned value is 0 codec2-1.2.0/src/generate_codebook.c:122:10: note: Null pointer dereference codec2-1.2.0/src/generate_codebook.c:122:17: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] codec2-1.2.0/src/generate_codebook.c:114:30: note: Assuming allocation function fails codec2-1.2.0/src/generate_codebook.c:114:30: note: Assignment 'b=malloc(sizeof(struct codebook))', assigned value is 0 codec2-1.2.0/src/generate_codebook.c:122:17: note: Null pointer dereference codec2-1.2.0/src/generate_codebook.c:124:3: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] codec2-1.2.0/src/generate_codebook.c:114:30: note: Assuming allocation function fails codec2-1.2.0/src/generate_codebook.c:114:30: note: Assignment 'b=malloc(sizeof(struct codebook))', assigned value is 0 codec2-1.2.0/src/generate_codebook.c:124:3: note: Null pointer dereference codec2-1.2.0/src/generate_codebook.c:127:5: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] codec2-1.2.0/src/generate_codebook.c:114:30: note: Assuming allocation function fails codec2-1.2.0/src/generate_codebook.c:114:30: note: Assignment 'b=malloc(sizeof(struct codebook))', assigned value is 0 codec2-1.2.0/src/generate_codebook.c:127:5: note: Null pointer dereference codec2-1.2.0/src/generate_codebook.c:87:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/gp_interleaver.c:69:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/gp_interleaver.c:92:59: style: Parameter 'frame' can be declared as const array [constParameter] codec2-1.2.0/src/gp_interleaver.c:102:49: style: Parameter 'interleaved_frame' can be declared as const array [constParameter] codec2-1.2.0/src/gp_interleaver.c:115:56: style: Parameter 'frame' can be declared as const array [constParameter] codec2-1.2.0/src/gp_interleaver.c:131:46: style: Parameter 'interleaved_frame' can be declared as const array [constParameter] codec2-1.2.0/src/interldpc.c:72:44: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/interldpc.c:136:49: style: Parameter 'codeword' can be declared as const array [constParameter] codec2-1.2.0/src/interldpc.c:221:65: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/interldpc.c:267:26: style: Parameter 'tx_bits' can be declared as const array [constParameter] codec2-1.2.0/src/interldpc.c:267:45: style: Parameter 'rx_bits' can be declared as const array [constParameter] codec2-1.2.0/src/interldpc.c:280:57: style: Parameter 'tx_bits' can be declared as const array [constParameter] codec2-1.2.0/src/interldpc.c:281:43: style: Parameter 'rx_bits' can be declared as const array [constParameter] codec2-1.2.0/src/interp.c:271:27: style:inconclusive: Function 'interp_energy' argument 1 names different: declaration 'prev' definition 'prev_e'. [funcArgNamesDifferent] codec2-1.2.0/src/interp.h:42:27: note: Function 'interp_energy' argument 1 names different: declaration 'prev' definition 'prev_e'. codec2-1.2.0/src/interp.c:271:27: note: Function 'interp_energy' argument 1 names different: declaration 'prev' definition 'prev_e'. codec2-1.2.0/src/interp.c:271:41: style:inconclusive: Function 'interp_energy' argument 2 names different: declaration 'next' definition 'next_e'. [funcArgNamesDifferent] codec2-1.2.0/src/interp.h:42:39: note: Function 'interp_energy' argument 2 names different: declaration 'next' definition 'next_e'. codec2-1.2.0/src/interp.c:271:41: note: Function 'interp_energy' argument 2 names different: declaration 'next' definition 'next_e'. codec2-1.2.0/src/interp.c:288:28: style:inconclusive: Function 'interp_energy2' argument 1 names different: declaration 'prev' definition 'prev_e'. [funcArgNamesDifferent] codec2-1.2.0/src/interp.h:43:28: note: Function 'interp_energy2' argument 1 names different: declaration 'prev' definition 'prev_e'. codec2-1.2.0/src/interp.c:288:28: note: Function 'interp_energy2' argument 1 names different: declaration 'prev' definition 'prev_e'. codec2-1.2.0/src/interp.c:288:42: style:inconclusive: Function 'interp_energy2' argument 2 names different: declaration 'next' definition 'next_e'. [funcArgNamesDifferent] codec2-1.2.0/src/interp.h:43:40: note: Function 'interp_energy2' argument 2 names different: declaration 'next' definition 'next_e'. codec2-1.2.0/src/interp.c:288:42: note: Function 'interp_energy2' argument 2 names different: declaration 'next' definition 'next_e'. codec2-1.2.0/src/interp.c:111:29: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/interp.c:238:24: style: Parameter 'prev' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/interp.c:239:24: style: Parameter 'next' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/interp.c:302:49: style: Parameter 'prev' can be declared as const array [constParameter] codec2-1.2.0/src/interp.c:302:63: style: Parameter 'next' can be declared as const array [constParameter] codec2-1.2.0/src/kiss_fft.c:223:7: warning: If memory allocation fails, then there is a possible null pointer dereference: scratch [nullPointerOutOfMemory] codec2-1.2.0/src/kiss_fft.c:218:23: note: Assuming allocation function fails codec2-1.2.0/src/kiss_fft.c:218:7: note: Assignment 'scratch=(struct kiss_fft_cpx*)malloc(sizeof(struct kiss_fft_cpx)*p)', assigned value is 0 codec2-1.2.0/src/kiss_fft.c:223:7: note: Null pointer dereference codec2-1.2.0/src/kiss_fft.c:231:17: warning: If memory allocation fails, then there is a possible null pointer dereference: scratch [nullPointerOutOfMemory] codec2-1.2.0/src/kiss_fft.c:218:23: note: Assuming allocation function fails codec2-1.2.0/src/kiss_fft.c:218:7: note: Assignment 'scratch=(struct kiss_fft_cpx*)malloc(sizeof(struct kiss_fft_cpx)*p)', assigned value is 0 codec2-1.2.0/src/kiss_fft.c:231:17: note: Null pointer dereference codec2-1.2.0/src/kiss_fft.c:400:18: warning: If memory allocation fails, then there is a possible null pointer dereference: tmpbuf [nullPointerOutOfMemory] codec2-1.2.0/src/kiss_fft.c:398:25: note: Assuming allocation function fails codec2-1.2.0/src/kiss_fft.c:398:9: note: Assignment 'tmpbuf=(struct kiss_fft_cpx*)malloc(sizeof(struct kiss_fft_cpx)*st->nfft)', assigned value is 0 codec2-1.2.0/src/kiss_fft.c:400:18: note: Null pointer dereference codec2-1.2.0/src/kiss_fft.c:392:35: style:inconclusive: Function 'kiss_fft_stride' argument 1 names different: declaration 'cfg' definition 'st'. [funcArgNamesDifferent] codec2-1.2.0/src/kiss_fft.h:99:35: note: Function 'kiss_fft_stride' argument 1 names different: declaration 'cfg' definition 'st'. codec2-1.2.0/src/kiss_fft.c:392:35: note: Function 'kiss_fft_stride' argument 1 names different: declaration 'cfg' definition 'st'. codec2-1.2.0/src/kiss_fft.c:393:46: style:inconclusive: Function 'kiss_fft_stride' argument 4 names different: declaration 'fin_stride' definition 'in_stride'. [funcArgNamesDifferent] codec2-1.2.0/src/kiss_fft.h:100:46: note: Function 'kiss_fft_stride' argument 4 names different: declaration 'fin_stride' definition 'in_stride'. codec2-1.2.0/src/kiss_fft.c:393:46: note: Function 'kiss_fft_stride' argument 4 names different: declaration 'fin_stride' definition 'in_stride'. codec2-1.2.0/src/kiss_fft.c:146:17: style: Variable 'twiddles' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/kiss_fftr.c:51:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/kiss_fftr.c:82:30: style:inconclusive: Function 'kiss_fftr' argument 1 names different: declaration 'cfg' definition 'st'. [funcArgNamesDifferent] codec2-1.2.0/src/kiss_fftr.h:28:30: note: Function 'kiss_fftr' argument 1 names different: declaration 'cfg' definition 'st'. codec2-1.2.0/src/kiss_fftr.c:82:30: note: Function 'kiss_fftr' argument 1 names different: declaration 'cfg' definition 'st'. codec2-1.2.0/src/kiss_fftr.c:135:31: style:inconclusive: Function 'kiss_fftri' argument 1 names different: declaration 'cfg' definition 'st'. [funcArgNamesDifferent] codec2-1.2.0/src/kiss_fftr.h:35:31: note: Function 'kiss_fftri' argument 1 names different: declaration 'cfg' definition 'st'. codec2-1.2.0/src/kiss_fftr.c:135:31: note: Function 'kiss_fftri' argument 1 names different: declaration 'cfg' definition 'st'. codec2-1.2.0/src/ldpc_codes.c:110:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ldpc_codes.c:121:26: style: Parameter 'name' can be declared as const array [constParameter] codec2-1.2.0/src/ldpc_dec.c:43:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ldpc_dec.c:165:16: warning: If memory allocation fails, then there is a possible null pointer dereference: input_float [nullPointerOutOfMemory] codec2-1.2.0/src/ldpc_dec.c:160:30: note: Assuming allocation function fails codec2-1.2.0/src/ldpc_dec.c:160:30: note: Assignment 'input_float=calloc(CodeLength,sizeof(float))', assigned value is 0 codec2-1.2.0/src/ldpc_dec.c:165:16: note: Null pointer dereference codec2-1.2.0/src/ldpc_dec.c:165:51: warning: Either the condition 'fin!=NULL' is redundant or there is possible null pointer dereference: fin. [nullPointerRedundantCheck] codec2-1.2.0/src/ldpc_dec.c:246:11: note: Assuming that condition 'fin!=NULL' is not redundant codec2-1.2.0/src/ldpc_dec.c:165:51: note: Null pointer dereference codec2-1.2.0/src/ldpc_dec.c:22:22: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/ldpc_dec.c:22:45: style: Parameter 'opt' can be declared as const array [constParameter] codec2-1.2.0/src/ldpc_dec_test.c:67:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ldpc_dec_test.c:262:9: warning: If memory allocation fails, then there is a possible null pointer dereference: input_double [nullPointerOutOfMemory] codec2-1.2.0/src/ldpc_dec_test.c:253:34: note: Assuming allocation function fails codec2-1.2.0/src/ldpc_dec_test.c:253:34: note: Assignment 'input_double=calloc(CodeLength,sizeof(double))', assigned value is 0 codec2-1.2.0/src/ldpc_dec_test.c:262:9: note: Null pointer dereference codec2-1.2.0/src/ldpc_dec_test.c:244:16: style: Local variable 'r' shadows outer variable [shadowVariable] codec2-1.2.0/src/ldpc_dec_test.c:56:10: note: Shadowed declaration codec2-1.2.0/src/ldpc_dec_test.c:244:16: note: Shadow variable codec2-1.2.0/src/ldpc_dec_test.c:44:22: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/ldpc_dec_test.c:44:45: style: Parameter 'opt' can be declared as const array [constParameter] codec2-1.2.0/src/ldpc_dec_test.c:60:9: style: Variable 'adetected_data' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ldpc_enc.c:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ldpc_enc.c:20:22: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/ldpc_enc.c:20:45: style: Parameter 'opt' can be declared as const array [constParameter] codec2-1.2.0/src/ldpc_enc_test.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ldpc_enc_test.c:26:22: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/ldpc_enc_test.c:26:45: style: Parameter 'opt' can be declared as const array [constParameter] codec2-1.2.0/src/ldpc_noise.c:22:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ldpc_noise.c:17:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/linreg.c:45:37: style: Parameter 'x' can be declared as const array [constParameter] codec2-1.2.0/src/lpc.c:74:19: style:inconclusive: Function 'de_emp' argument 1 names different: declaration 'Sn_se' definition 'Sn_de'. [funcArgNamesDifferent] codec2-1.2.0/src/lpc.h:34:19: note: Function 'de_emp' argument 1 names different: declaration 'Sn_se' definition 'Sn_de'. codec2-1.2.0/src/lpc.c:74:19: note: Function 'de_emp' argument 1 names different: declaration 'Sn_se' definition 'Sn_de'. codec2-1.2.0/src/lpc.c:54:20: style: Parameter 'Sn' can be declared as const array [constParameter] codec2-1.2.0/src/lpc.c:75:19: style: Parameter 'Sn' can be declared as const array [constParameter] codec2-1.2.0/src/lpc.c:95:27: style: Parameter 'Sn' can be declared as const array [constParameter] codec2-1.2.0/src/lpc.c:114:26: style: Parameter 'Sn' can be declared as const array [constParameter] codec2-1.2.0/src/lpc.c:142:28: style: Parameter 'R' can be declared as const array [constParameter] codec2-1.2.0/src/lpc.c:181:27: style: Parameter 'Sn' can be declared as const array [constParameter] codec2-1.2.0/src/lpc.c:182:27: style: Parameter 'a' can be declared as const array [constParameter] codec2-1.2.0/src/lpc.c:215:11: style: Parameter 'res' can be declared as const array [constParameter] codec2-1.2.0/src/lpc.c:216:11: style: Parameter 'a' can be declared as const array [constParameter] codec2-1.2.0/src/lpc.c:269:19: style: Parameter 'ak' can be declared as const array [constParameter] codec2-1.2.0/src/lpcnet_freq.c:54:74: style:inconclusive: Function 'lpcnet_compute_band_energy' argument 3 names different: declaration 'Sw' definition 'X'. [funcArgNamesDifferent] codec2-1.2.0/src/lpcnet_freq.h:41:74: note: Function 'lpcnet_compute_band_energy' argument 3 names different: declaration 'Sw' definition 'X'. codec2-1.2.0/src/lpcnet_freq.c:54:74: note: Function 'lpcnet_compute_band_energy' argument 3 names different: declaration 'Sw' definition 'X'. codec2-1.2.0/src/lsp.c:304:25: error: Pointer addition with NULL pointer. [nullPointerArithmetic] codec2-1.2.0/src/lsp.c:264:35: note: Assignment 'n4=0', assigned value is 0 codec2-1.2.0/src/lsp.c:304:25: note: Null pointer addition codec2-1.2.0/src/lsp.c:305:25: error: Pointer addition with NULL pointer. [nullPointerArithmetic] codec2-1.2.0/src/lsp.c:264:35: note: Assignment 'n4=0', assigned value is 0 codec2-1.2.0/src/lsp.c:305:25: note: Null pointer addition codec2-1.2.0/src/lsp.c:307:10: error: Pointer addition with NULL pointer. [nullPointerArithmetic] codec2-1.2.0/src/lsp.c:264:35: note: Assignment 'n4=0', assigned value is 0 codec2-1.2.0/src/lsp.c:307:10: note: Null pointer addition codec2-1.2.0/src/lsp.c:308:10: error: Pointer addition with NULL pointer. [nullPointerArithmetic] codec2-1.2.0/src/lsp.c:264:35: note: Assignment 'n4=0', assigned value is 0 codec2-1.2.0/src/lsp.c:308:10: note: Null pointer addition codec2-1.2.0/src/lsp.c:131:30: style:inconclusive: Function 'lpc_to_lsp' argument 2 names different: declaration 'lpcrdr' definition 'order'. [funcArgNamesDifferent] codec2-1.2.0/src/lsp.h:34:30: note: Function 'lpc_to_lsp' argument 2 names different: declaration 'lpcrdr' definition 'order'. codec2-1.2.0/src/lsp.c:131:30: note: Function 'lpc_to_lsp' argument 2 names different: declaration 'lpcrdr' definition 'order'. codec2-1.2.0/src/lsp.c:256:24: style:inconclusive: Function 'lsp_to_lpc' argument 1 names different: declaration 'freq' definition 'lsp'. [funcArgNamesDifferent] codec2-1.2.0/src/lsp.h:35:24: note: Function 'lsp_to_lpc' argument 1 names different: declaration 'freq' definition 'lsp'. codec2-1.2.0/src/lsp.c:256:24: note: Function 'lsp_to_lpc' argument 1 names different: declaration 'freq' definition 'lsp'. codec2-1.2.0/src/lsp.c:256:44: style:inconclusive: Function 'lsp_to_lpc' argument 3 names different: declaration 'lpcrdr' definition 'order'. [funcArgNamesDifferent] codec2-1.2.0/src/lsp.h:35:45: note: Function 'lsp_to_lpc' argument 3 names different: declaration 'lpcrdr' definition 'order'. codec2-1.2.0/src/lsp.c:256:44: note: Function 'lsp_to_lpc' argument 3 names different: declaration 'lpcrdr' definition 'order'. codec2-1.2.0/src/lsp.c:89:35: style: Parameter 'coef' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/lsp.c:131:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/lsp.c:256:24: style: Parameter 'lsp' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/lsp.c:151:8: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/lsp.c:212:15: style: Variable 'psumm' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/lsp.c:220:19: style: Variable 'psumr' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/mbest.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/mbest.c:67:48: style: Parameter 'w' can be declared as const array [constParameter] codec2-1.2.0/src/mbest.c:83:44: style: Parameter 'index' can be declared as const array [constParameter] codec2-1.2.0/src/mbest.c:99:23: style: Parameter 'title' can be declared as const array [constParameter] codec2-1.2.0/src/mbest.c:99:46: style: Parameter 'mbest' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/mbest.c:120:25: style: Parameter 'vec' can be declared as const array [constParameter] codec2-1.2.0/src/mbest.c:171:45: style: Parameter 'vec' can be declared as const array [constParameter] codec2-1.2.0/src/mbest.c:171:58: style: Parameter 'w' can be declared as const array [constParameter] codec2-1.2.0/src/modem_probe.c:66:10: warning: If memory allocation fails, then there is a possible null pointer dereference: run [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:65:15: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:65:15: note: Assignment 'run=malloc((strlen(runname)+1)*sizeof(char))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:66:10: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:67:10: warning: If memory allocation fails, then there is a possible null pointer dereference: mod [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:64:15: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:64:15: note: Assignment 'mod=malloc((strlen(modname)+1)*sizeof(char))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:67:10: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:154:3: warning: If memory allocation fails, then there is a possible null pointer dereference: npti [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:153:36: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:153:10: note: Assignment 'npti=(struct probe_trace_info*)malloc(sizeof(struct probe_trace_info))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:154:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:155:3: warning: If memory allocation fails, then there is a possible null pointer dereference: npti [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:153:36: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:153:10: note: Assignment 'npti=(struct probe_trace_info*)malloc(sizeof(struct probe_trace_info))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:155:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:156:3: warning: If memory allocation fails, then there is a possible null pointer dereference: npti [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:153:36: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:153:10: note: Assignment 'npti=(struct probe_trace_info*)malloc(sizeof(struct probe_trace_info))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:156:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:157:10: warning: If memory allocation fails, then there is a possible null pointer dereference: npti [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:153:36: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:153:10: note: Assignment 'npti=(struct probe_trace_info*)malloc(sizeof(struct probe_trace_info))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:157:10: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:173:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:172:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:172:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:173:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:175:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:172:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:172:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:175:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:176:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:172:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:172:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:176:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:177:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:172:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:172:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:177:10: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:198:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:197:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:197:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:198:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:200:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:197:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:197:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:200:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:201:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:197:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:197:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:201:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:202:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:197:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:197:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:202:10: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:223:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:222:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:222:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:223:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:225:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:222:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:222:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:225:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:226:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:222:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:222:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:226:3: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:227:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ndat [nullPointerOutOfMemory] codec2-1.2.0/src/modem_probe.c:222:27: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:222:10: note: Assignment 'ndat=(struct datlink*)malloc(sizeof(struct datlink))', assigned value is 0 codec2-1.2.0/src/modem_probe.c:227:10: note: Null pointer dereference codec2-1.2.0/src/modem_probe.c:87:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/src/modem_probe.c:84:24: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:84:24: note: Assignment 'newbuf=malloc(size)', assigned value is 0 codec2-1.2.0/src/modem_probe.c:87:19: note: Null pointer addition codec2-1.2.0/src/modem_probe.c:63:33: style: Parameter 'modname' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/modem_probe.c:63:48: style: Parameter 'runname' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/modem_probe.c:136:47: style: Parameter 'tracename' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/modem_probe.c:163:54: style: Parameter 'samp' can be declared as const array [constParameter] codec2-1.2.0/src/modem_probe.c:188:52: style: Parameter 'samp' can be declared as const array [constParameter] codec2-1.2.0/src/modem_probe.c:87:19: portability: 'newbuf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] codec2-1.2.0/src/mpdecode_core.c:738:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/mpdecode_core.c:180:31: style: Variable 'c_nodes[cnt].degree' is reassigned a value before the old one has been used. [redundantAssignment] codec2-1.2.0/src/mpdecode_core.c:178:29: note: c_nodes[cnt].degree is assigned codec2-1.2.0/src/mpdecode_core.c:180:31: note: c_nodes[cnt].degree is overwritten codec2-1.2.0/src/mpdecode_core.c:68:46: style: Parameter 'ibits' can be declared as const array [constParameter] codec2-1.2.0/src/mpdecode_core.c:71:13: style: Variable 'H_rows' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/mpdecode_core.c:143:51: style: Parameter 'H_rows' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/mpdecode_core.c:145:31: style: Parameter 'H_cols' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/mpdecode_core.c:146:28: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/mpdecode_core.c:358:42: style: Parameter 'data' can be declared as const array [constParameter] codec2-1.2.0/src/mpdecode_core.c:386:28: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/mpdecode_core.c:387:28: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/mpdecode_core.c:396:28: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/mpdecode_core.c:409:28: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/mpdecode_core.c:530:35: style: Parameter 'sd' can be declared as const array [constParameter] codec2-1.2.0/src/mpdecode_core.c:571:20: style: Parameter 'fading' can be declared as const array [constParameter] codec2-1.2.0/src/mpdecode_core.c:594:18: style: Parameter 'symbol_likelihood' can be declared as const array [constParameter] codec2-1.2.0/src/mpdecode_core.c:708:41: style: Parameter 'yr' can be declared as const array [constParameter] codec2-1.2.0/src/mpdecode_core.c:737:35: style: Parameter 'ldpc' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/newamp1.c:56:35: style: Parameter 'xp' can be declared as const array [constParameter] codec2-1.2.0/src/newamp1.c:56:47: style: Parameter 'yp' can be declared as const array [constParameter] codec2-1.2.0/src/newamp1.c:56:67: style: Parameter 'x' can be declared as const array [constParameter] codec2-1.2.0/src/newamp1.c:128:37: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/newamp1.c:128:53: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/newamp1.c:232:45: style: Parameter 'sample_freq_kHz' can be declared as const array [constParameter] codec2-1.2.0/src/newamp1.c:320:31: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/newamp1.c:320:60: style: Parameter 'rate_K_vec' can be declared as const array [constParameter] codec2-1.2.0/src/newamp1.c:321:28: style: Parameter 'rate_K_sample_freqs_kHz' can be declared as const array [constParameter] codec2-1.2.0/src/newamp1.c:363:31: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/newamp1.c:403:31: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/newamp1.c:443:16: style: Variable 'ideal' can be declared as const array [constVariable] codec2-1.2.0/src/newamp1.c:523:63: style: Parameter 'left_vec' can be declared as const array [constParameter] codec2-1.2.0/src/newamp1.c:524:32: style: Parameter 'right_vec' can be declared as const array [constParameter] codec2-1.2.0/src/newamp1.c:553:54: style: Parameter 'indexes' can be declared as const array [constParameter] codec2-1.2.0/src/newamp1.c:554:42: style: Parameter 'user_rate_K_vec_no_mean_' can be declared as const array [constParameter] codec2-1.2.0/src/nlp.c:469:49: error: Array 'in16k[0]' accessed at index -48, which is out of bounds. [negativeIndex] codec2-1.2.0/src/nlp.c:469:13: note: Assignment 'i=-48', assigned value is -48 codec2-1.2.0/src/nlp.c:469:49: note: Negative array index codec2-1.2.0/src/nlp.c:213:12: style:inconclusive: Function 'nlp' argument 4 names different: declaration 'pitch_samples' definition 'pitch'. [funcArgNamesDifferent] codec2-1.2.0/src/nlp.h:36:54: note: Function 'nlp' argument 4 names different: declaration 'pitch_samples' definition 'pitch'. codec2-1.2.0/src/nlp.c:213:12: note: Function 'nlp' argument 4 names different: declaration 'pitch_samples' definition 'pitch'. codec2-1.2.0/src/nlp.c:112:8: style: Local variable 'nlp' shadows outer function [shadowFunction] codec2-1.2.0/src/nlp.h:36:7: note: Shadowed declaration codec2-1.2.0/src/nlp.c:112:8: note: Shadow variable codec2-1.2.0/src/nlp.c:169:8: style: Local variable 'nlp' shadows outer function [shadowFunction] codec2-1.2.0/src/nlp.h:36:7: note: Shadowed declaration codec2-1.2.0/src/nlp.c:169:8: note: Shadow variable codec2-1.2.0/src/nlp.c:111:27: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/nlp.c:211:28: style: Parameter 'Sn' can be declared as const array [constParameter] codec2-1.2.0/src/nlp.c:386:55: style: Parameter 'prev_f0' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/octave.c:40:34: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/octave.c:84:36: style: Parameter 'name' can be declared as const array [constParameter] codec2-1.2.0/src/octave.c:103:38: style: Parameter 'name' can be declared as const array [constParameter] codec2-1.2.0/src/octave.c:123:40: style: Parameter 'name' can be declared as const array [constParameter] codec2-1.2.0/src/ofdm.c:116:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:361:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:662:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:691:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:925:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:973:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:1273:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:1387:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:1445:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:1570:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:2379:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:2622:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm.c:1468:19: style: Variable 'ofdm->timing_mx' is reassigned a value before the old one has been used. [redundantAssignment] codec2-1.2.0/src/ofdm.c:1463:21: note: ofdm->timing_mx is assigned codec2-1.2.0/src/ofdm.c:1468:19: note: ofdm->timing_mx is overwritten codec2-1.2.0/src/ofdm.c:2588:46: style:inconclusive: Function 'ofdm_generate_payload_data_bits' argument 1 names different: declaration 'data_bits' definition 'payload_data_bits'. [funcArgNamesDifferent] codec2-1.2.0/src/ofdm_internal.h:276:46: note: Function 'ofdm_generate_payload_data_bits' argument 1 names different: declaration 'data_bits' definition 'payload_data_bits'. codec2-1.2.0/src/ofdm.c:2588:46: note: Function 'ofdm_generate_payload_data_bits' argument 1 names different: declaration 'data_bits' definition 'payload_data_bits'. codec2-1.2.0/src/ofdm.c:320:12: style: Local variable 'i' shadows outer variable [shadowVariable] codec2-1.2.0/src/ofdm.c:165:7: note: Shadowed declaration codec2-1.2.0/src/ofdm.c:320:12: note: Shadow variable codec2-1.2.0/src/ofdm.c:2197:18: style: Local variable 'i' shadows outer variable [shadowVariable] codec2-1.2.0/src/ofdm.c:2165:7: note: Shadowed declaration codec2-1.2.0/src/ofdm.c:2197:18: note: Shadow variable codec2-1.2.0/src/ofdm.c:2214:20: style: Local variable 'i' shadows outer variable [shadowVariable] codec2-1.2.0/src/ofdm.c:2165:7: note: Shadowed declaration codec2-1.2.0/src/ofdm.c:2214:20: note: Shadow variable codec2-1.2.0/src/ofdm.c:106:29: style: Parameter 'bits' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:122:30: style: Parameter 'bits' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:580:47: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:649:31: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:650:33: style: Parameter 'vector' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:681:30: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:682:32: style: Parameter 'vector' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:701:48: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:733:62: style: Parameter 'left' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:734:62: style: Parameter 'right' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:937:75: style: Parameter 'rx' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1012:34: style: Parameter 'tx_sym_lin' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1112:31: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1113:45: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1116:46: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1119:49: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1122:42: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1123:43: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1136:52: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1241:55: style: Parameter 'rxbuf_in' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1260:47: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1262:49: style: Parameter 'known_samples' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1334:9: style: Variable 'pre_post' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm.c:1495:18: style: Variable 'rx' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm.c:1516:64: style: Parameter 'rxbuf_in' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:1974:41: style: Parameter 'rx_sym' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:2010:39: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:2019:65: style: Parameter 'rx_uw' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:2108:73: style: Parameter 'rx_uw' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:2163:69: style: Parameter 'rx_uw' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:2224:65: style: Parameter 'rx_uw' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:2391:46: style: Parameter 'payload_bits' can be declared as const array [constParameter] codec2-1.2.0/src/ofdm.c:2392:46: style: Parameter 'txt_bits' can be declared as const array [constParameter] codec2-1.2.0/src/ofdm.c:2422:54: style: Parameter 'txt_bits' can be declared as const array [constParameter] codec2-1.2.0/src/ofdm.c:2423:18: style: Variable 'payload' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm.c:2462:54: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:2463:55: style: Parameter 'rx_syms' can be declared as const array [constParameter] codec2-1.2.0/src/ofdm.c:2464:47: style: Parameter 'rx_amps' can be declared as const array [constParameter] codec2-1.2.0/src/ofdm.c:2508:18: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:2508:38: style: Parameter 'rx_syms' can be declared as const array [constParameter] codec2-1.2.0/src/ofdm.c:2508:55: style: Parameter 'rx_amps' can be declared as const array [constParameter] codec2-1.2.0/src/ofdm.c:2552:35: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:2552:55: style: Parameter 'rx_syms' can be declared as const array [constParameter] codec2-1.2.0/src/ofdm.c:2599:42: style: Parameter 'ofdm' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/ofdm.c:2619:9: style: Variable 'syncmode' can be declared as const array [constVariable] codec2-1.2.0/src/ofdm.c:2620:9: style: Variable 'phase_est_bandwidth_mode' can be declared as const array [constVariable] codec2-1.2.0/src/ofdm.c:2615:41: warning: Uninitialized variable: preamble_bits [uninitvar] codec2-1.2.0/src/ofdm.c:2609:21: note: Assuming condition is false codec2-1.2.0/src/ofdm.c:2615:41: note: Uninitialized variable: preamble_bits codec2-1.2.0/src/ofdm_demod.c:60:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm_demod.c:126:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm_demod.c:668:16: warning: Assert statement calls a function which may have desired side effects: 'fread'. [assertWithSideEffect] codec2-1.2.0/src/ofdm_demod.c:381:12: style: Local variable 'i' shadows outer variable [shadowVariable] codec2-1.2.0/src/ofdm_demod.c:116:7: note: Shadowed declaration codec2-1.2.0/src/ofdm_demod.c:381:12: note: Shadow variable codec2-1.2.0/src/ofdm_demod.c:546:19: style: Local variable 'txt_bits' shadows outer variable [shadowVariable] codec2-1.2.0/src/ofdm_demod.c:390:9: note: Shadowed declaration codec2-1.2.0/src/ofdm_demod.c:546:19: note: Shadow variable codec2-1.2.0/src/ofdm_demod.c:554:15: style: Local variable 'rx_bits' shadows outer variable [shadowVariable] codec2-1.2.0/src/ofdm_demod.c:387:7: note: Shadowed declaration codec2-1.2.0/src/ofdm_demod.c:554:15: note: Shadow variable codec2-1.2.0/src/ofdm_demod.c:133:9: style: Variable 'fin_name' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm_demod.c:134:9: style: Variable 'fout_name' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm_demod.c:135:9: style: Variable 'log_name' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm_demod.c:163:24: style: Variable 'longopts' can be declared as const array [constVariable] codec2-1.2.0/src/ofdm_demod.c:266:9: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm_demod.c:397:17: style: Variable 'Nerrs_raw' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/ofdm_demod.c:398:19: style: Variable 'Nerrs_coded' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/ofdm_demod.c:710:21: style: Variable 'coded_ber' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/ofdm_get_test_bits.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm_get_test_bits.c:80:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm_get_test_bits.c:66:9: style: Variable 'fout_name' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm_get_test_bits.c:91:24: style: Variable 'longopts' can be declared as const array [constVariable] codec2-1.2.0/src/ofdm_get_test_bits.c:122:9: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm_mod.c:51:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm_mod.c:107:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm_mod.c:405:14: style: Local variable 'tx_sams' shadows outer variable [shadowVariable] codec2-1.2.0/src/ofdm_mod.c:323:17: note: Shadowed declaration codec2-1.2.0/src/ofdm_mod.c:405:14: note: Shadow variable codec2-1.2.0/src/ofdm_mod.c:429:16: style: Local variable 'i' shadows outer variable [shadowVariable] codec2-1.2.0/src/ofdm_mod.c:97:7: note: Shadowed declaration codec2-1.2.0/src/ofdm_mod.c:429:16: note: Shadow variable codec2-1.2.0/src/ofdm_mod.c:96:9: style: Variable 'fin_name' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm_mod.c:96:20: style: Variable 'fout_name' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm_mod.c:140:24: style: Variable 'longopts' can be declared as const array [constVariable] codec2-1.2.0/src/ofdm_mod.c:232:9: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm_mod.c:317:9: style: Variable 'ptr_text' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/ofdm_mod.c:406:33: warning: Uninitialized variable: tx_bits [uninitvar] codec2-1.2.0/src/ofdm_mod.c:404:23: note: Assuming condition is false codec2-1.2.0/src/ofdm_mod.c:406:33: note: Uninitialized variable: tx_bits codec2-1.2.0/src/ofdm_mod.c:430:14: warning: Uninitialized variable: sil_short [uninitvar] codec2-1.2.0/src/ofdm_mod.c:429:25: note: Assuming condition is false codec2-1.2.0/src/ofdm_mod.c:430:14: note: Uninitialized variable: sil_short codec2-1.2.0/src/ofdm_mode.c:17:26: style: Parameter 'mode' can be declared as const array [constParameter] codec2-1.2.0/src/ofdm_put_test_bits.c:61:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/ofdm_put_test_bits.c:45:22: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/ofdm_put_test_bits.c:45:45: style: Parameter 'opt' can be declared as const array [constParameter] codec2-1.2.0/src/pack.c:48:26: style:inconclusive: Function 'pack' argument 1 names different: declaration 'bits' definition 'bitArray'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:79:26: note: Function 'pack' argument 1 names different: declaration 'bits' definition 'bitArray'. codec2-1.2.0/src/pack.c:48:26: note: Function 'pack' argument 1 names different: declaration 'bits' definition 'bitArray'. codec2-1.2.0/src/pack.c:49:25: style:inconclusive: Function 'pack' argument 2 names different: declaration 'nbit' definition 'bitIndex'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:79:46: note: Function 'pack' argument 2 names different: declaration 'nbit' definition 'bitIndex'. codec2-1.2.0/src/pack.c:49:25: note: Function 'pack' argument 2 names different: declaration 'nbit' definition 'bitIndex'. codec2-1.2.0/src/pack.c:50:15: style:inconclusive: Function 'pack' argument 3 names different: declaration 'index' definition 'field'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:79:56: note: Function 'pack' argument 3 names different: declaration 'index' definition 'field'. codec2-1.2.0/src/pack.c:50:15: note: Function 'pack' argument 3 names different: declaration 'index' definition 'field'. codec2-1.2.0/src/pack.c:51:24: style:inconclusive: Function 'pack' argument 4 names different: declaration 'index_bits' definition 'fieldWidth'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:80:24: note: Function 'pack' argument 4 names different: declaration 'index_bits' definition 'fieldWidth'. codec2-1.2.0/src/pack.c:51:24: note: Function 'pack' argument 4 names different: declaration 'index_bits' definition 'fieldWidth'. codec2-1.2.0/src/pack.c:57:20: style:inconclusive: Function 'pack_natural_or_gray' argument 1 names different: declaration 'bits' definition 'bitArray'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:81:42: note: Function 'pack_natural_or_gray' argument 1 names different: declaration 'bits' definition 'bitArray'. codec2-1.2.0/src/pack.c:57:20: note: Function 'pack_natural_or_gray' argument 1 names different: declaration 'bits' definition 'bitArray'. codec2-1.2.0/src/pack.c:58:19: style:inconclusive: Function 'pack_natural_or_gray' argument 2 names different: declaration 'nbit' definition 'bitIndex'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:81:62: note: Function 'pack_natural_or_gray' argument 2 names different: declaration 'nbit' definition 'bitIndex'. codec2-1.2.0/src/pack.c:58:19: note: Function 'pack_natural_or_gray' argument 2 names different: declaration 'nbit' definition 'bitIndex'. codec2-1.2.0/src/pack.c:59:9: style:inconclusive: Function 'pack_natural_or_gray' argument 3 names different: declaration 'index' definition 'field'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:81:72: note: Function 'pack_natural_or_gray' argument 3 names different: declaration 'index' definition 'field'. codec2-1.2.0/src/pack.c:59:9: note: Function 'pack_natural_or_gray' argument 3 names different: declaration 'index' definition 'field'. codec2-1.2.0/src/pack.c:60:18: style:inconclusive: Function 'pack_natural_or_gray' argument 4 names different: declaration 'index_bits' definition 'fieldWidth'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:82:40: note: Function 'pack_natural_or_gray' argument 4 names different: declaration 'index_bits' definition 'fieldWidth'. codec2-1.2.0/src/pack.c:60:18: note: Function 'pack_natural_or_gray' argument 4 names different: declaration 'index_bits' definition 'fieldWidth'. codec2-1.2.0/src/pack.c:86:26: style:inconclusive: Function 'unpack' argument 1 names different: declaration 'bits' definition 'bitArray'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:83:33: note: Function 'unpack' argument 1 names different: declaration 'bits' definition 'bitArray'. codec2-1.2.0/src/pack.c:86:26: note: Function 'unpack' argument 1 names different: declaration 'bits' definition 'bitArray'. codec2-1.2.0/src/pack.c:87:19: style:inconclusive: Function 'unpack' argument 2 names different: declaration 'nbit' definition 'bitIndex'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:83:53: note: Function 'unpack' argument 2 names different: declaration 'nbit' definition 'bitIndex'. codec2-1.2.0/src/pack.c:87:19: note: Function 'unpack' argument 2 names different: declaration 'nbit' definition 'bitIndex'. codec2-1.2.0/src/pack.c:88:18: style:inconclusive: Function 'unpack' argument 3 names different: declaration 'index_bits' definition 'fieldWidth'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:84:25: note: Function 'unpack' argument 3 names different: declaration 'index_bits' definition 'fieldWidth'. codec2-1.2.0/src/pack.c:88:18: note: Function 'unpack' argument 3 names different: declaration 'index_bits' definition 'fieldWidth'. codec2-1.2.0/src/pack.c:98:26: style:inconclusive: Function 'unpack_natural_or_gray' argument 1 names different: declaration 'bits' definition 'bitArray'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:85:49: note: Function 'unpack_natural_or_gray' argument 1 names different: declaration 'bits' definition 'bitArray'. codec2-1.2.0/src/pack.c:98:26: note: Function 'unpack_natural_or_gray' argument 1 names different: declaration 'bits' definition 'bitArray'. codec2-1.2.0/src/pack.c:99:19: style:inconclusive: Function 'unpack_natural_or_gray' argument 2 names different: declaration 'nbit' definition 'bitIndex'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:85:69: note: Function 'unpack_natural_or_gray' argument 2 names different: declaration 'nbit' definition 'bitIndex'. codec2-1.2.0/src/pack.c:99:19: note: Function 'unpack_natural_or_gray' argument 2 names different: declaration 'nbit' definition 'bitIndex'. codec2-1.2.0/src/pack.c:100:18: style:inconclusive: Function 'unpack_natural_or_gray' argument 3 names different: declaration 'index_bits' definition 'fieldWidth'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:86:41: note: Function 'unpack_natural_or_gray' argument 3 names different: declaration 'index_bits' definition 'fieldWidth'. codec2-1.2.0/src/pack.c:100:18: note: Function 'unpack_natural_or_gray' argument 3 names different: declaration 'index_bits' definition 'fieldWidth'. codec2-1.2.0/src/phase.c:51:38: style:inconclusive: Function 'sample_phase' argument 2 names different: declaration 'filter_phase' definition 'H'. [funcArgNamesDifferent] codec2-1.2.0/src/phase.h:34:38: note: Function 'sample_phase' argument 2 names different: declaration 'filter_phase' definition 'H'. codec2-1.2.0/src/phase.c:51:38: note: Function 'sample_phase' argument 2 names different: declaration 'filter_phase' definition 'H'. codec2-1.2.0/src/phase.c:162:10: style:inconclusive: Function 'phase_synth_zero_order' argument 4 names different: declaration 'filter_phase' definition 'H'. [funcArgNamesDifferent] codec2-1.2.0/src/phase.h:36:34: note: Function 'phase_synth_zero_order' argument 4 names different: declaration 'filter_phase' definition 'H'. codec2-1.2.0/src/phase.c:162:10: note: Function 'phase_synth_zero_order' argument 4 names different: declaration 'filter_phase' definition 'H'. codec2-1.2.0/src/phase.c:227:30: style:inconclusive: Function 'mag_to_phase' argument 4 names different: declaration 'fwd_cfg' definition 'fft_fwd_cfg'. [funcArgNamesDifferent] codec2-1.2.0/src/phase.h:39:34: note: Function 'mag_to_phase' argument 4 names different: declaration 'fwd_cfg' definition 'fft_fwd_cfg'. codec2-1.2.0/src/phase.c:227:30: note: Function 'mag_to_phase' argument 4 names different: declaration 'fwd_cfg' definition 'fft_fwd_cfg'. codec2-1.2.0/src/phase.c:227:58: style:inconclusive: Function 'mag_to_phase' argument 5 names different: declaration 'inv_cfg' definition 'fft_inv_cfg'. [funcArgNamesDifferent] codec2-1.2.0/src/phase.h:39:58: note: Function 'mag_to_phase' argument 5 names different: declaration 'inv_cfg' definition 'fft_inv_cfg'. codec2-1.2.0/src/phase.c:227:58: note: Function 'mag_to_phase' argument 5 names different: declaration 'inv_cfg' definition 'fft_inv_cfg'. codec2-1.2.0/src/phase.c:51:26: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/phase.c:226:11: style: Parameter 'Gdbfk' can be declared as const array [constParameter] codec2-1.2.0/src/quantise.c:163:32: style:inconclusive: Function 'decode_lspds_scalar' argument 1 names different: declaration 'lsp' definition 'lsp_'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:63:32: note: Function 'decode_lspds_scalar' argument 1 names different: declaration 'lsp' definition 'lsp_'. codec2-1.2.0/src/quantise.c:163:32: note: Function 'decode_lspds_scalar' argument 1 names different: declaration 'lsp' definition 'lsp_'. codec2-1.2.0/src/quantise.c:231:29: style:inconclusive: Function 'lspjmv_quantise' argument 1 names different: declaration 'lsps' definition 'x'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:70:28: note: Function 'lspjmv_quantise' argument 1 names different: declaration 'lsps' definition 'x'. codec2-1.2.0/src/quantise.c:231:29: note: Function 'lspjmv_quantise' argument 1 names different: declaration 'lsps' definition 'x'. codec2-1.2.0/src/quantise.c:231:39: style:inconclusive: Function 'lspjmv_quantise' argument 2 names different: declaration 'lsps_' definition 'xq'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:70:42: note: Function 'lspjmv_quantise' argument 2 names different: declaration 'lsps_' definition 'xq'. codec2-1.2.0/src/quantise.c:231:39: note: Function 'lspjmv_quantise' argument 2 names different: declaration 'lsps_' definition 'xq'. codec2-1.2.0/src/quantise.c:266:38: style:inconclusive: Function 'check_lsp_order' argument 2 names different: declaration 'lpc_order' definition 'order'. [funcArgNamesDifferent] codec2-1.2.0/src/quantise.h:95:38: note: Function 'check_lsp_order' argument 2 names different: declaration 'lpc_order' definition 'order'. codec2-1.2.0/src/quantise.c:266:38: note: Function 'check_lsp_order' argument 2 names different: declaration 'lpc_order' definition 'order'. codec2-1.2.0/src/quantise.c:80:38: style: Parameter 'vec' can be declared as const array [constParameter] codec2-1.2.0/src/quantise.c:80:51: style: Parameter 'w' can be declared as const array [constParameter] codec2-1.2.0/src/quantise.c:122:47: style: Parameter 'lsp' can be declared as const array [constParameter] codec2-1.2.0/src/quantise.c:163:44: style: Parameter 'indexes' can be declared as const array [constParameter] codec2-1.2.0/src/quantise.c:195:64: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/quantise.c:212:73: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/quantise.c:322:70: style: Parameter 'ak' can be declared as const array [constParameter] codec2-1.2.0/src/quantise.c:557:24: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/quantise.c:581:26: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/quantise.c:604:28: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/quantise.c:628:30: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/quantise.c:653:56: style: Parameter 'Sn' can be declared as const array [constParameter] codec2-1.2.0/src/quantise.c:653:68: style: Parameter 'w' can be declared as const array [constParameter] codec2-1.2.0/src/quantise.c:706:46: style: Parameter 'lsp' can be declared as const array [constParameter] codec2-1.2.0/src/quantise.c:740:42: style: Parameter 'indexes' can be declared as const array [constParameter] codec2-1.2.0/src/quantise.c:808:26: style: Parameter 'indexes' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/quantise.c:1008:28: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/quantise.c:1066:23: style: Parameter 'model' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/quantise.c:1108:26: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/quantise.c:257:63: warning: Uninitialized variable: w2 [uninitvar] codec2-1.2.0/src/quantise.c:251:17: note: Assuming condition is false codec2-1.2.0/src/quantise.c:257:63: note: Uninitialized variable: w2 codec2-1.2.0/src/quantise.c:258:63: warning: Uninitialized variable: w3 [uninitvar] codec2-1.2.0/src/quantise.c:251:17: note: Assuming condition is false codec2-1.2.0/src/quantise.c:258:63: note: Uninitialized variable: w3 codec2-1.2.0/src/quantise.c:792:63: warning: Uninitialized variable: w2 [uninitvar] codec2-1.2.0/src/quantise.c:786:17: note: Assuming condition is false codec2-1.2.0/src/quantise.c:792:63: note: Uninitialized variable: w2 codec2-1.2.0/src/quantise.c:793:63: warning: Uninitialized variable: w3 [uninitvar] codec2-1.2.0/src/quantise.c:786:17: note: Assuming condition is false codec2-1.2.0/src/quantise.c:793:63: note: Uninitialized variable: w3 codec2-1.2.0/src/quantise.c:109:3: warning: Uninitialized variable: *se [uninitvar] codec2-1.2.0/src/quantise.c:725:53: note: Calling function 'quantise', 6th argument '&se' value is codec2-1.2.0/src/quantise.c:109:3: note: Uninitialized variable: *se codec2-1.2.0/src/quantise.c:1033:12: style: Variable 'err[i]' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/quantise.c:1089:12: style: Variable 'err[i]' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/reliable_text.c:126:34: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/reliable_text.c:239:43: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/reliable_text.c:464:25: style: Variable 'impl' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/src/sd.c:44:27: style: Parameter 'ak1' can be declared as const array [constParameter] codec2-1.2.0/src/sd.c:44:40: style: Parameter 'ak2' can be declared as const array [constParameter] codec2-1.2.0/src/sine.c:60:38: style:inconclusive: Function 'c2const_create' argument 2 names different: declaration 'framelength_ms' definition 'framelength_s'. [funcArgNamesDifferent] codec2-1.2.0/src/sine.h:35:38: note: Function 'c2const_create' argument 2 names different: declaration 'framelength_ms' definition 'framelength_s'. codec2-1.2.0/src/sine.c:60:38: note: Function 'c2const_create' argument 2 names different: declaration 'framelength_ms' definition 'framelength_s'. codec2-1.2.0/src/sine.c:102:36: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/sine.c:232:26: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/sine.c:233:23: style: Parameter 'Sn' can be declared as const array [constParameter] codec2-1.2.0/src/sine.c:233:35: style: Parameter 'w' can be declared as const array [constParameter] codec2-1.2.0/src/sine.c:297:42: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/sine.c:444:32: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/sine.c:444:72: style: Parameter 'W' can be declared as const array [constParameter] codec2-1.2.0/src/sine.c:560:37: style: Parameter 'c2const' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/src/sine.c:596:23: style: Parameter 'Pn' can be declared as const array [constParameter] codec2-1.2.0/src/sine.c:455:11: style: Variable 'Ew.real' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/sine.c:456:11: style: Variable 'Ew.imag' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/src/tollr.c:14:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/varicode.c:44:49: style: Parameter 'ascii_in' can be declared as const array [constParameter] codec2-1.2.0/src/varicode.c:99:49: style: Parameter 'ascii_in' can be declared as const array [constParameter] codec2-1.2.0/src/varicode.c:156:49: style: Parameter 'ascii_in' can be declared as const array [constParameter] codec2-1.2.0/src/varicode.c:309:28: style: Parameter 'varicode_in' can be declared as const array [constParameter] codec2-1.2.0/src/varicode.c:332:28: style: Parameter 'varicode_in' can be declared as const array [constParameter] codec2-1.2.0/src/varicode.c:369:28: style: Parameter 'varicode_in' can be declared as const array [constParameter] codec2-1.2.0/src/vhf_deframe_c2.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/vhf_deframe_c2.c:91:16: warning: If memory allocation fails, then there is a possible null pointer dereference: bitbuf [nullPointerOutOfMemory] codec2-1.2.0/src/vhf_deframe_c2.c:87:29: note: Assuming allocation function fails codec2-1.2.0/src/vhf_deframe_c2.c:87:12: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*fsize)', assigned value is 0 codec2-1.2.0/src/vhf_deframe_c2.c:91:16: note: Null pointer dereference codec2-1.2.0/src/vhf_deframe_c2.c:37:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/src/vhf_deframe_c2.c:42:11: style: Variable 'zbuf' can be declared as const array [constVariable] codec2-1.2.0/src/vhf_frame_c2.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/src/vhf_frame_c2.c:90:16: warning: If memory allocation fails, then there is a possible null pointer dereference: c2buf [nullPointerOutOfMemory] codec2-1.2.0/src/vhf_frame_c2.c:87:28: note: Assuming allocation function fails codec2-1.2.0/src/vhf_frame_c2.c:87:11: note: Assignment 'c2buf=(uint8_t*)malloc(sizeof(uint8_t)*c2size)', assigned value is 0 codec2-1.2.0/src/vhf_frame_c2.c:90:16: note: Null pointer dereference codec2-1.2.0/src/vhf_frame_c2.c:92:12: warning: If memory allocation fails, then there is a possible null pointer dereference: bitbuf [nullPointerOutOfMemory] codec2-1.2.0/src/vhf_frame_c2.c:86:29: note: Assuming allocation function fails codec2-1.2.0/src/vhf_frame_c2.c:86:12: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*fsize)', assigned value is 0 codec2-1.2.0/src/vhf_frame_c2.c:92:12: note: Null pointer dereference codec2-1.2.0/src/vhf_frame_c2.c:37:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/stm32/src/adc_rec_usb.c:55:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_BUF_SZ [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/dac_ut.c:47:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAC_FS_16KHZ [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/debugblinky.c:37:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPIO_Pin_0 [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/debugblinky.c:49:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/menu.c:60:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MENU_STACK_SZ [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/menu.c:86:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MENU_EVT_RETURNED [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:49:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPIO_Pin_12 [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:75:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:84:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:93:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:102:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:111:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ODR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:117:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:121:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:125:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:129:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:157:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSRRH [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:175:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_STEADY [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:200:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_STEADY [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:209:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_STEADY [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:216:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_STEADY [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_leds_switches.c:227:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SW_STEADY [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:269:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:297:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_1600 [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usart_printf [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:777:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sound_click [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:935:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sound_startup [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:1061:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sound_startup [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:1157:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sound_startup [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:1220:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sound_startup [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:1304:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sound_startup [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:1369:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sound_startup [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:1433:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sound_startup [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/sm1000_main.c:650:21: style: Local variable 'i' shadows outer variable [shadowVariable] codec2-1.2.0/stm32/src/sm1000_main.c:337:31: note: Shadowed declaration codec2-1.2.0/stm32/src/sm1000_main.c:650:21: note: Shadow variable codec2-1.2.0/stm32/src/sm1000_main.c:664:21: style: Local variable 'i' shadows outer variable [shadowVariable] codec2-1.2.0/stm32/src/sm1000_main.c:337:31: note: Shadowed declaration codec2-1.2.0/stm32/src/sm1000_main.c:664:21: note: Shadow variable codec2-1.2.0/stm32/src/sm1000_main.c:392:29: portability: '(void*)0x10000000' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] codec2-1.2.0/stm32/src/sm1000_main.c:399:29: portability: '(void*)0x10000000' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] codec2-1.2.0/stm32/src/stm32f4_adc.c:118:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIM_CounterMode_Up [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_adc.c:145:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPIO_Pin_1 [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_adc.c:224:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADC_BUF_SZ [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_dac.c:69:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAC_BUF_SZ [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_dac.c:168:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIM_CounterMode_Up [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_dac.c:197:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAC_Trigger_T6_TRGO [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_dac.c:257:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAC_Trigger_T6_TRGO [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_dac.c:321:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAC_BUF_SZ [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_dac.c:378:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAC_BUF_SZ [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_dac.c:69:22: warning: The 2nd memset() argument '32768' doesn't fit into an 'unsigned char'. [memsetValueOutOfRange] codec2-1.2.0/stm32/src/stm32f4_dac.c:70:22: warning: The 2nd memset() argument '32768' doesn't fit into an 'unsigned char'. [memsetValueOutOfRange] codec2-1.2.0/stm32/src/stm32f4_machdep.c:74:70: style: Parameter 's' can be declared as const array [constParameter] codec2-1.2.0/stm32/src/stm32f4_usart.c:32:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPIO_Pin_10 [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_usart.c:57:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USART3 [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_usb_vcp.c:61:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USR_desc [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_usb_vcp.c:78:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB_OTG_dev [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_usb_vcp.c:83:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable low_power [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_vrom.c:277:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_vrom.c:369:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASH_COMPLETE [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_vrom.c:381:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASH_COMPLETE [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_vrom.c:417:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_vrom.c:609:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENXIO [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_vrom.c:658:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASH_FLAG_EOP [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_vrom.c:680:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASH_FLAG_EOP [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/stm32f4_vrom.c:174:7: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] codec2-1.2.0/stm32/src/stm32f4_vrom.c:172:8: note: outer condition: size codec2-1.2.0/stm32/src/stm32f4_vrom.c:174:7: note: identical inner condition: size codec2-1.2.0/stm32/src/stm32f4_vrom.c:429:6: style: Redundant initialization for 'rem'. The initialized value is overwritten before it is read. [redundantInitialization] codec2-1.2.0/stm32/src/stm32f4_vrom.c:413:15: note: rem is initialized codec2-1.2.0/stm32/src/stm32f4_vrom.c:429:6: note: rem is overwritten codec2-1.2.0/stm32/src/stm32f4_vrom.c:153:4: portability: '(void*)vrom_get_sector_hdr(sector)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] codec2-1.2.0/stm32/src/stm32f4_vrom.c:581:10: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/stm32/src/system_stm32f4xx.c:229:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/system_stm32f4xx.c:303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CFGR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/system_stm32f4xx.c:359:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __IO [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/tone.c:101:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TONE_FS [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/tone.c:149:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TONE_FS [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/tone.c:76:22: warning: Either the condition 'sample<(((sizeof(partial_sine)/sizeof(partial_sine[0]))*4)+4)/4' is redundant or the array 'partial_sine[31]' is accessed at index 31, which is out of bounds. [arrayIndexOutOfBoundsCond] codec2-1.2.0/stm32/src/tone.c:70:13: note: Assuming that condition 'sample<(((sizeof(partial_sine)/sizeof(partial_sine[0]))*4)+4)/4' is not redundant codec2-1.2.0/stm32/src/tone.c:76:22: note: Array index out of bounds codec2-1.2.0/stm32/src/tone.c:82:23: warning: Either the condition 'sample<((3*(((sizeof(partial_sine)/sizeof(partial_sine[0]))*4)+4))/4)' is redundant or the array 'partial_sine[31]' is accessed at index 31, which is out of bounds. [arrayIndexOutOfBoundsCond] codec2-1.2.0/stm32/src/tone.c:77:13: note: Assuming that condition 'sample<((3*(((sizeof(partial_sine)/sizeof(partial_sine[0]))*4)+4))/4)' is not redundant codec2-1.2.0/stm32/src/tone.c:82:23: note: Array index out of bounds codec2-1.2.0/stm32/src/tot.c:49:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOT_EVT_START [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/tot.c:64:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOT_EVT_DONE [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/usb_vcp_ut.c:59:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SystemCoreClock [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/usb_vsp_ut.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSRRH [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/usb_vsp_ut.c:106:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPIO_Pin_12 [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/usb_vsp_ut.c:146:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BSRRH [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/usb_vsp_ut.c:180:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB_OTG_dev [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/src/usb_vsp_ut.c:185:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable low_power [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/stlink/elfsym.c:32:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/stlink/elfsym.c:88:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/stlink/elfsym.c:27:22: style: Parameter 'file' can be declared as const array [constParameter] codec2-1.2.0/stm32/stlink/elfsym.c:72:53: style: Parameter 'symbol_name' can be declared as const array [constParameter] codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:95:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:115:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable freedv_rx_start [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:73:32: style: Parameter 'callback_state' can be declared as pointer to const. However it seems that 'my_put_next_rx_char' is a callback function, if 'callback_state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:161:38: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:73:32: note: Parameter 'callback_state' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:77:33: style: Parameter 'callback_state' can be declared as pointer to const. However it seems that 'my_put_next_rx_proto' is a callback function, if 'callback_state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:162:43: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:77:33: note: Parameter 'callback_state' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:77:54: style: Parameter 'proto_bits' can be declared as pointer to const. However it seems that 'my_put_next_rx_proto' is a callback function, if 'proto_bits' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:162:43: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:77:54: note: Parameter 'proto_bits' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:82:22: style: Parameter 'callback_state' can be declared as pointer to const. However it seems that 'my_datarx' is a callback function, if 'callback_state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:163:38: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:82:22: note: Parameter 'callback_state' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:82:53: style: Parameter 'packet' can be declared as pointer to const. However it seems that 'my_datarx' is a callback function, if 'packet' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:163:38: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:82:53: note: Parameter 'packet' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_demod.c:197:12: error: Uninitialized variable: sync [uninitvar] codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prof_freedv_rx [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:57:32: style: Parameter 'callback_state' can be declared as pointer to const. However it seems that 'my_put_next_rx_char' is a callback function, if 'callback_state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:104:38: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:57:32: note: Parameter 'callback_state' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:61:33: style: Parameter 'callback_state' can be declared as pointer to const. However it seems that 'my_put_next_rx_proto' is a callback function, if 'callback_state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:105:43: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:61:33: note: Parameter 'callback_state' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:61:54: style: Parameter 'proto_bits' can be declared as pointer to const. However it seems that 'my_put_next_rx_proto' is a callback function, if 'proto_bits' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:105:43: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:61:54: note: Parameter 'proto_bits' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:66:22: style: Parameter 'callback_state' can be declared as pointer to const. However it seems that 'my_datarx' is a callback function, if 'callback_state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:106:38: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:66:22: note: Parameter 'callback_state' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:66:53: style: Parameter 'packet' can be declared as pointer to const. However it seems that 'my_datarx' is a callback function, if 'packet' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:106:38: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:66:53: note: Parameter 'packet' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_demod_700d_profile.c:119:14: style: Variable 'nout' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/stm32/unittest/src/tst_api_mod.c:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_api_mod.c:140:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_api_mod_700d_profile.c:109:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prof_freedv_tx [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_api_mod_700d_profile.c:142:40: warning: If memory allocation fails, then there is a possible null pointer dereference: speech_in [nullPointerOutOfMemory] codec2-1.2.0/stm32/unittest/src/tst_api_mod_700d_profile.c:118:38: note: Assuming allocation function fails codec2-1.2.0/stm32/unittest/src/tst_api_mod_700d_profile.c:118:24: note: Assignment 'speech_in=(short*)malloc(sizeof(short)*n_speech_samples)', assigned value is 0 codec2-1.2.0/stm32/unittest/src/tst_api_mod_700d_profile.c:142:40: note: Null pointer dereference codec2-1.2.0/stm32/unittest/src/tst_api_mod_700d_profile.c:75:22: style: Parameter 'callback_state' can be declared as pointer to const. However it seems that 'my_datarx' is a callback function, if 'callback_state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_mod_700d_profile.c:138:38: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_mod_700d_profile.c:75:22: note: Parameter 'callback_state' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_mod_700d_profile.c:75:53: style: Parameter 'packet' can be declared as pointer to const. However it seems that 'my_datarx' is a callback function, if 'packet' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/unittest/src/tst_api_mod_700d_profile.c:138:38: note: You might need to cast the function pointer here codec2-1.2.0/stm32/unittest/src/tst_api_mod_700d_profile.c:75:53: note: Parameter 'packet' can be declared as pointer to const codec2-1.2.0/stm32/unittest/src/tst_api_tx.c:56:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_1600 [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_codec2_dec.c:95:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_codec2_enc.c:96:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_codec2_fft_init.c:71:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODEC2_MODE_700C [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_ldpc_dec.c:60:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HRA_112_112_CODELENGTH [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_ldpc_dec.c:105:9: style: Condition 'testframes' is always true [knownConditionTrueFalse] codec2-1.2.0/stm32/unittest/src/tst_ldpc_dec.c:102:18: note: Assignment 'testframes=1', assigned value is 1 codec2-1.2.0/stm32/unittest/src/tst_ldpc_dec.c:105:9: note: Condition 'testframes' is always true codec2-1.2.0/stm32/unittest/src/tst_ldpc_dec.c:138:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: input_float [nullPointerOutOfMemory] codec2-1.2.0/stm32/unittest/src/tst_ldpc_dec.c:132:34: note: Assuming allocation function fails codec2-1.2.0/stm32/unittest/src/tst_ldpc_dec.c:132:34: note: Assignment 'input_float=calloc(CodeLength,sizeof(float))', assigned value is 0 codec2-1.2.0/stm32/unittest/src/tst_ldpc_dec.c:138:17: note: Null pointer dereference codec2-1.2.0/stm32/unittest/src/tst_ldpc_enc.c:57:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HRA_112_112_NUMBERROWSHCOLS [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_ldpc_enc.c:45:22: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/stm32/unittest/src/tst_ldpc_enc.c:45:45: style: Parameter 'opt' can be declared as const array [constParameter] codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:132:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:238:13: style: The if condition is the same as the previous if condition [duplicateCondition] codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:234:13: note: First condition codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:238:13: note: Second condition codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:250:17: style: The if condition is the same as the previous if condition [duplicateCondition] codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:249:17: note: First condition codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:250:17: note: Second condition codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:289:21: style: Condition 'config_ldpc_en' is always true [knownConditionTrueFalse] codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:305:41: style: Local variable 'payload_data_bits' shadows outer variable [shadowVariable] codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:85:22: note: Shadowed declaration codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:305:41: note: Shadow variable codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:353:25: style: Local variable 'txt_bits' shadows outer variable [shadowVariable] codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:192:13: note: Shadowed declaration codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:353:25: note: Shadow variable codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:152:19: style: Variable 'Nerrs_raw' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/stm32/unittest/src/tst_ofdm_demod.c:386:99: style: Variable 'Nerrs_raw' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/stm32/unittest/src/tst_ofdm_mod.c:106:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_ofdm_mod.c:123:25: style: Variable 'ofdm_config' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/stm32/unittest/src/tst_semihost.c:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/unittest/src/tst_semihost.c:31:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fin [nullPointerOutOfResources] codec2-1.2.0/stm32/unittest/src/tst_semihost.c:27:22: note: Assuming allocation function fails codec2-1.2.0/stm32/unittest/src/tst_semihost.c:27:22: note: Assignment 'fin=fopen("stm_in.raw","rb")', assigned value is 0 codec2-1.2.0/stm32/unittest/src/tst_semihost.c:31:12: note: Null pointer dereference codec2-1.2.0/stm32/unittest/src/tst_semihost.c:37:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fout [nullPointerOutOfResources] codec2-1.2.0/stm32/unittest/src/tst_semihost.c:33:23: note: Assuming allocation function fails codec2-1.2.0/stm32/unittest/src/tst_semihost.c:33:23: note: Assignment 'fout=fopen("stm_out.raw","wb")', assigned value is 0 codec2-1.2.0/stm32/unittest/src/tst_semihost.c:37:12: note: Null pointer dereference codec2-1.2.0/stm32/usb_conf/usb_bsp.c:190:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPIO_Pin_12 [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_conf/usb_bsp.c:268:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NVIC_PriorityGroup_1 [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_conf/usb_bsp.c:33:50: style: Parameter 'pdev' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/stm32/usb_conf/usb_bsp.c:37:49: style: Parameter 'pdev' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/stm32/usb_conf/usbd_desc.c:108:60: error: There is an unknown macro here somewhere. Configuration is required. If __ALIGN_END is a macro then please configure it. [unknownMacro] codec2-1.2.0/stm32/usb_lib/cdc/usbd_cdc_core.c:138:67: error: There is an unknown macro here somewhere. Configuration is required. If __ALIGN_END is a macro then please configure it. [unknownMacro] codec2-1.2.0/stm32/usb_lib/cdc/usbd_cdc_vcp.c:68:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBD_OK [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/cdc/usbd_cdc_vcp.c:78:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBD_OK [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/cdc/usbd_cdc_vcp.c:137:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBD_OK [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/cdc/usbd_cdc_vcp.c:178:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APP_RX_DATA_SIZE [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/cdc/usbd_cdc_vcp.c:217:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBD_FAIL [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/cdc/usbd_cdc_vcp.c:171:37: style: Parameter 'Buf' can be declared as pointer to const. However it seems that 'VCP_DataTx' is a callback function, if 'Buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/stm32/usb_lib/cdc/usbd_cdc_vcp.c:57:66: note: You might need to cast the function pointer here codec2-1.2.0/stm32/usb_lib/cdc/usbd_cdc_vcp.c:171:37: note: Parameter 'Buf' can be declared as pointer to const codec2-1.2.0/stm32/usb_lib/cdc/usbd_cdc_vcp.c:207:37: style: Parameter 'Buf' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/stm32/usb_lib/core/usbd_core.c:213:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB_OTG_EP0_DATA_OUT [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/core/usbd_core.c:261:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB_OTG_EP0_DATA_IN [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/core/usbd_core.c:327:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB_OTG_DEFAULT [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/core/usbd_core.c:344:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB_OTG_CONFIGURED [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/core/usbd_core.c:359:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB_OTG_SUSPENDED [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/core/usbd_core.c:159:46: style: Parameter 'pdev' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/stm32/usb_lib/core/usbd_ioreq.c:94:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable total_data_len [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/core/usbd_ioreq.c:137:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable total_data_len [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/core/usbd_ioreq.c:179:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB_OTG_EP0_STATUS_IN [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/core/usbd_ioreq.c:199:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USB_OTG_EP0_STATUS_OUT [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/core/usbd_ioreq.c:220:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xfer_count [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/core/usbd_ioreq.c:89:41: style:inconclusive: Function 'USBD_CtlSendData' argument 2 names different: declaration 'buf' definition 'pbuf'. [funcArgNamesDifferent] codec2-1.2.0/stm32/usb_lib/core/usbd_ioreq.h:80:41: note: Function 'USBD_CtlSendData' argument 2 names different: declaration 'buf' definition 'pbuf'. codec2-1.2.0/stm32/usb_lib/core/usbd_ioreq.c:89:41: note: Function 'USBD_CtlSendData' argument 2 names different: declaration 'buf' definition 'pbuf'. codec2-1.2.0/stm32/usb_lib/core/usbd_req.c:93:58: error: There is an unknown macro here somewhere. Configuration is required. If __ALIGN_END is a macro then please configure it. [unknownMacro] codec2-1.2.0/stm32/usb_lib/otg/usb_core.c:120:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __IO [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/otg/usb_core.c:171:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __IO [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/otg/usb_core.c:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __IO [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/otg/usb_core.c:500:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __IO [valueFlowBailoutIncompleteVar] codec2-1.2.0/stm32/usb_lib/otg/usb_core.c:530:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __IO [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/compare_floats.c:25:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/compare_floats.c:17:8: style: Variable 'usage' can be declared as const array [constVariable] codec2-1.2.0/unittest/compare_floats.c:37:9: style: Variable 'fname1' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/unittest/compare_floats.c:38:9: style: Variable 'fname2' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/unittest/compare_ints.c:33:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/compare_ints.c:75:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/compare_ints.c:61:8: style: Variable 'usage' can be declared as const array [constVariable] codec2-1.2.0/unittest/compare_ints.c:99:9: style: Variable 'fname1' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/unittest/compare_ints.c:100:9: style: Variable 'fname2' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/unittest/freedv_700d_comprx.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/freedv_700d_comprx.c:22:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/unittest/freedv_700d_comptx.c:19:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_700D [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/mksine.c:32:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/mksine.c:19:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/unittest/t16_8.c:36:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FDMDV_OS_TAPS_8K [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/t16_8.c:79:12: warning: Uninitialized variable: out16k_short [uninitvar] codec2-1.2.0/unittest/t16_8.c:78:19: note: Assuming condition is false codec2-1.2.0/unittest/t16_8.c:79:12: note: Uninitialized variable: out16k_short codec2-1.2.0/unittest/t16_8_short.c:35:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FDMDV_OS_TAPS_8K [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/t48_8.c:36:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FDMDV_OS_TAPS_48_8K [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/t48_8.c:81:12: warning: Uninitialized variable: out48k_short [uninitvar] codec2-1.2.0/unittest/t48_8.c:80:19: note: Assuming condition is false codec2-1.2.0/unittest/t48_8.c:81:12: note: Uninitialized variable: out48k_short codec2-1.2.0/unittest/t48_8_short.c:24:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FDMDV_OS_TAPS_48_8K [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tcohpsk.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COHPSK_BITS_PER_FRAME [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tesno_est.c:22:15: style: Unsigned expression 'nsym' can't be negative so it is unnecessary to test it. [unsignedPositive] codec2-1.2.0/unittest/tesno_est.c:18:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/unittest/tfdmdv.c:48:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FDMDV_BITS_PER_FRAME [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tfdmdv.c:103:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] codec2-1.2.0/unittest/tfifo.c:97:27: style: Parameter 'data' can be declared as pointer to const. However it seems that 'writer_thread' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/unittest/tfifo.c:40:41: note: You might need to cast the function pointer here codec2-1.2.0/unittest/tfifo.c:97:27: note: Parameter 'data' can be declared as pointer to const codec2-1.2.0/unittest/tfmfsk.c:122:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bitbuf [nullPointerOutOfMemory] codec2-1.2.0/unittest/tfmfsk.c:119:33: note: Assuming allocation function fails codec2-1.2.0/unittest/tfmfsk.c:119:16: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*10000)', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:122:9: note: Null pointer dereference codec2-1.2.0/unittest/tfmfsk.c:133:20: warning: If memory allocation fails, then there is a possible null pointer dereference: bitbufp [nullPointerOutOfMemory] codec2-1.2.0/unittest/tfmfsk.c:129:22: note: Assuming allocation function fails codec2-1.2.0/unittest/tfmfsk.c:129:22: note: Assignment 'bitbuf=malloc(sizeof(uint8_t)*bitbufsize)', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:132:17: note: Assignment 'bitbufp=bitbuf', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:133:20: note: Null pointer dereference codec2-1.2.0/unittest/tfmfsk.c:158:14: warning: If memory allocation fails, then there is a possible null pointer dereference: modbuf [nullPointerOutOfMemory] codec2-1.2.0/unittest/tfmfsk.c:145:29: note: Assuming allocation function fails codec2-1.2.0/unittest/tfmfsk.c:145:14: note: Assignment 'modbuf=(float*)malloc(sizeof(float)*(bitbufsize/fmfsk->nbit)*fmfsk->N*4)', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:158:14: note: Null pointer dereference codec2-1.2.0/unittest/tfmfsk.c:175:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: modbuf [nullPointerOutOfMemory] codec2-1.2.0/unittest/tfmfsk.c:170:20: note: Assuming allocation function fails codec2-1.2.0/unittest/tfmfsk.c:170:20: note: Assignment 'modbuf=malloc(sizeof(float)*(fmfsk->N+fmfsk->Ts*2))', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:175:20: note: Null pointer dereference codec2-1.2.0/unittest/tfmfsk.c:178:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: bitbuf [nullPointerOutOfMemory] codec2-1.2.0/unittest/tfmfsk.c:171:20: note: Assuming allocation function fails codec2-1.2.0/unittest/tfmfsk.c:171:20: note: Assignment 'bitbuf=malloc(sizeof(uint8_t)*fmfsk->nbit)', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:178:16: note: Null pointer dereference codec2-1.2.0/unittest/tfmfsk.c:151:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfmfsk.c:119:33: note: Assuming allocation function fails codec2-1.2.0/unittest/tfmfsk.c:119:16: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*10000)', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:151:29: note: Null pointer addition codec2-1.2.0/unittest/tfmfsk.c:185:31: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfmfsk.c:170:20: note: Assuming allocation function fails codec2-1.2.0/unittest/tfmfsk.c:170:20: note: Assignment 'modbuf=malloc(sizeof(float)*(fmfsk->N+fmfsk->Ts*2))', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:185:31: note: Null pointer addition codec2-1.2.0/unittest/tfmfsk.c:59:21: style: Variable 'bitbufsize' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/unittest/tfmfsk.c:183:15: style: Variable 'bitbufp' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/unittest/tfreedv_2400A_rawdata.c:41:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_2400A [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tfreedv_2400B_rawdata.c:41:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_2400B [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tfreedv_800XA_rawdata.c:41:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FREEDV_MODE_800XA [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tfreedv_data_channel.c:143:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tfreedv_data_channel.c:158:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tfreedv_data_channel.c:146:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] codec2-1.2.0/unittest/tfreedv_data_channel.c:160:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] codec2-1.2.0/unittest/tfreedv_data_channel.c:165:7: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] codec2-1.2.0/unittest/tfreedv_data_channel.c:165:7: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] codec2-1.2.0/unittest/tfreedv_data_channel.c:172:11: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] codec2-1.2.0/unittest/tfreedv_data_channel.c:180:7: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] codec2-1.2.0/unittest/tfreedv_data_channel.c:140:37: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'tfreedv_data_callback_tx' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/unittest/tfreedv_data_channel.c:203:30: note: You might need to cast the function pointer here codec2-1.2.0/unittest/tfreedv_data_channel.c:140:37: note: Parameter 'arg' can be declared as pointer to const codec2-1.2.0/unittest/tfreedv_data_channel.c:155:37: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'tfreedv_data_callback_rx' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/unittest/tfreedv_data_channel.c:204:30: note: You might need to cast the function pointer here codec2-1.2.0/unittest/tfreedv_data_channel.c:155:37: note: Parameter 'arg' can be declared as pointer to const codec2-1.2.0/unittest/tfreedv_data_channel.c:155:57: style: Parameter 'packet' can be declared as pointer to const. However it seems that 'tfreedv_data_callback_rx' is a callback function, if 'packet' is declared with const you might also need to cast function pointer(s). [constParameterCallback] codec2-1.2.0/unittest/tfreedv_data_channel.c:204:30: note: You might need to cast the function pointer here codec2-1.2.0/unittest/tfreedv_data_channel.c:155:57: note: Parameter 'packet' can be declared as pointer to const codec2-1.2.0/unittest/tfsk.c:130:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FSK_DEFAULT_NSYM [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tfsk.c:149:9: warning: If memory allocation fails, then there is a possible null pointer dereference: bitbuf [nullPointerOutOfMemory] codec2-1.2.0/unittest/tfsk.c:146:33: note: Assuming allocation function fails codec2-1.2.0/unittest/tfsk.c:146:16: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*10000)', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:149:9: note: Null pointer dereference codec2-1.2.0/unittest/tfsk.c:160:20: warning: If memory allocation fails, then there is a possible null pointer dereference: bitbufp [nullPointerOutOfMemory] codec2-1.2.0/unittest/tfsk.c:156:22: note: Assuming allocation function fails codec2-1.2.0/unittest/tfsk.c:156:22: note: Assignment 'bitbuf=malloc(sizeof(uint8_t)*bitbufsize)', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:159:17: note: Assignment 'bitbufp=bitbuf', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:160:20: note: Null pointer dereference codec2-1.2.0/unittest/tfsk.c:184:14: warning: If memory allocation fails, then there is a possible null pointer dereference: modbuf [nullPointerOutOfMemory] codec2-1.2.0/unittest/tfsk.c:172:24: note: Assuming allocation function fails codec2-1.2.0/unittest/tfsk.c:172:9: note: Assignment 'modbuf=(float*)malloc(sizeof(float)*(bitbufsize/fsk->Nbits)*fsk->N*4)', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:184:14: note: Null pointer dereference codec2-1.2.0/unittest/tfsk.c:198:20: warning: If memory allocation fails, then there is a possible null pointer dereference: modbuf [nullPointerOutOfMemory] codec2-1.2.0/unittest/tfsk.c:194:20: note: Assuming allocation function fails codec2-1.2.0/unittest/tfsk.c:194:20: note: Assignment 'modbuf=malloc(sizeof(float)*(fsk->N+fsk->Ts*2))', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:198:20: note: Null pointer dereference codec2-1.2.0/unittest/tfsk.c:206:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: bitbuf [nullPointerOutOfMemory] codec2-1.2.0/unittest/tfsk.c:195:20: note: Assuming allocation function fails codec2-1.2.0/unittest/tfsk.c:195:20: note: Assignment 'bitbuf=malloc(sizeof(uint8_t)*fsk->Nbits)', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:206:16: note: Null pointer dereference codec2-1.2.0/unittest/tfsk.c:177:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfsk.c:146:33: note: Assuming allocation function fails codec2-1.2.0/unittest/tfsk.c:146:16: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*10000)', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:177:29: note: Null pointer addition codec2-1.2.0/unittest/tfsk.c:213:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfsk.c:194:20: note: Assuming allocation function fails codec2-1.2.0/unittest/tfsk.c:194:20: note: Assignment 'modbuf=malloc(sizeof(float)*(fsk->N+fsk->Ts*2))', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:213:31: note: Null pointer addition codec2-1.2.0/unittest/tfsk.c:64:21: style: Variable 'bitbufsize' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/unittest/tfsk.c:211:15: style: Variable 'bitbufp' is assigned a value that is never used. [unreadVariable] codec2-1.2.0/unittest/tfsk_llr.c:49:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tnewamp1.c:44:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_S [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tnewamp1.c:125:12: warning: Assert statement calls a function which may have desired side effects: 'fread'. [assertWithSideEffect] codec2-1.2.0/unittest/tnewamp1.c:42:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/unittest/tofdm.c:113:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tofdm.c:161:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tofdm.c:155:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/unittest/tofdm.c:159:23: style: Variable 'ofdm_config' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/unittest/tofdm.c:161:24: style: Variable 'long_options' can be declared as const array [constVariable] codec2-1.2.0/unittest/tofdm_acq.c:54:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tofdm_acq.c:27:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/unittest/tqam16.c:24:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tquisk_filter.c:30:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quisk_cfFilter [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/tvq_mbest.c:15:10: warning: Assert statement calls a function which may have desired side effects: 'fwrite'. [assertWithSideEffect] codec2-1.2.0/unittest/tvq_mbest.c:12:28: style: Parameter 'fn' can be declared as const array [constParameter] codec2-1.2.0/unittest/tvq_mbest.c:12:41: style: Parameter 'values' can be declared as pointer to const [constParameterPointer] codec2-1.2.0/unittest/vq_mbest.c:44:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/vq_mbest.c:211:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/vq_mbest.c:252:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] codec2-1.2.0/unittest/vq_mbest.c:281:9: style: Local variable 'ind' shadows outer variable [shadowVariable] codec2-1.2.0/unittest/vq_mbest.c:222:20: note: Shadowed declaration codec2-1.2.0/unittest/vq_mbest.c:281:9: note: Shadow variable codec2-1.2.0/unittest/vq_mbest.c:28:26: style: Parameter 'argv' can be declared as const array [constParameter] codec2-1.2.0/unittest/vq_mbest.c:33:39: style: Variable 'p' can be declared as pointer to const [constVariablePointer] codec2-1.2.0/unittest/vq_mbest.c:44:26: style: Variable 'long_opts' can be declared as const array [constVariable] codec2-1.2.0/unittest/vq_mbest.c:208:14: style: Parameter 's' can be declared as const array [constParameter] codec2-1.2.0/unittest/vq_mbest.c:208:25: style: Parameter 'v' can be declared as const array [constParameter] codec2-1.2.0/unittest/vq_mbest.c:220:37: style: Parameter 'vq' can be declared as const array [constParameter] codec2-1.2.0/src/quantise.c:109:4: error: Using argument se that points at uninitialized variable se_mean [ctuuninitvar] codec2-1.2.0/src/newamp1.c:499:15: note: Calling function quantise, 6th argument is uninitialized codec2-1.2.0/src/quantise.c:109:4: note: Using argument se diff: head codec2-1.2.0/src/fdmdv.c:1910:47: error: Array 'in48k[0]' accessed at index -47, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1907:12: note: Assignment 'i=0', assigned value is 0 codec2-1.2.0/src/fdmdv.c:1910:47: note: Negative array index head codec2-1.2.0/src/fdmdv.c:1926:42: error: Array 'in48k[0]' accessed at index -47, which is out of bounds. [negativeIndex] codec2-1.2.0/src/fdmdv.c:1923:12: note: Assignment 'i=0', assigned value is 0 codec2-1.2.0/src/fdmdv.c:1926:42: note: Negative array index head codec2-1.2.0/src/fmfsk.c:227:22: warning: If memory allocation fails, then there is a possible null pointer dereference: rx_filt [nullPointerOutOfMemory] codec2-1.2.0/src/fmfsk.c:195:26: note: Assuming allocation function fails codec2-1.2.0/src/fmfsk.c:195:26: note: Assignment 'rx_filt=malloc(sizeof(float)*(nsym+1)*Ts)', assigned value is 0 codec2-1.2.0/src/fmfsk.c:227:22: note: Null pointer dereference head codec2-1.2.0/src/generate_codebook.c:122:17: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] codec2-1.2.0/src/generate_codebook.c:114:30: note: Assuming allocation function fails codec2-1.2.0/src/generate_codebook.c:114:30: note: Assignment 'b=malloc(sizeof(struct codebook))', assigned value is 0 codec2-1.2.0/src/generate_codebook.c:122:17: note: Null pointer dereference 2.17.0 codec2-1.2.0/src/modem_probe.c:87:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/src/modem_probe.c:84:24: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:84:24: note: Assignment 'newbuf=malloc(size)', assigned value is 0 codec2-1.2.0/src/modem_probe.c:87:19: note: Null pointer addition head codec2-1.2.0/src/modem_probe.c:87:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/src/modem_probe.c:84:24: note: Assuming allocation function fails codec2-1.2.0/src/modem_probe.c:84:24: note: Assignment 'newbuf=malloc(size)', assigned value is 0 codec2-1.2.0/src/modem_probe.c:87:19: note: Null pointer addition 2.17.0 codec2-1.2.0/unittest/tfmfsk.c:151:29: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfmfsk.c:119:33: note: Assuming allocation function fails codec2-1.2.0/unittest/tfmfsk.c:119:16: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*10000)', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:151:29: note: Null pointer addition head codec2-1.2.0/unittest/tfmfsk.c:151:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfmfsk.c:119:33: note: Assuming allocation function fails codec2-1.2.0/unittest/tfmfsk.c:119:16: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*10000)', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:151:29: note: Null pointer addition 2.17.0 codec2-1.2.0/unittest/tfmfsk.c:185:31: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfmfsk.c:170:20: note: Assuming allocation function fails codec2-1.2.0/unittest/tfmfsk.c:170:20: note: Assignment 'modbuf=malloc(sizeof(float)*(fmfsk->N+fmfsk->Ts*2))', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:185:31: note: Null pointer addition head codec2-1.2.0/unittest/tfmfsk.c:185:31: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfmfsk.c:170:20: note: Assuming allocation function fails codec2-1.2.0/unittest/tfmfsk.c:170:20: note: Assignment 'modbuf=malloc(sizeof(float)*(fmfsk->N+fmfsk->Ts*2))', assigned value is 0 codec2-1.2.0/unittest/tfmfsk.c:185:31: note: Null pointer addition 2.17.0 codec2-1.2.0/unittest/tfsk.c:177:29: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfsk.c:146:33: note: Assuming allocation function fails codec2-1.2.0/unittest/tfsk.c:146:16: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*10000)', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:177:29: note: Null pointer addition head codec2-1.2.0/unittest/tfsk.c:177:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfsk.c:146:33: note: Assuming allocation function fails codec2-1.2.0/unittest/tfsk.c:146:16: note: Assignment 'bitbuf=(uint8_t*)malloc(sizeof(uint8_t)*10000)', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:177:29: note: Null pointer addition 2.17.0 codec2-1.2.0/unittest/tfsk.c:213:31: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfsk.c:194:20: note: Assuming allocation function fails codec2-1.2.0/unittest/tfsk.c:194:20: note: Assignment 'modbuf=malloc(sizeof(float)*(fsk->N+fsk->Ts*2))', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:213:31: note: Null pointer addition head codec2-1.2.0/unittest/tfsk.c:213:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] codec2-1.2.0/unittest/tfsk.c:194:20: note: Assuming allocation function fails codec2-1.2.0/unittest/tfsk.c:194:20: note: Assignment 'modbuf=malloc(sizeof(float)*(fsk->N+fsk->Ts*2))', assigned value is 0 codec2-1.2.0/unittest/tfsk.c:213:31: note: Null pointer addition DONE