octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58569] clang static code analysis report


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #58569] clang static code analysis report
Date: Sun, 14 Jun 2020 15:30:58 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?58569>

                 Summary: clang static code analysis report
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Sun 14 Jun 2020 09:30:56 PM CEST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Segfault, Bus Error, etc.
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I ran the static code analysis with clang on a fresh checkout of hg id
04ee5e8694cb with the following commands on Ubuntu 20.04 (I hope I got these
right):

./bootstrap
mkdir .build
cd .build
scan-build ../configure CPPFLAGS=-I/usr/include/hdf5/serial
LDFLAGS="-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial"
--prefix=${HOME}/usr CC=clang CXX=clang++
scan-build make all -j3


The 7zipped report is about 8 MiB. I hope Savannah will allow to upload it.

Many of the reported issues seem to be about how references are counted. I'm
not sure if those are valid. But could someone check maybe?
Some others (like "Result of operation is garbage or undefined") are maybe
something, we should have a closer look at.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58569>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]