Error: CLANG_WARNING: [#def1] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/hb-subset-repacker.cc:25: included_from: Included from here. harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/hb-repacker.hh:34: included_from: Included from here. harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/graph/gsubgpos-graph.hh:31: included_from: Included from here. harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/graph/pairpos-graph.hh:285:9: warning[deadcode.DeadStores]: Value stored to 'class_def_1_size' is never read # 283| # 284| estimator.reset(); # 285|-> class_def_1_size = estimator.add_class_def_size(i); # 286| coverage_size = estimator.coverage_size(); # 287| visited.clear (); // node sharing isn't allowed between splits. Error: CLANG_WARNING: [#def2] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/graph/pairpos-graph.hh:286:9: warning[deadcode.DeadStores]: Value stored to 'coverage_size' is never read # 284| estimator.reset(); # 285| class_def_1_size = estimator.add_class_def_size(i); # 286|-> coverage_size = estimator.coverage_size(); # 287| visited.clear (); // node sharing isn't allowed between splits. # 288| } Error: CPPCHECK_WARNING (CWE-686): [#def3] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/hb-map.hh:67: error[memsetClass]: Using 'memcpy' on struct that contains a 'std::string'. # 65| prime = o.prime; # 66| max_chain_length = o.max_chain_length; # 67|-> memcpy (items, o.items, sizeof (item_t) * (mask + 1)); # 68| return; # 69| } Error: CLANG_WARNING: [#def4] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/graph/test-classdef-graph.cc:27: included_from: Included from here. harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/graph/gsubgpos-context.hh:27: included_from: Included from here. harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/graph/graph.hh:29: included_from: Included from here. harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/hb-serialize.hh:780:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'p' # 778| hb_memcpy (p, this->start, this->head - this->start); # 779| hb_memcpy (p + (this->head - this->start), this->tail, this->end - this->tail); # 780|-> return hb_bytes_t (p, len); # 781| } # 782| template <typename Type> Error: CPPCHECK_WARNING: [#def5] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-algs.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def6] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-array.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def7] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-bimap.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def8] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-machinery.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def9] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-map.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: [#def10] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-map.cc:61:13: warning[cplusplus.Move]: Method called on moved-from object 's' # 59| s.set (1, 2); # 60| hb_map_t v (std::move (s)); # 61|-> assert (s.get_population () == 0); # 62| assert (v.get_population () == 1); # 63| } Error: CLANG_WARNING: [#def11] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-map.cc:71:13: warning[cplusplus.Move]: Method called on moved-from object 's' # 69| hb_map_t v; # 70| v = std::move (s); # 71|-> assert (s.get_population () == 0); # 72| assert (v.get_population () == 1); # 73| } Error: CLANG_WARNING: [#def12] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-map.cc:87:13: warning[cplusplus.Move]: Method called on moved-from object 's' # 85| hb_map_t v2 (std::move (s)); # 86| # 87|-> assert (s.get_population () == 0); # 88| assert (v0.get_population () == 2); # 89| assert (v1.get_population () == 2); Error: CPPCHECK_WARNING: [#def13] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-multimap.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def14] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-number.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def15] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-priority-queue.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def16] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-set.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: [#def17] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-set.cc:54:13: warning[cplusplus.Move]: Method called on moved-from object 's' # 52| hb_set_t s {1, 2}; # 53| hb_set_t v (std::move (s)); # 54|-> assert (s.get_population () == 0); # 55| assert (hb_len (hb_iter (s)) == 0); # 56| assert (v.get_population () == 2); Error: CLANG_WARNING: [#def18] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-set.cc:64:13: warning[cplusplus.Move]: Method called on moved-from object 's' # 62| hb_set_t v; # 63| v = std::move (s); # 64|-> assert (s.get_population () == 0); # 65| assert (v.get_population () == 2); # 66| } Error: CLANG_WARNING: [#def19] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-set.cc:80:13: warning[cplusplus.Move]: Method called on moved-from object 's' # 78| hb_set_t v2 (std::move (s)); # 79| # 80|-> assert (s.get_population () == 0); # 81| assert (v0.get_population () == 2); # 82| assert (v1.get_population () == 2); Error: CPPCHECK_WARNING: [#def20] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-subset-instancer-solver.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def21] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-unicode-ranges.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def22] harfbuzz-8.5.0-build/harfbuzz-8.5.0/src/test-vector.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def23] harfbuzz-8.5.0-build/harfbuzz-8.5.0/test/threads/hb-shape-threads.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-49.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | harfbuzz-8.3.0-5.fc40 |
diffbase-store-results-to | /tmp/tmpo5r56kxa/harfbuzz-8.3.0-5.fc40.tar.xz |
diffbase-time-created | 2024-07-03 13:05:46 |
diffbase-time-finished | 2024-07-03 13:22:14 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpo5r56kxa/harfbuzz-8.3.0-5.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpo5r56kxa/harfbuzz-8.3.0-5.fc40.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-49.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | harfbuzz-8.5.0-1.fc41 |
store-results-to | /tmp/tmpyh80reo1/harfbuzz-8.5.0-1.fc41.tar.xz |
time-created | 2024-07-03 13:22:33 |
time-finished | 2024-07-03 13:36:53 |
title | Newly introduced defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpyh80reo1/harfbuzz-8.5.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpyh80reo1/harfbuzz-8.5.0-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |