kf6-kcodecs-6.8.0-1.fc42

List of Findings

Error: COMPILER_WARNING: [#def1]
kf6-kcodecs-6.8.0-build/kcodecs-6.8.0/src/kcharsets.cpp:14: included_from: Included from here.
kf6-kcodecs-6.8.0-build/kcodecs-6.8.0/src/kentities.gperf: scope_hint: In static member function ‘static const entity* KCodecsEntities::kde_findEntity(const char*, size_t)’
kf6-kcodecs-6.8.0-build/kcodecs-6.8.0/src/kentities.gperf:408:10: warning[-Wzero-as-null-pointer-constant]: zero as null pointer constant

Error: COMPILER_WARNING (CWE-9001): [#def2]
kf6-kcodecs-6.8.0-build/kcodecs-6.8.0/src/probers/LangBulgarianModel.cpp:148:39: warning[-Wattributes]: ‘visibility’ attribute ignored
#  148 | const SequenceModel KCODECS_NO_EXPORT Latin5BulgarianModel = {Latin5_BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "ISO-8859-5"};
#      |                                       ^~~~~~~~~~~~~~~~~~~~
#  146|   };
#  147|   
#  148|-> const SequenceModel KCODECS_NO_EXPORT Latin5BulgarianModel = {Latin5_BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "ISO-8859-5"};
#  149|   
#  150|   const SequenceModel KCODECS_NO_EXPORT Win1251BulgarianModel = {win1251BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "windows-1251"};

Error: COMPILER_WARNING (CWE-9001): [#def3]
kf6-kcodecs-6.8.0-build/kcodecs-6.8.0/src/probers/LangBulgarianModel.cpp:150:39: warning[-Wattributes]: ‘visibility’ attribute ignored
#  150 | const SequenceModel KCODECS_NO_EXPORT Win1251BulgarianModel = {win1251BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "windows-1251"};
#      |                                       ^~~~~~~~~~~~~~~~~~~~~
#  148|   const SequenceModel KCODECS_NO_EXPORT Latin5BulgarianModel = {Latin5_BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "ISO-8859-5"};
#  149|   
#  150|-> const SequenceModel KCODECS_NO_EXPORT Win1251BulgarianModel = {win1251BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "windows-1251"};
#  151|   }

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-186.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namekf6-kcodecs-6.8.0-1.fc42
store-results-to/tmp/tmpwsqij17w/kf6-kcodecs-6.8.0-1.fc42.tar.xz
time-created2024-11-13 00:41:27
time-finished2024-11-13 00:43:17
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpwsqij17w/kf6-kcodecs-6.8.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpwsqij17w/kf6-kcodecs-6.8.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9