2022-06-28 20:46 ftp://ftp.de.debian.org/debian/pool/main/i/intel-processor-trace/intel-processor-trace_2.0.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.25 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: f8b7964 (2022-06-28 22:43:34 +0200) count: 87 87 elapsed-time: 12.8 16.3 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: libipt-2.0.5/libipt/src/posix/pt_section_posix.c:117:22: warning: Either the condition 'page_size<0' is redundant or there is division by zero at line 117. [zerodivcond] libipt-2.0.5/libipt/src/posix/pt_section_posix.c:114:16: note: Assuming that condition 'page_size<0' is not redundant libipt-2.0.5/libipt/src/posix/pt_section_posix.c:117:22: note: Division by zero libipt-2.0.5/libipt/src/pt_image.c:263:64: style: Parameter 'section' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/src/pt_last_ip.c:75:23: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libipt-2.0.5/libipt/src/pt_image_section_cache.c:94:66: style: Parameter 'iscache' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/src/pt_image_section_cache.c:112:68: style: Parameter 'iscache' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/src/pt_packet.c:475:45: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libipt-2.0.5/libipt/src/pt_packet.c:573:35: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libipt-2.0.5/libipt/src/pt_packet_decoder.c:246:41: error: Uninitialized variable: &pkt [uninitvar] libipt-2.0.5/libipt/src/pt_packet_decoder.c:243:14: note: Assuming condition is false libipt-2.0.5/libipt/src/pt_packet_decoder.c:246:41: note: Uninitialized variable: &pkt libipt-2.0.5/libipt/src/pt_block_decoder.c:1815:27: style: Condition '(uint8_t)bce.isize!=insn.size' is always false [knownConditionTrueFalse] libipt-2.0.5/libipt/src/pt_block_decoder.c:1812:13: note: bce.isize is assigned 'insn.size' here. libipt-2.0.5/libipt/src/pt_block_decoder.c:1815:27: note: Condition '(uint8_t)bce.isize!=insn.size' is always false libipt-2.0.5/libipt/src/pt_block_decoder.c:2033:48: style: Condition '(int64_t)bce.displacement!=disp' is always false [knownConditionTrueFalse] libipt-2.0.5/libipt/src/pt_block_decoder.c:2007:7: note: disp is assigned '(int64_t)(dip-insn.ip)' here. libipt-2.0.5/libipt/src/pt_block_decoder.c:2017:6: note: Assuming condition is false libipt-2.0.5/libipt/src/pt_block_decoder.c:2026:21: note: Assignment 'bce.displacement=(int32_t)disp', assigned value is symbolic=disp libipt-2.0.5/libipt/src/pt_block_decoder.c:2033:48: note: Condition '(int64_t)bce.displacement!=disp' is always false libipt-2.0.5/libipt/src/pt_section.c:115:40: style: Parameter 'section' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/src/pt_section.c:133:42: style: Parameter 'section' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/src/pt_section.c:221:54: style: Parameter 'section' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/src/pt_section.c:239:56: style: Parameter 'section' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/src/pt_section.c:304:40: style: Parameter 'iscache' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/src/pt_block_decoder.c:3045:44: error: Uninitialized variable: &block [uninitvar] libipt-2.0.5/libipt/src/pt_block_decoder.c:3042:15: note: Assuming condition is false libipt-2.0.5/libipt/src/pt_block_decoder.c:3045:44: note: Uninitialized variable: &block libipt-2.0.5/libipt/src/pt_section_file.c:129:23: style: Condition '(uint64_t)begin!=offset' is always false [knownConditionTrueFalse] libipt-2.0.5/libipt/src/pt_section_file.c:122:9: note: offset is assigned 'section->offset' here. libipt-2.0.5/libipt/src/pt_section_file.c:125:10: note: Assignment 'begin=(long)offset', assigned value is symbolic=offset libipt-2.0.5/libipt/src/pt_section_file.c:129:23: note: Condition '(uint64_t)begin!=offset' is always false libipt-2.0.5/libipt/src/pt_section_file.c:72:50: style: Parameter 'mapping' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/src/pt_section_file.c:90:52: style: Parameter 'mapping' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/test/src/ptunit-mapped_section.c:143:11: style: Local variable 'offset' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-mapped_section.c:64:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-mapped_section.c:143:11: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-image.c:512:14: style: Local variable 'name' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-image.c:497:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-image.c:512:14: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-image.c:524:14: style: Local variable 'name' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-image.c:497:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-image.c:524:14: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-image.c:360:47: style: Parameter 'section' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:640:14: style: Local variable 'name' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:749:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:640:14: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:763:14: style: Local variable 'name' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:749:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:763:14: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:137:47: style: Parameter 'section' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:155:49: style: Parameter 'section' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:173:54: style: Parameter 'section' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:191:56: style: Parameter 'section' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:306:40: style: Parameter 'iscache' can be declared as pointer to const [constParameter] libipt-2.0.5/libipt/test/src/ptunit-section.c:986:7: style: Local variable 'read' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-section.c:713:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-section.c:986:7: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-time.c:161:11: style: Local variable 'tsc' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-time.c:273:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-time.c:161:11: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-time.c:175:11: style: Local variable 'tsc' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-time.c:273:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-time.c:175:11: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-time.c:186:11: style: Local variable 'cbr' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-time.c:295:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-time.c:186:11: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-time.c:200:11: style: Local variable 'cbr' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-time.c:295:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-time.c:200:11: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-time.c:344:11: style: Local variable 'tsc' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-time.c:273:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-time.c:344:11: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-time.c:361:16: style: Local variable 'tsc' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-time.c:273:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-time.c:361:16: note: Shadow variable libipt-2.0.5/pevent/src/pevent.c:455:71: style: Parameter 'end' can be declared as pointer to const [constParameter] libipt-2.0.5/pevent/test/src/ptunit-pevent.c:343:33: style: Local variable 'itrace_start' shadows outer function [shadowFunction] libipt-2.0.5/pevent/test/src/ptunit-pevent.c:641:29: note: Shadowed declaration libipt-2.0.5/pevent/test/src/ptunit-pevent.c:343:33: note: Shadow variable libipt-2.0.5/pevent/test/src/ptunit-pevent.c:523:29: style: Local variable 'throttle' shadows outer function [shadowFunction] libipt-2.0.5/pevent/test/src/ptunit-pevent.c:497:29: note: Shadowed declaration libipt-2.0.5/pevent/test/src/ptunit-pevent.c:523:29: note: Shadow variable libipt-2.0.5/pevent/test/src/ptunit-pevent.c:53:12: style: struct member 'Anonymous0::tsc' is never used. [unusedStructMember] libipt-2.0.5/pevent/test/src/ptunit-pevent.c:395:8: style: union member 'Anonymous3::buffer' is never used. [unusedStructMember] libipt-2.0.5/pevent/test/src/ptunit-pevent.c:448:8: style: union member 'Anonymous4::buffer' is never used. [unusedStructMember] libipt-2.0.5/pevent/test/src/ptunit-pevent.c:576:8: style: union member 'Anonymous5::buffer' is never used. [unusedStructMember] libipt-2.0.5/pttc/src/main.c:53:26: style: Parameter 'argv' can be declared as const array [constParameter] libipt-2.0.5/libipt/test/src/ptunit-query.c:2109:11: style: Local variable 'cbr' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-query.c:2136:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-query.c:2109:11: note: Shadow variable libipt-2.0.5/libipt/test/src/ptunit-query.c:2127:11: style: Local variable 'cbr' shadows outer function [shadowFunction] libipt-2.0.5/libipt/test/src/ptunit-query.c:2136:29: note: Shadowed declaration libipt-2.0.5/libipt/test/src/ptunit-query.c:2127:11: note: Shadow variable libipt-2.0.5/pttc/src/yasm.c:86:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/yasm.c:101:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/yasm.c:113:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/yasm.c:149:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/yasm.c:221:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/yasm.c:230:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/yasm.c:239:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/yasm.c:279:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/yasm.c:296:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/yasm.c:308:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/yasm.c:313:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/ptunit/test/src/ptunit-selftest.c:333:4: error: Null pointer dereference: (volatile int*)NULL [nullPointer] libipt-2.0.5/ptunit/test/src/ptunit-selftest.c:38:46: style: Local variable 'null' shadows outer variable [shadowVariable] libipt-2.0.5/ptunit/test/src/ptunit-selftest.c:113:29: note: Shadowed declaration libipt-2.0.5/ptunit/test/src/ptunit-selftest.c:38:46: note: Shadow variable libipt-2.0.5/sideband/src/pt_sb_session.c:209:27: style: Parameter 'context' can be declared as pointer to const [constParameter] libipt-2.0.5/ptdump/src/ptdump.c:925:23: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] libipt-2.0.5/ptdump/src/ptdump.c:508:58: style: Parameter 'tracking' can be declared as pointer to const [constParameter] libipt-2.0.5/ptdump/src/ptdump.c:1647:28: style: Parameter 'tracking' can be declared as pointer to const [constParameter] libipt-2.0.5/pttc/src/parse.c:607:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:615:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:624:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:900:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:991:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:999:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:1015:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:1034:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:1041:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:1055:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:1068:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:1081:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:2679:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:2753:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:2765:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:2785:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:2799:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:2817:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:2835:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:2853:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:2872:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:2885:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libipt-2.0.5/pttc/src/parse.c:2899:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] diff: head libipt-2.0.5/libipt/src/pt_image.c:263:64: style: Parameter 'section' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/src/pt_image.c:263:64: style: Parameter 'section' can be declared with const [constParameter] head libipt-2.0.5/libipt/src/pt_image_section_cache.c:112:68: style: Parameter 'iscache' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/src/pt_image_section_cache.c:112:68: style: Parameter 'iscache' can be declared with const [constParameter] head libipt-2.0.5/libipt/src/pt_image_section_cache.c:94:66: style: Parameter 'iscache' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/src/pt_image_section_cache.c:94:66: style: Parameter 'iscache' can be declared with const [constParameter] head libipt-2.0.5/libipt/src/pt_section.c:115:40: style: Parameter 'section' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/src/pt_section.c:115:40: style: Parameter 'section' can be declared with const [constParameter] head libipt-2.0.5/libipt/src/pt_section.c:133:42: style: Parameter 'section' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/src/pt_section.c:133:42: style: Parameter 'section' can be declared with const [constParameter] head libipt-2.0.5/libipt/src/pt_section.c:221:54: style: Parameter 'section' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/src/pt_section.c:221:54: style: Parameter 'section' can be declared with const [constParameter] head libipt-2.0.5/libipt/src/pt_section.c:239:56: style: Parameter 'section' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/src/pt_section.c:239:56: style: Parameter 'section' can be declared with const [constParameter] head libipt-2.0.5/libipt/src/pt_section.c:304:40: style: Parameter 'iscache' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/src/pt_section.c:304:40: style: Parameter 'iscache' can be declared with const [constParameter] head libipt-2.0.5/libipt/src/pt_section_file.c:72:50: style: Parameter 'mapping' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/src/pt_section_file.c:72:50: style: Parameter 'mapping' can be declared with const [constParameter] head libipt-2.0.5/libipt/src/pt_section_file.c:90:52: style: Parameter 'mapping' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/src/pt_section_file.c:90:52: style: Parameter 'mapping' can be declared with const [constParameter] head libipt-2.0.5/libipt/test/src/ptunit-image.c:360:47: style: Parameter 'section' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/test/src/ptunit-image.c:360:47: style: Parameter 'section' can be declared with const [constParameter] head libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:137:47: style: Parameter 'section' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:137:47: style: Parameter 'section' can be declared with const [constParameter] head libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:155:49: style: Parameter 'section' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:155:49: style: Parameter 'section' can be declared with const [constParameter] head libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:173:54: style: Parameter 'section' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:173:54: style: Parameter 'section' can be declared with const [constParameter] head libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:191:56: style: Parameter 'section' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:191:56: style: Parameter 'section' can be declared with const [constParameter] head libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:306:40: style: Parameter 'iscache' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/libipt/test/src/ptunit-image_section_cache.c:306:40: style: Parameter 'iscache' can be declared with const [constParameter] head libipt-2.0.5/pevent/src/pevent.c:455:71: style: Parameter 'end' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/pevent/src/pevent.c:455:71: style: Parameter 'end' can be declared with const [constParameter] head libipt-2.0.5/ptdump/src/ptdump.c:1647:28: style: Parameter 'tracking' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/ptdump/src/ptdump.c:1647:28: style: Parameter 'tracking' can be declared with const [constParameter] head libipt-2.0.5/ptdump/src/ptdump.c:508:58: style: Parameter 'tracking' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/ptdump/src/ptdump.c:508:58: style: Parameter 'tracking' can be declared with const [constParameter] head libipt-2.0.5/pttc/src/main.c:53:26: style: Parameter 'argv' can be declared as const array [constParameter] 2.8 libipt-2.0.5/pttc/src/main.c:53:26: style: Parameter 'argv' can be declared with const [constParameter] head libipt-2.0.5/sideband/src/pt_sb_session.c:209:27: style: Parameter 'context' can be declared as pointer to const [constParameter] 2.8 libipt-2.0.5/sideband/src/pt_sb_session.c:209:27: style: Parameter 'context' can be declared with const [constParameter] DONE