Error: COMPILER_WARNING (CWE-195): [#def1] protobuf-c-1.5.2/protoc-gen-c/c_message.cc: scope_hint: In member function ‘void protobuf_c::MessageGenerator::GenerateMessageDescriptor(google::protobuf::io::Printer*, bool)’ protobuf-c-1.5.2/protoc-gen-c/c_message.cc:583:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ # 583 | for (unsigned i = 0; i < descriptor_->field_count(); i++) { # | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 581| if (!optimize_code_size) { # 582| std::vector<NameIndex> field_indices; # 583|-> for (unsigned i = 0; i < descriptor_->field_count(); i++) { # 584| field_indices.push_back({ i, sorted_fields[i]->name() }); # 585| } Error: COMPILER_WARNING (CWE-195): [#def2] protobuf-c-1.5.2/protoc-gen-c/c_service.cc: scope_hint: In member function ‘void protobuf_c::ServiceGenerator::GenerateServiceDescriptor(google::protobuf::io::Printer*)’ protobuf-c-1.5.2/protoc-gen-c/c_service.cc:208:26: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ # 208 | for (unsigned i = 0; i < n_methods; i++) { # | ~~^~~~~~~~~~~ # 206| printer->Print(vars_, "static const ProtobufCMethodDescriptor $lcfullname$__method_descriptors[$n_methods$] =\n" # 207| "{\n"); # 208|-> for (unsigned i = 0; i < n_methods; i++) { # 209| const google::protobuf::MethodDescriptor* method = descriptor_->method(i); # 210| vars_["method"] = std::string(method->name());
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-245.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.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | protobuf-c-1.5.2-1.fc44 |
| store-results-to | /tmp/tmpitoxow71/protobuf-c-1.5.2-1.fc44.tar.xz |
| time-created | 2026-01-08 20:23:43 |
| time-finished | 2026-01-08 20:25:19 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpitoxow71/protobuf-c-1.5.2-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpitoxow71/protobuf-c-1.5.2-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |