2025-11-06 16:07 ftp://ftp.de.debian.org/debian/pool/main/libv/libvterm/libvterm_0.3.3.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 -j4 platform: Linux-6.12.48+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2c5b872 (2025-11-06 13:42:16 +0200) count: 133 133 elapsed-time: 2.9 3.7 head-timing-info: old-timing-info: head results: libvterm-0.3.3/bin/vterm-dump.c:139:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSI_ARG_MISSING [valueFlowBailoutIncompleteVar] libvterm-0.3.3/bin/vterm-dump.c:209:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] libvterm-0.3.3/bin/unterm.c:226:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libvterm-0.3.3/bin/vterm-ctrl.c:14:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libvterm-0.3.3/bin/vterm-ctrl.c:30:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libvterm-0.3.3/bin/vterm-ctrl.c:69:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] libvterm-0.3.3/bin/vterm-ctrl.c:147:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libvterm-0.3.3/bin/vterm-ctrl.c:348:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libvterm-0.3.3/bin/vterm-ctrl.c:113:6: error: Array 'csi[32]' accessed at index 32, which is out of bounds. [arrayIndexOutOfBounds] libvterm-0.3.3/bin/vterm-ctrl.c:108:11: note: Assuming that condition 'i=0x20' is always true [knownConditionTrueFalse] libvterm-0.3.3/src/encoding.c:45:10: note: Assuming that condition 'c<0x20' is not redundant libvterm-0.3.3/src/encoding.c:48:15: note: Condition 'c>=0x20' is always true libvterm-0.3.3/bin/vterm-dump.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] libvterm-0.3.3/bin/vterm-dump.c:19:62: style: Parameter 'user' can be declared as pointer to const. However it seems that 'parser_text' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/bin/vterm-dump.c:190:15: note: You might need to cast the function pointer here libvterm-0.3.3/bin/vterm-dump.c:19:62: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/bin/vterm-dump.c:21:18: style: Variable 'b' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/bin/vterm-dump.c:64:56: style: Parameter 'user' can be declared as pointer to const. However it seems that 'parser_control' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/bin/vterm-dump.c:191:15: note: You might need to cast the function pointer here libvterm-0.3.3/bin/vterm-dump.c:64:56: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/bin/vterm-dump.c:80:64: style: Parameter 'user' can be declared as pointer to const. However it seems that 'parser_escape' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/bin/vterm-dump.c:192:15: note: You might need to cast the function pointer here libvterm-0.3.3/bin/vterm-dump.c:80:64: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/bin/vterm-dump.c:110:118: style: Parameter 'user' can be declared as pointer to const. However it seems that 'parser_csi' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/bin/vterm-dump.c:193:15: note: You might need to cast the function pointer here libvterm-0.3.3/bin/vterm-dump.c:110:118: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/bin/vterm-dump.c:159:68: style: Parameter 'user' can be declared as pointer to const. However it seems that 'parser_osc' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/bin/vterm-dump.c:194:15: note: You might need to cast the function pointer here libvterm-0.3.3/bin/vterm-dump.c:159:68: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/bin/vterm-dump.c:176:95: style: Parameter 'user' can be declared as pointer to const. However it seems that 'parser_dcs' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/bin/vterm-dump.c:195:15: note: You might need to cast the function pointer here libvterm-0.3.3/bin/vterm-dump.c:176:95: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/src/parser.c:144:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSC_COMMAND [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:135:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_VALUETYPE_BOOL [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:141:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_VALUETYPE_INT [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:147:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_VALUETYPE_COLOR [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:152:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_ATTR_BACKGROUND [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:172:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_ATTR_BOLD [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:195:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_ATTR_BOLD [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:246:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_COLOR_DEFAULT_MASK [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:268:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_COLOR_TYPE_MASK [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:298:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_ATTR_BOLD [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:489:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSI_ARG_FLAG_MORE [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:514:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_UNDERLINE_SINGLE [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/pen.c:109:12: style: Condition 'argcount' is always true [knownConditionTrueFalse] libvterm-0.3.3/src/screen.c:186:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_MAX_CHARS_PER_CELL [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/screen.c:257:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_DAMAGE_SCROLL [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/screen.c:286:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fg [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/screen.c:316:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_DAMAGE_SCROLL [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/screen.c:537:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable continuation [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/screen.c:760:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTermScreenCell [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/screen.c:867:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_DAMAGE_CELL [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/screen.c:977:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_MAX_CHARS_PER_CELL [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/screen.c:1099:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_ATTR_BOLD_MASK [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/screen.c:1178:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_COLOR_DEFAULT_MASK [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/parser.c:332:22: style: Variable 'string_len' is assigned a value that is never used. [unreadVariable] libvterm-0.3.3/src/parser.c:348:22: style: Variable 'string_len' is assigned a value that is never used. [unreadVariable] libvterm-0.3.3/src/parser.c:354:22: style: Variable 'string_len' is assigned a value that is never used. [unreadVariable] libvterm-0.3.3/src/vterm.c:33:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rows [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/vterm.c:41:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rows [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/vterm.c:64:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORMAL [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/vterm.c:269:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_VALUETYPE_BOOL [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/vterm.c:290:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_VALUETYPE_BOOL [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/vterm.c:417:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_VERSION_MAJOR [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:20:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doublewidth [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:51:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable continuation [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:72:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSE_X10 [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:221:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doublewidth [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:352:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_MAX_CHARS_PER_CELL [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:581:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_PROP_CURSORVISIBLE [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:651:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doublewidth [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:757:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_PROP_REVERSE [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:893:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSE_UTF8 [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:991:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doublewidth [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:1621:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SELECTION_INITIAL [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:1783:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_PROP_ICONNAME [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:2006:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTermLineInfo [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:2125:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_PROP_CURSORVISIBLE [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:2223:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_PROP_MOUSE_DRAG [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/vterm.c:408:7: error: Uninitialized variable: pos [uninitvar] libvterm-0.3.3/src/unicode.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] libvterm-0.3.3/t/harness.c:32:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_MOD_SHIFT [valueFlowBailoutIncompleteVar] libvterm-0.3.3/t/harness.c:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VTERM_KEY_UP [valueFlowBailoutIncompleteVar] libvterm-0.3.3/t/harness.c:176:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CSI_ARG_MISSING [valueFlowBailoutIncompleteVar] libvterm-0.3.3/t/harness.c:543:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable row [valueFlowBailoutIncompleteVar] libvterm-0.3.3/t/harness.c:578:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chars [valueFlowBailoutIncompleteVar] libvterm-0.3.3/t/harness.c:597:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chars [valueFlowBailoutIncompleteVar] libvterm-0.3.3/t/harness.c:636:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] libvterm-0.3.3/src/state.c:300:28: style: Condition 'npoints' is always true [knownConditionTrueFalse] libvterm-0.3.3/src/state.c:1072:15: style: Local variable 'row' shadows outer variable [shadowVariable] libvterm-0.3.3/src/state.c:968:7: note: Shadowed declaration libvterm-0.3.3/src/state.c:1072:15: note: Shadow variable libvterm-0.3.3/src/state.c:1081:15: style: Local variable 'row' shadows outer variable [shadowVariable] libvterm-0.3.3/src/state.c:968:7: note: Shadowed declaration libvterm-0.3.3/src/state.c:1081:15: note: Shadow variable libvterm-0.3.3/src/state.c:1095:15: style: Local variable 'row' shadows outer variable [shadowVariable] libvterm-0.3.3/src/state.c:968:7: note: Shadowed declaration libvterm-0.3.3/src/state.c:1095:15: note: Shadow variable libvterm-0.3.3/src/state.c:2002:24: style: Variable 'oldlineinfo' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/src/state.c:2159:42: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/src/state.c:2176:55: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/src/state.c:650:13: error: Uninitialized variable: pos [uninitvar] libvterm-0.3.3/src/screen.c:559:5: style: Variable 'old_row' is assigned an expression that holds the same value. [redundantAssignment] libvterm-0.3.3/src/screen.c:539:23: note: old_row_start is assigned 'old_row' here. libvterm-0.3.3/src/screen.c:559:5: note: Variable 'old_row' is assigned an expression that holds the same value. libvterm-0.3.3/src/screen.c:406:51: style: Parameter 'val' can be declared as pointer to const. However it seems that 'setpenattr' is a callback function, if 'val' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/src/screen.c:845:19: note: You might need to cast the function pointer here libvterm-0.3.3/src/screen.c:406:51: note: Parameter 'val' can be declared as pointer to const libvterm-0.3.3/src/screen.c:497:38: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/src/screen.c:1013:17: style: Variable 'cell' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/src/screen.c:1059:44: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/src/rect.h:9:52: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/src/rect.h:18:50: style: Parameter 'bounds' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/src/rect.h:30:34: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/src/rect.h:30:48: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/src/rect.h:39:37: style: Parameter 'big' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/src/rect.h:39:53: style: Parameter 'small' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/src/rect.h:49:39: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/src/rect.h:49:53: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/t/harness.c:1098:32: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: chars [nullPointerOutOfMemory] libvterm-0.3.3/t/harness.c:1095:35: note: Assuming allocation function fails libvterm-0.3.3/t/harness.c:1095:35: note: Assignment 'chars=malloc(sizeof(uint32_t)*len)', assigned value is 0 libvterm-0.3.3/t/harness.c:1098:32: note: Null pointer dereference libvterm-0.3.3/t/harness.c:1122:40: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] libvterm-0.3.3/t/harness.c:1121:41: note: Assuming allocation function fails libvterm-0.3.3/t/harness.c:1121:41: note: Assignment 'buffer=malloc(len+4)', assigned value is 0 libvterm-0.3.3/t/harness.c:1122:40: note: Null pointer addition libvterm-0.3.3/t/harness.c:28:17: style: Local variable 'state' shadows outer variable [shadowVariable] libvterm-0.3.3/t/harness.c:105:20: note: Shadowed declaration libvterm-0.3.3/t/harness.c:28:17: note: Shadow variable libvterm-0.3.3/t/harness.c:42:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] libvterm-0.3.3/t/harness.c:110:58: style: Parameter 'user' can be declared as pointer to const. However it seems that 'term_output' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:647:37: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:110:58: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:123:62: style: Parameter 'user' can be declared as pointer to const. However it seems that 'parser_text' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:286:14: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:123:62: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:138:56: style: Parameter 'user' can be declared as pointer to const. However it seems that 'parser_control' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:298:14: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:138:56: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:145:64: style: Parameter 'user' can be declared as pointer to const. However it seems that 'parser_escape' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:288:14: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:145:64: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:163:118: style: Parameter 'user' can be declared as pointer to const. However it seems that 'parser_csi' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:299:14: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:163:118: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:311:73: style: Parameter 'user' can be declared as pointer to const. However it seems that 'movecursor' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:620:18: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:311:73: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:322:74: style: Parameter 'user' can be declared as pointer to const. However it seems that 'scrollrect' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:492:18: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:322:74: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:335:58: style: Parameter 'user' can be declared as pointer to const. However it seems that 'moverect' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:619:18: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:335:58: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:381:43: style: Parameter 'info' can be declared as pointer to const. However it seems that 'state_putglyph' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:490:18: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:381:43: note: Parameter 'info' can be declared as pointer to const libvterm-0.3.3/t/harness.c:381:69: style: Parameter 'user' can be declared as pointer to const. However it seems that 'state_putglyph' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:490:18: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:381:69: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:402:61: style: Parameter 'user' can be declared as pointer to const. However it seems that 'state_erase' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:494:18: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:402:61: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:428:57: style: Parameter 'val' can be declared as pointer to const. However it seems that 'state_setpenattr' is a callback function, if 'val' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:495:18: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:428:57: note: Parameter 'val' can be declared as pointer to const libvterm-0.3.3/t/harness.c:475:105: style: Parameter 'user' can be declared as pointer to const. However it seems that 'state_setlineinfo' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:497:18: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:475:105: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:481:33: style: Parameter 'user' can be declared as pointer to const. However it seems that 'state_sb_clear' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:498:18: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:481:33: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:514:59: style: Parameter 'user' can be declared as pointer to const. However it seems that 'selection_query' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:523:12: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:514:59: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:572:77: style: Parameter 'user' can be declared as pointer to const. However it seems that 'screen_sb_pushline' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:622:18: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:572:77: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:608:34: style: Parameter 'user' can be declared as pointer to const. However it seems that 'screen_sb_clear' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvterm-0.3.3/t/harness.c:624:18: note: You might need to cast the function pointer here libvterm-0.3.3/t/harness.c:608:34: note: Parameter 'user' can be declared as pointer to const libvterm-0.3.3/t/harness.c:767:13: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/t/harness.c:838:13: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/t/harness.c:849:13: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/t/harness.c:916:13: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/t/harness.c:967:15: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/t/harness.c:1053:15: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/t/harness.c:1073:15: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/t/harness.c:1105:15: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/t/harness.c:1142:15: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/t/harness.c:1181:15: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] libvterm-0.3.3/t/harness.c:1193:15: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] diff: DONE