2025-10-29 11:34 ftp://ftp.de.debian.org/debian/pool/main/d/debugedit/debugedit_5.2.orig.tar.xz 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: a8b7e2b (2025-10-29 10:25:50 +0100) count: 30 112 elapsed-time: 0.1 2.1 head-timing-info: old-timing-info: head results: debugedit-5.2/tools/debugedit.c:59:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _ELFUTILS_PREREQ( ... ) [preprocessorErrorDirective] debugedit-5.2/tools/debugedit.c:59:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _ELFUTILS_PREREQ( ... ) [preprocessorErrorDirective] debugedit-5.2/tools/sepdebugcrcfix.c:134:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] debugedit-5.2/tools/sepdebugcrcfix.c:219:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EI_DATA [valueFlowBailoutIncompleteVar] debugedit-5.2/tools/sepdebugcrcfix.c:307:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] debugedit-5.2/tools/sepdebugcrcfix.c:323:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] debugedit-5.2/tools/sepdebugcrcfix.c:339:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_CURRENT [valueFlowBailoutIncompleteVar] debugedit-5.2/tools/hashtab.c:188:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] debugedit-5.2/tools/sepdebugcrcfix.c:127:30: warning: If memory allocation fails, then there is a possible null pointer dereference: reldir [nullPointerOutOfMemory] debugedit-5.2/tools/sepdebugcrcfix.c:124:25: note: Assuming allocation function fails debugedit-5.2/tools/sepdebugcrcfix.c:124:25: note: Assignment 'reldir=strdup(base_fname)', assigned value is 0 debugedit-5.2/tools/sepdebugcrcfix.c:127:30: note: Null pointer dereference debugedit-5.2/tools/sepdebugcrcfix.c:127:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] debugedit-5.2/tools/sepdebugcrcfix.c:124:25: note: Assuming allocation function fails debugedit-5.2/tools/sepdebugcrcfix.c:124:25: note: Assignment 'reldir=strdup(base_fname)', assigned value is 0 debugedit-5.2/tools/sepdebugcrcfix.c:127:20: note: Null pointer addition debugedit-5.2/tools/sepdebugcrcfix.c:152:13: style: Variable 'map' can be declared as pointer to const [constVariablePointer] debugedit-5.2/tools/hashtab.c:412:59: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:438:59: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:482:21: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:495:25: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:555:41: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:589:20: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:602:17: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:649:21: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:665:25: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:726:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:738:48: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:744:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:766:41: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.2/tools/hashtab.c:198:23: style: Parameter 'p1' can be declared as pointer to const. However it seems that 'eq_pointer' is a callback function, if 'p1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] debugedit-5.2/tools/hashtab.c:81:27: note: You might need to cast the function pointer here debugedit-5.2/tools/hashtab.c:198:23: note: Parameter 'p1' can be declared as pointer to const debugedit-5.2/tools/hashtab.c:198:37: style: Parameter 'p2' can be declared as pointer to const. However it seems that 'eq_pointer' is a callback function, if 'p2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] debugedit-5.2/tools/hashtab.c:81:27: note: You might need to cast the function pointer here debugedit-5.2/tools/hashtab.c:198:37: note: Parameter 'p2' can be declared as pointer to const debugedit-5.2/tools/hashtab.c:262:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] debugedit-5.2/tools/hashtab.c:271:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] debugedit-5.2/tools/hashtab.c:764:11: style: Variable 'x' can be declared as pointer to const [constVariablePointer] debugedit-5.2/tools/hashtab.c:826:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] diff: 2.18.0 debugedit-5.2/tools/debugedit.c:1148:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:1160:11: warning: Either the condition 'dummy_str==NULL' is redundant or there is possible null pointer dereference: dummy_str. [nullPointerRedundantCheck] debugedit-5.2/tools/debugedit.c:1158:17: note: Assuming that condition 'dummy_str==NULL' is not redundant debugedit-5.2/tools/debugedit.c:1160:11: note: Null pointer dereference 2.18.0 debugedit-5.2/tools/debugedit.c:1173:23: style: Variable 'entry_a' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:1174:23: style: Variable 'entry_b' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:1207:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:1292:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:1293:12: warning: Either the condition 'nname==NULL' is redundant or there is possible null pointer dereference: nname. [nullPointerRedundantCheck] debugedit-5.2/tools/debugedit.c:1291:14: note: Assuming that condition 'nname==NULL' is not redundant debugedit-5.2/tools/debugedit.c:1293:12: note: Null pointer dereference 2.18.0 debugedit-5.2/tools/debugedit.c:1333:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:1369:30: style: Parameter 'p' can be declared as pointer to const. However it seems that 'free_node' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] debugedit-5.2/tools/debugedit.c:1391:36: note: You might need to cast the function pointer here debugedit-5.2/tools/debugedit.c:1369:30: note: Parameter 'p' can be declared as pointer to const 2.18.0 debugedit-5.2/tools/debugedit.c:1427:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:1446:18: style: Variable 'endsec' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:1446:31: warning: Either the condition 'ptr==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] debugedit-5.2/tools/debugedit.c:1447:11: note: Assuming that condition 'ptr==NULL' is not redundant debugedit-5.2/tools/debugedit.c:1446:31: note: Null pointer addition 2.18.0 debugedit-5.2/tools/debugedit.c:1556:22: style: Variable 'ta' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:1557:22: style: Variable 'tb' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:1595:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:1695:13: style: Condition 't->replace_files' is always true [knownConditionTrueFalse] debugedit-5.2/tools/debugedit.c:1689:12: note: Assuming that condition 't->replace_files' is not redundant debugedit-5.2/tools/debugedit.c:1695:13: note: Condition 't->replace_files' is always true 2.18.0 debugedit-5.2/tools/debugedit.c:1762:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_FORM_line_strp [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:1885:55: style: Parameter 'comp_dir' can be declared as pointer to const [constParameterPointer] 2.18.0 debugedit-5.2/tools/debugedit.c:1918:29: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 debugedit-5.2/tools/debugedit.c:1932:17: style: Variable 'file' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:1953:15: style: Local variable 'file_len' shadows outer variable [shadowVariable] debugedit-5.2/tools/debugedit.c:1933:14: note: Shadowed declaration debugedit-5.2/tools/debugedit.c:1953:15: note: Shadow variable 2.18.0 debugedit-5.2/tools/debugedit.c:1965:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:2060:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:2069:13: style: Variable 'file' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2070:22: style: Variable 'format_ptr' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2188:10: style: Variable 'comp_dir' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2331:41: style: Parameter 'lines' can be declared as pointer to const [constParameterPointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2335:22: style: Variable 'table' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2335:39: error: Uninitialized variables: &key.cu, &key.new_idx, &key.size_diff, &key.replace_dirs, &key.replace_files, &key.unit_length, &key.version, &key.header_length, &key.min_instr_len, &key.max_op_per_instr, &key.default_is_stmt, &key.line_base, &key.line_range, &key.opcode_base [uninitvar] 2.18.0 debugedit-5.2/tools/debugedit.c:2350:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_FORM_line_strp [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:2408:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_AT_stmt_list [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:2529:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2532:15: style: Variable 'enddir' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2537:14: warning: If memory allocation fails, then there is a possible null pointer dereference: comp_dir [nullPointerOutOfMemory] debugedit-5.2/tools/debugedit.c:2536:24: note: Assuming allocation function fails debugedit-5.2/tools/debugedit.c:2536:24: note: Assignment 'comp_dir=malloc(enddir-name+1)', assigned value is 0 debugedit-5.2/tools/debugedit.c:2537:14: note: Null pointer dereference 2.18.0 debugedit-5.2/tools/debugedit.c:2538:6: warning: If memory allocation fails, then there is a possible null pointer dereference: comp_dir [nullPointerOutOfMemory] debugedit-5.2/tools/debugedit.c:2536:24: note: Assuming allocation function fails debugedit-5.2/tools/debugedit.c:2536:24: note: Assignment 'comp_dir=malloc(enddir-name+1)', assigned value is 0 debugedit-5.2/tools/debugedit.c:2538:6: note: Null pointer dereference 2.18.0 debugedit-5.2/tools/debugedit.c:2610:13: style: Condition 'size==0' is always true [knownConditionTrueFalse] debugedit-5.2/tools/debugedit.c:2600:16: note: Assuming that condition 'size>0' is not redundant debugedit-5.2/tools/debugedit.c:2610:13: note: Condition 'size==0' is always true 2.18.0 debugedit-5.2/tools/debugedit.c:2639:13: style: Variable 'rela' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2639:37: style: Variable 'relb' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2653:32: style: Variable 'endsec' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2671:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:2674:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cu [nullPointerOutOfMemory] debugedit-5.2/tools/debugedit.c:2669:19: note: Assuming allocation function fails debugedit-5.2/tools/debugedit.c:2669:19: note: Assignment 'cu=malloc(sizeof(struct CU))', assigned value is 0 debugedit-5.2/tools/debugedit.c:2674:7: note: Null pointer dereference 2.18.0 debugedit-5.2/tools/debugedit.c:2729:22: style: Variable 'header_end' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2855:18: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2866:22: style: Variable 'endidxp' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:2879:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHT_REL [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:2924:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_flags [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:2955:6: warning: If memory allocation fails, then there is a possible null pointer dereference: sec [nullPointerOutOfMemory] debugedit-5.2/tools/debugedit.c:2950:19: note: Assuming allocation function fails debugedit-5.2/tools/debugedit.c:2950:19: note: Assignment 'sec=calloc(sizeof(struct debug_section),1)', assigned value is 0 debugedit-5.2/tools/debugedit.c:2955:6: note: Null pointer dereference 2.18.0 debugedit-5.2/tools/debugedit.c:3069:24: style: Variable 'endsec' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:3119:20: style: Local variable 'i' shadows outer variable [shadowVariable] debugedit-5.2/tools/debugedit.c:2913:7: note: Shadowed declaration debugedit-5.2/tools/debugedit.c:3119:20: note: Shadow variable 2.18.0 debugedit-5.2/tools/debugedit.c:3140:15: warning: If memory allocation fails, then there is a possible null pointer dereference: rbuf [nullPointerOutOfMemory] debugedit-5.2/tools/debugedit.c:3113:22: note: Assuming allocation function fails debugedit-5.2/tools/debugedit.c:3113:22: note: Assignment 'rbuf=malloc(rels*sizeof(struct LINE_REL))', assigned value is 0 debugedit-5.2/tools/debugedit.c:3140:15: note: Null pointer dereference 2.18.0 debugedit-5.2/tools/debugedit.c:3143:20: style: Local variable 'i' shadows outer variable [shadowVariable] debugedit-5.2/tools/debugedit.c:2913:7: note: Shadowed declaration debugedit-5.2/tools/debugedit.c:3143:20: note: Shadow variable 2.18.0 debugedit-5.2/tools/debugedit.c:3148:18: warning: If memory allocation fails, then there is a possible null pointer dereference: rbuf [nullPointerOutOfMemory] debugedit-5.2/tools/debugedit.c:3113:22: note: Assuming allocation function fails debugedit-5.2/tools/debugedit.c:3113:22: note: Assignment 'rbuf=malloc(rels*sizeof(struct LINE_REL))', assigned value is 0 debugedit-5.2/tools/debugedit.c:3148:18: note: Null pointer dereference 2.18.0 debugedit-5.2/tools/debugedit.c:3453:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:3461:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:3485:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELF_K_ELF [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:3569:21: style: Checking if unsigned expression 'build_id_size' is less than zero. [unsignedLessThanZero] 2.18.0 debugedit-5.2/tools/debugedit.c:3590:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:3678:9: style: Local variable 'i' shadows outer variable [shadowVariable] debugedit-5.2/tools/debugedit.c:3574:7: note: Shadowed declaration debugedit-5.2/tools/debugedit.c:3678:9: note: Shadow variable 2.18.0 debugedit-5.2/tools/debugedit.c:3715:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:380:32: style: Parameter 'data' can be declared as pointer to const. However it seems that 'buf_read_ule16' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] debugedit-5.2/tools/debugedit.c:3046:20: note: You might need to cast the function pointer here debugedit-5.2/tools/debugedit.c:380:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.2/tools/debugedit.c:386:32: style: Parameter 'data' can be declared as pointer to const. However it seems that 'buf_read_ube16' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] debugedit-5.2/tools/debugedit.c:3054:20: note: You might need to cast the function pointer here debugedit-5.2/tools/debugedit.c:386:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.2/tools/debugedit.c:3896:8: style: Variable 'data' is reassigned a value before the old one has been used. [redundantAssignment] debugedit-5.2/tools/debugedit.c:3891:8: note: data is assigned debugedit-5.2/tools/debugedit.c:3896:8: note: data is overwritten 2.18.0 debugedit-5.2/tools/debugedit.c:392:32: style: Parameter 'data' can be declared as pointer to const. However it seems that 'buf_read_ule24' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] debugedit-5.2/tools/debugedit.c:3047:20: note: You might need to cast the function pointer here debugedit-5.2/tools/debugedit.c:392:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.2/tools/debugedit.c:398:32: style: Parameter 'data' can be declared as pointer to const. However it seems that 'buf_read_ube24' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] debugedit-5.2/tools/debugedit.c:3055:20: note: You might need to cast the function pointer here debugedit-5.2/tools/debugedit.c:398:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.2/tools/debugedit.c:3999:19: style: Redundant initialization for 'sec_offset'. The initialized value is overwritten before it is read. [redundantInitialization] debugedit-5.2/tools/debugedit.c:3983:28: note: sec_offset is initialized debugedit-5.2/tools/debugedit.c:3999:19: note: sec_offset is overwritten 2.18.0 debugedit-5.2/tools/debugedit.c:404:32: style: Parameter 'data' can be declared as pointer to const. However it seems that 'buf_read_ule32' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] debugedit-5.2/tools/debugedit.c:3048:20: note: You might need to cast the function pointer here debugedit-5.2/tools/debugedit.c:404:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.2/tools/debugedit.c:410:32: style: Parameter 'data' can be declared as pointer to const. However it seems that 'buf_read_ube32' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] debugedit-5.2/tools/debugedit.c:3056:20: note: You might need to cast the function pointer here debugedit-5.2/tools/debugedit.c:410:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.2/tools/debugedit.c:444:34: style: Parameter 'xptr' can be declared as pointer to const [constParameterPointer] 2.18.0 debugedit-5.2/tools/debugedit.c:566:27: style: Variable 'relb' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:566:8: style: Variable 'rela' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:587:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_addr [valueFlowBailoutIncompleteVar] head debugedit-5.2/tools/debugedit.c:59:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _ELFUTILS_PREREQ( ... ) [preprocessorErrorDirective] head debugedit-5.2/tools/debugedit.c:59:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _ELFUTILS_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 debugedit-5.2/tools/debugedit.c:767:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_link [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:770:8: style: Variable 'relptr' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:771:8: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:802:18: style: Variable 'uleb_ptr' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:808:46: style: Parameter 'cu' can be declared as pointer to const [constParameterPointer] 2.18.0 debugedit-5.2/tools/debugedit.c:815:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHT_REL [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:866:22: style: Variable 't' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:874:22: style: Variable 't1' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:875:22: style: Variable 't2' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/debugedit.c:887:39: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] 2.18.0 debugedit-5.2/tools/debugedit.c:898:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.2/tools/debugedit.c:994:9: style: Variable 'droot' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.2/tools/hashtab.c:186:20: error: Array 'prime_tab[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] debugedit-5.2/tools/hashtab.c:174:41: note: Assignment 'high=sizeof(prime_tab)/sizeof(prime_tab[0])', assigned value is 30 debugedit-5.2/tools/hashtab.c:179:13: note: Assuming condition is true debugedit-5.2/tools/hashtab.c:176:14: note: Assuming that condition 'low!=high' is not redundant debugedit-5.2/tools/hashtab.c:186:20: note: Array index out of bounds DONE