2025-08-30 07:26 ftp://ftp.de.debian.org/debian/pool/main/d/debugedit/debugedit_5.1.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 -j10 platform: Linux-6.14.8-2-pve-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.18.0 head-info: 478055e (2025-08-29 18:53:24 +0200) count: 31 110 elapsed-time: 0.1 1.7 head-timing-info: old-timing-info: head results: debugedit-5.1/tools/debugedit.c:59:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _ELFUTILS_PREREQ( ... ) [preprocessorErrorDirective] debugedit-5.1/tools/debugedit.c:59:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _ELFUTILS_PREREQ( ... ) [preprocessorErrorDirective] debugedit-5.1/tools/sepdebugcrcfix.c:134:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] debugedit-5.1/tools/sepdebugcrcfix.c:219:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EI_DATA [valueFlowBailoutIncompleteVar] debugedit-5.1/tools/sepdebugcrcfix.c:307:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] debugedit-5.1/tools/sepdebugcrcfix.c:323:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] debugedit-5.1/tools/sepdebugcrcfix.c:339:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_CURRENT [valueFlowBailoutIncompleteVar] debugedit-5.1/tools/hashtab.c:188:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] debugedit-5.1/tools/sepdebugcrcfix.c:127:30: warning: If memory allocation fails, then there is a possible null pointer dereference: reldir [nullPointerOutOfMemory] debugedit-5.1/tools/sepdebugcrcfix.c:124:25: note: Assuming allocation function fails debugedit-5.1/tools/sepdebugcrcfix.c:124:25: note: Assignment 'reldir=strdup(base_fname)', assigned value is 0 debugedit-5.1/tools/sepdebugcrcfix.c:127:30: note: Null pointer dereference debugedit-5.1/tools/sepdebugcrcfix.c:127:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] debugedit-5.1/tools/sepdebugcrcfix.c:124:25: note: Assuming allocation function fails debugedit-5.1/tools/sepdebugcrcfix.c:124:25: note: Assignment 'reldir=strdup(base_fname)', assigned value is 0 debugedit-5.1/tools/sepdebugcrcfix.c:127:20: note: Null pointer addition debugedit-5.1/tools/sepdebugcrcfix.c:152:13: style: Variable 'map' can be declared as pointer to const [constVariablePointer] debugedit-5.1/tools/hashtab.c:186:20: error: Array 'prime_tab[30]' accessed at index 30, which is out of bounds. [arrayIndexOutOfBounds] debugedit-5.1/tools/hashtab.c:174:41: note: Assignment 'high=sizeof(prime_tab)/sizeof(prime_tab[0])', assigned value is 30 debugedit-5.1/tools/hashtab.c:179:13: note: Assuming condition is true debugedit-5.1/tools/hashtab.c:176:14: note: Assuming that condition 'low!=high' is not redundant debugedit-5.1/tools/hashtab.c:186:20: note: Array index out of bounds debugedit-5.1/tools/hashtab.c:412:59: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:438:59: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:482:21: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:495:25: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:555:41: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:589:20: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:602:17: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:649:21: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:665:25: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:726:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:738:48: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:744:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/tools/hashtab.c:766:41: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] debugedit-5.1/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.1/tools/hashtab.c:81:27: note: You might need to cast the function pointer here debugedit-5.1/tools/hashtab.c:198:23: note: Parameter 'p1' can be declared as pointer to const debugedit-5.1/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.1/tools/hashtab.c:81:27: note: You might need to cast the function pointer here debugedit-5.1/tools/hashtab.c:198:37: note: Parameter 'p2' can be declared as pointer to const debugedit-5.1/tools/hashtab.c:262:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] debugedit-5.1/tools/hashtab.c:271:27: style: Variable 'p' can be declared as pointer to const [constVariablePointer] debugedit-5.1/tools/hashtab.c:764:11: style: Variable 'x' can be declared as pointer to const [constVariablePointer] debugedit-5.1/tools/hashtab.c:826:24: style: Variable 'str' can be declared as pointer to const [constVariablePointer] diff: 2.18.0 debugedit-5.1/tools/debugedit.c:1127:23: style: Variable 'entry_a' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:1128:23: style: Variable 'entry_b' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:1161:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:1244:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:1245:12: warning: Either the condition 'nname==NULL' is redundant or there is possible null pointer dereference: nname. [nullPointerRedundantCheck] debugedit-5.1/tools/debugedit.c:1243:14: note: Assuming that condition 'nname==NULL' is not redundant debugedit-5.1/tools/debugedit.c:1245:12: note: Null pointer dereference 2.18.0 debugedit-5.1/tools/debugedit.c:1285:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:1304: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.1/tools/debugedit.c:1326:36: note: You might need to cast the function pointer here debugedit-5.1/tools/debugedit.c:1304:30: note: Parameter 'p' can be declared as pointer to const 2.18.0 debugedit-5.1/tools/debugedit.c:1362:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:1381:18: style: Variable 'endsec' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:1381:31: warning: Either the condition 'ptr==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] debugedit-5.1/tools/debugedit.c:1382:11: note: Assuming that condition 'ptr==NULL' is not redundant debugedit-5.1/tools/debugedit.c:1381:31: note: Null pointer addition 2.18.0 debugedit-5.1/tools/debugedit.c:1491:22: style: Variable 'ta' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:1492:22: style: Variable 'tb' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:1530:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:1630:13: style: Condition 't->replace_files' is always true [knownConditionTrueFalse] debugedit-5.1/tools/debugedit.c:1624:12: note: Assuming that condition 't->replace_files' is not redundant debugedit-5.1/tools/debugedit.c:1630:13: note: Condition 't->replace_files' is always true 2.18.0 debugedit-5.1/tools/debugedit.c:1697:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_FORM_line_strp [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:1820:55: style: Parameter 'comp_dir' can be declared as pointer to const [constParameterPointer] 2.18.0 debugedit-5.1/tools/debugedit.c:1853: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.1/tools/debugedit.c:1867:17: style: Variable 'file' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:1888:15: style: Local variable 'file_len' shadows outer variable [shadowVariable] debugedit-5.1/tools/debugedit.c:1868:14: note: Shadowed declaration debugedit-5.1/tools/debugedit.c:1888:15: note: Shadow variable 2.18.0 debugedit-5.1/tools/debugedit.c:1900:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:1995:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:2004:13: style: Variable 'file' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2005:22: style: Variable 'format_ptr' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2123:10: style: Variable 'comp_dir' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2266:41: style: Parameter 'lines' can be declared as pointer to const [constParameterPointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2270:22: style: Variable 'table' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2270: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.1/tools/debugedit.c:2285:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_FORM_line_strp [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:2343:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DW_AT_stmt_list [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:2464:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2467:15: style: Variable 'enddir' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2472:14: warning: If memory allocation fails, then there is a possible null pointer dereference: comp_dir [nullPointerOutOfMemory] debugedit-5.1/tools/debugedit.c:2471:24: note: Assuming allocation function fails debugedit-5.1/tools/debugedit.c:2471:24: note: Assignment 'comp_dir=malloc(enddir-name+1)', assigned value is 0 debugedit-5.1/tools/debugedit.c:2472:14: note: Null pointer dereference 2.18.0 debugedit-5.1/tools/debugedit.c:2473:6: warning: If memory allocation fails, then there is a possible null pointer dereference: comp_dir [nullPointerOutOfMemory] debugedit-5.1/tools/debugedit.c:2471:24: note: Assuming allocation function fails debugedit-5.1/tools/debugedit.c:2471:24: note: Assignment 'comp_dir=malloc(enddir-name+1)', assigned value is 0 debugedit-5.1/tools/debugedit.c:2473:6: note: Null pointer dereference 2.18.0 debugedit-5.1/tools/debugedit.c:2545:13: style: Condition 'size==0' is always true [knownConditionTrueFalse] debugedit-5.1/tools/debugedit.c:2535:16: note: Assuming that condition 'size>0' is not redundant debugedit-5.1/tools/debugedit.c:2545:13: note: Condition 'size==0' is always true 2.18.0 debugedit-5.1/tools/debugedit.c:2574:13: style: Variable 'rela' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2574:37: style: Variable 'relb' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2588:32: style: Variable 'endsec' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2606:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:2609:7: warning: If memory allocation fails, then there is a possible null pointer dereference: cu [nullPointerOutOfMemory] debugedit-5.1/tools/debugedit.c:2604:19: note: Assuming allocation function fails debugedit-5.1/tools/debugedit.c:2604:19: note: Assignment 'cu=malloc(sizeof(struct CU))', assigned value is 0 debugedit-5.1/tools/debugedit.c:2609:7: note: Null pointer dereference 2.18.0 debugedit-5.1/tools/debugedit.c:2664:22: style: Variable 'header_end' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2790:18: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2800:22: style: Variable 'endidxp' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:2812:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHT_REL [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:2850:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_flags [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:2881:6: warning: If memory allocation fails, then there is a possible null pointer dereference: sec [nullPointerOutOfMemory] debugedit-5.1/tools/debugedit.c:2876:19: note: Assuming allocation function fails debugedit-5.1/tools/debugedit.c:2876:19: note: Assignment 'sec=calloc(sizeof(struct debug_section),1)', assigned value is 0 debugedit-5.1/tools/debugedit.c:2881:6: note: Null pointer dereference 2.18.0 debugedit-5.1/tools/debugedit.c:2992:24: style: Variable 'endsec' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:3042:20: style: Local variable 'i' shadows outer variable [shadowVariable] debugedit-5.1/tools/debugedit.c:2839:7: note: Shadowed declaration debugedit-5.1/tools/debugedit.c:3042:20: note: Shadow variable 2.18.0 debugedit-5.1/tools/debugedit.c:3063:15: warning: If memory allocation fails, then there is a possible null pointer dereference: rbuf [nullPointerOutOfMemory] debugedit-5.1/tools/debugedit.c:3036:22: note: Assuming allocation function fails debugedit-5.1/tools/debugedit.c:3036:22: note: Assignment 'rbuf=malloc(rels*sizeof(struct LINE_REL))', assigned value is 0 debugedit-5.1/tools/debugedit.c:3063:15: note: Null pointer dereference 2.18.0 debugedit-5.1/tools/debugedit.c:3066:20: style: Local variable 'i' shadows outer variable [shadowVariable] debugedit-5.1/tools/debugedit.c:2839:7: note: Shadowed declaration debugedit-5.1/tools/debugedit.c:3066:20: note: Shadow variable 2.18.0 debugedit-5.1/tools/debugedit.c:3071:18: warning: If memory allocation fails, then there is a possible null pointer dereference: rbuf [nullPointerOutOfMemory] debugedit-5.1/tools/debugedit.c:3036:22: note: Assuming allocation function fails debugedit-5.1/tools/debugedit.c:3036:22: note: Assignment 'rbuf=malloc(rels*sizeof(struct LINE_REL))', assigned value is 0 debugedit-5.1/tools/debugedit.c:3071:18: note: Null pointer dereference 2.18.0 debugedit-5.1/tools/debugedit.c:3362:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:3370:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:3394:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELF_K_ELF [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:3478:21: style: Checking if unsigned expression 'build_id_size' is less than zero. [unsignedLessThanZero] 2.18.0 debugedit-5.1/tools/debugedit.c:3499:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:3587:9: style: Local variable 'i' shadows outer variable [shadowVariable] debugedit-5.1/tools/debugedit.c:3483:7: note: Shadowed declaration debugedit-5.1/tools/debugedit.c:3587:9: note: Shadow variable 2.18.0 debugedit-5.1/tools/debugedit.c:3624:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:370: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.1/tools/debugedit.c:2969:20: note: You might need to cast the function pointer here debugedit-5.1/tools/debugedit.c:370:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.1/tools/debugedit.c:376: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.1/tools/debugedit.c:2977:20: note: You might need to cast the function pointer here debugedit-5.1/tools/debugedit.c:376:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.1/tools/debugedit.c:3801:8: style: Variable 'data' is reassigned a value before the old one has been used. [redundantAssignment] debugedit-5.1/tools/debugedit.c:3796:8: note: data is assigned debugedit-5.1/tools/debugedit.c:3801:8: note: data is overwritten 2.18.0 debugedit-5.1/tools/debugedit.c:382: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.1/tools/debugedit.c:2970:20: note: You might need to cast the function pointer here debugedit-5.1/tools/debugedit.c:382:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.1/tools/debugedit.c:388: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.1/tools/debugedit.c:2978:20: note: You might need to cast the function pointer here debugedit-5.1/tools/debugedit.c:388:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.1/tools/debugedit.c:3904:19: style: Redundant initialization for 'sec_offset'. The initialized value is overwritten before it is read. [redundantInitialization] debugedit-5.1/tools/debugedit.c:3888:28: note: sec_offset is initialized debugedit-5.1/tools/debugedit.c:3904:19: note: sec_offset is overwritten 2.18.0 debugedit-5.1/tools/debugedit.c:394: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.1/tools/debugedit.c:2971:20: note: You might need to cast the function pointer here debugedit-5.1/tools/debugedit.c:394:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.1/tools/debugedit.c:400: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.1/tools/debugedit.c:2979:20: note: You might need to cast the function pointer here debugedit-5.1/tools/debugedit.c:400:32: note: Parameter 'data' can be declared as pointer to const 2.18.0 debugedit-5.1/tools/debugedit.c:434:34: style: Parameter 'xptr' can be declared as pointer to const [constParameterPointer] 2.18.0 debugedit-5.1/tools/debugedit.c:556:27: style: Variable 'relb' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:556:8: style: Variable 'rela' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:577:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_addr [valueFlowBailoutIncompleteVar] head debugedit-5.1/tools/debugedit.c:59:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _ELFUTILS_PREREQ( ... ) [preprocessorErrorDirective] head debugedit-5.1/tools/debugedit.c:59:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _ELFUTILS_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 debugedit-5.1/tools/debugedit.c:747:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_link [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:750:8: style: Variable 'relptr' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:751:8: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:782:18: style: Variable 'uleb_ptr' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:788:46: style: Parameter 'cu' can be declared as pointer to const [constParameterPointer] 2.18.0 debugedit-5.1/tools/debugedit.c:795:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHT_REL [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:846:22: style: Variable 't' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:854:22: style: Variable 't1' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:855:22: style: Variable 't2' can be declared as pointer to const [constVariablePointer] 2.18.0 debugedit-5.1/tools/debugedit.c:867:39: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] 2.18.0 debugedit-5.1/tools/debugedit.c:878:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] 2.18.0 debugedit-5.1/tools/debugedit.c:974:9: style: Variable 'droot' can be declared as pointer to const [constVariablePointer] DONE