Error: COMPILER_WARNING: [#def1] hunspell-1.7.3/src/hunspell/affentry.cxx: scope_hint: In member function 'PfxEntry::~PfxEntry()' hunspell-1.7.3/src/hunspell/affentry.cxx:869:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.3/src/hunspell/.libs/affentry.gcda' profile count data file not found # 869 | } # | ^ # 867| rappnd = appnd; # 868| reverseword(rappnd); # 869|-> } # 870| # 871| #if 0 Error: COMPILER_WARNING: [#def2] hunspell-1.7.3/src/hunspell/affixmgr.cxx: scope_hint: In function 'std::__advance<w_char*, long>(w_char*&, long, std::random_access_iterator_tag)void' hunspell-1.7.3/src/hunspell/affixmgr.cxx:4824:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.3/src/hunspell/.libs/affixmgr.gcda' profile count data file not found # 4824 | } # | ^ # 4822| } # 4823| return slst; # 4824|-> } Error: COMPILER_WARNING: [#def3] hunspell-1.7.3/src/hunspell/csutil.cxx: scope_hint: In function 'std::__advance<w_char*, long>(w_char*&, long, std::random_access_iterator_tag)void' hunspell-1.7.3/src/hunspell/csutil.cxx:2659:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.3/src/hunspell/.libs/csutil.gcda' profile count data file not found # 2659 | } # | ^ # 2657| } # 2658| return true; # 2659|-> } Error: COMPILER_WARNING: [#def4] hunspell-1.7.3/src/hunspell/filemgr.cxx: scope_hint: In member function 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)' hunspell-1.7.3/src/hunspell/filemgr.cxx:121:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.3/src/hunspell/.libs/filemgr.gcda' profile count data file not found # 121 | } # | ^ # 119| int FileMgr::getlinenum() { # 120| return linenum; # 121|-> } Error: COMPILER_WARNING: [#def5] hunspell-1.7.3/src/hunspell/hashmgr.cxx: scope_hint: In function 'std::__copy_move_backward_a2<true, unsigned short*, unsigned short*>(unsigned short*, unsigned short*, unsigned short*)unsigned short*' hunspell-1.7.3/src/hunspell/hashmgr.cxx:1414:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.3/src/hunspell/.libs/hashmgr.gcda' profile count data file not found # 1414 | } # | ^ # 1412| const std::vector<replentry>& HashMgr::get_reptable() const { # 1413| return reptable; # 1414|-> } Error: COMPILER_WARNING: [#def6] hunspell-1.7.3/src/hunspell/hunspell.cxx: scope_hint: In function 'std::__advance<w_char*, long>(w_char*&, long, std::random_access_iterator_tag)void' hunspell-1.7.3/src/hunspell/hunspell.cxx:2384:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.3/src/hunspell/.libs/hunspell.gcda' profile count data file not found # 2384 | } # | ^ # 2382| void Hunspell_free_list(Hunhandle* pHunspell, char*** list, int n) { # 2383| reinterpret_cast<HunspellImpl*>(pHunspell)->free_list(list, n); # 2384|-> } Error: CPPCHECK_WARNING (CWE-457): [#def7] hunspell-1.7.3/src/hunspell/hunzip.cxx:264: warning[uninitvar]: Uninitialized variable: linebuf # 262| # 263| // copy into line with left-offset from previous line preserved # 264|-> if (left + strlen(linebuf) >= sizeof(line)) # 265| return false; # 266| strcpy(line + left, linebuf); Error: COMPILER_WARNING: [#def8] hunspell-1.7.3/src/hunspell/hunzip.cxx: scope_hint: In member function 'std::__new_allocator<bit>::allocate(unsigned long, void const*)' hunspell-1.7.3/src/hunspell/hunzip.cxx:269:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.3/src/hunspell/.libs/hunzip.gcda' profile count data file not found # 269 | } # | ^ # 267| dest.assign(line); # 268| return true; # 269|-> } Error: COMPILER_WARNING: [#def9] hunspell-1.7.3/src/hunspell/phonet.cxx: scope_hint: In function 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_move(char*, char const*, unsigned long)' hunspell-1.7.3/src/hunspell/phonet.cxx:260:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.3/src/hunspell/.libs/phonet.gcda' profile count data file not found # 260 | } /** end of function "phonet" **/ # | ^ # 258| # 259| return target; # 260|-> } /** end of function "phonet" **/ Error: COMPILER_WARNING: [#def10] hunspell-1.7.3/src/hunspell/replist.cxx: scope_hint: In member function 'std::__new_allocator<replentry*>::allocate(unsigned long, void const*)' hunspell-1.7.3/src/hunspell/replist.cxx:205:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.3/src/hunspell/.libs/replist.gcda' profile count data file not found # 205 | } # | ^ # 203| # 204| return true; # 205|-> } Error: COMPILER_WARNING: [#def11] hunspell-1.7.3/src/hunspell/suggestmgr.cxx: scope_hint: In function 'std::__advance<w_char*, long>(w_char*&, long, std::random_access_iterator_tag)void' hunspell-1.7.3/src/hunspell/suggestmgr.cxx:2323:1: warning[-Wmissing-profile]: '/builddir/build/BUILD/hunspell-1.7.3/src/hunspell/.libs/suggestmgr.gcda' profile count data file not found # 2323 | } # | ^ # 2321| int SuggestMgr::lcslen(const std::string& s, const std::string& s2) { # 2322| return lcslen(s.c_str(), s2.c_str()); # 2323|-> } Error: COMPILER_WARNING (CWE-252): [#def12] hunspell-1.7.3/src/tools/hunspell.cxx: scope_hint: In function ‘void interactive_interface(Hunspell**, char*, int)’ hunspell-1.7.3/src/tools/hunspell.cxx:1635:19: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ # 1635 | (void)system((std::string("rmdir \"") + odftmpdir + "\"").c_str()); # | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 1633| fprintf(stderr, gettext("Can't open %s.\n"), filename); # 1634| endwin(); # 1635|-> (void)system((std::string("rmdir \"") + odftmpdir + "\"").c_str()); # 1636| exit(1); # 1637| } Error: COMPILER_WARNING (CWE-252): [#def13] hunspell-1.7.3/src/tools/hunspell.cxx:1647:19: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ # 1647 | (void)system((std::string("rmdir \"") + odftmpdir + "\"").c_str()); # | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 1645| perror(gettext("Can't open inputfile")); # 1646| endwin(); # 1647|-> (void)system((std::string("rmdir \"") + odftmpdir + "\"").c_str()); # 1648| exit(1); # 1649| } Error: COMPILER_WARNING (CWE-252): [#def14] hunspell-1.7.3/src/tools/hunspell.cxx:1658:19: warning[-Wunused-result]: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ # 1658 | (void)system((std::string("rmdir \"") + odftmpdir + "\"").c_str()); # | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 1656| perror(gettext("Can't open inputfile")); # 1657| endwin(); # 1658|-> (void)system((std::string("rmdir \"") + odftmpdir + "\"").c_str()); # 1659| exit(1); # 1660| } Error: CPPCHECK_WARNING (CWE-476): [#def15] hunspell-1.7.3/src/tools/munch.cxx:608: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hp # 606| # 607| hp->word = word; # 608|-> hp->affstr = nullptr; # 609| hp->keep = 0; # 610| hp->next = nullptr; Error: CPPCHECK_WARNING (CWE-476): [#def16] hunspell-1.7.3/src/tools/munch.cxx:610: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: hp # 608| hp->affstr = nullptr; # 609| hp->keep = 0; # 610|-> hp->next = nullptr; # 611| # 612| i = hash(word); Error: COMPILER_WARNING: [#def17] hunspell-1.7.3/src/tools/persdiccrash.cxx: scope_hint: In member function ‘std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose()’ hunspell-1.7.3/src/tools/persdiccrash.cxx:22:1: warning[-Wmissing-profile]: ‘/builddir/build/BUILD/hunspell-1.7.3/src/tools/persdiccrash.gcda’ profile count data file not found # 22 | } # | ^ # 20| # 21| return 0; # 22|-> }
| analyzer-version-clippy | 1.97.1 |
| analyzer-version-cppcheck | 2.21.1 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.97.1 |
| diffbase-analyzer-version-cppcheck | 2.21.1 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-104.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | hunspell-1.7.2-11.fc44 |
| diffbase-store-results-to | /tmp/tmpne1d2opb/hunspell-1.7.2-11.fc44.tar.xz |
| diffbase-time-created | 2026-08-03 15:07:00 |
| diffbase-time-finished | 2026-08-03 15:10:13 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpne1d2opb/hunspell-1.7.2-11.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpne1d2opb/hunspell-1.7.2-11.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-104.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | hunspell-1.7.3-2.fc45 |
| store-results-to | /tmp/tmpwuiwamci/hunspell-1.7.3-2.fc45.tar.xz |
| time-created | 2026-08-03 15:10:25 |
| time-finished | 2026-08-03 15:12:56 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpwuiwamci/hunspell-1.7.3-2.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpwuiwamci/hunspell-1.7.3-2.fc45.src.rpm' |
| tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |