perl-Clone-0.47-1.fc42

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
perl-Clone-0.47-build/Clone-0.47/Clone.xs: scope_hint: In function ‘av_clone’
perl-Clone-0.47-build/Clone-0.47/Clone.xs:67:7: warning[-Wunused-variable]: unused variable ‘val’
#   67 |   SV *val = NULL;
#      |       ^~~
#   65|     AV *self = (AV *) ref;
#   66|     SV **svp;
#   67|->   SV *val = NULL;
#   68|     I32 arrlen = 0;
#   69|     int i = 0;

Error: COMPILER_WARNING (CWE-1164): [#def2]
perl-Clone-0.47-build/Clone-0.47/Clone.xs: scope_hint: At top level
perl-Clone-0.47-build/Clone-0.47/Clone.xs:96:1: warning[-Wunused-function]: ‘rv_clone’ defined but not used
#   96 | rv_clone (SV * ref, HV* hseen, int depth)
#      | ^~~~~~~~
#   94|   
#   95|   static SV *
#   96|-> rv_clone (SV * ref, HV* hseen, int depth)
#   97|   {
#   98|     SV *clone = NULL;

Error: COMPILER_WARNING (CWE-563): [#def3]
perl-Clone-0.47-build/Clone-0.47/Clone.xs: scope_hint: In function ‘rv_clone’
perl-Clone-0.47-build/Clone-0.47/Clone.xs:99:7: warning[-Wunused-variable]: unused variable ‘rv’
#   99 |   SV *rv = NULL;
#      |       ^~
#   97|   {
#   98|     SV *clone = NULL;
#   99|->   SV *rv = NULL;
#  100|   
#  101|     assert(SvROK(ref));

Error: COMPILER_WARNING (CWE-563): [#def4]
perl-Clone-0.47-build/Clone-0.47/Clone.xs: scope_hint: In function ‘sv_clone’
perl-Clone-0.47-build/Clone-0.47/Clone.xs:277:15: warning[-Wunused-variable]: unused variable ‘vtable’
#  277 |       MGVTBL *vtable = 0;
#      |               ^~~~~~
#  275|       {
#  276|         MAGIC* mg;
#  277|->       MGVTBL *vtable = 0;
#  278|   
#  279|         for (mg = SvMAGIC(ref); mg; mg = mg->mg_moremagic) 

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-138.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameperl-Clone-0.47-1.fc42
store-results-to/tmp/tmpgnr8sb7t/perl-Clone-0.47-1.fc42.tar.xz
time-created2024-11-13 02:12:19
time-finished2024-11-13 02:13:27
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpgnr8sb7t/perl-Clone-0.47-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpgnr8sb7t/perl-Clone-0.47-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9