<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Scanning fis-gtm produces multiple cores"
   href="https://bugs.llvm.org/show_bug.cgi?id=36473">36473</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Scanning fis-gtm produces multiple cores
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>4.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Static Analyzer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dcoughlin@apple.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Amul.Shah@fisglobal.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I am using the Clang SCA to analyze the source code of FIS GT.M (fis-gtm.com)
and have run into a number of failures that result in analyzer core dumps. I
understand that the bug report in this email will need to be re-entered into
the bug tracker, but since there will be some turn-around time between getting
access to the bug tracker and me needing to write the bug report, I thought it
would prudent to type up the report now.

Thanks,
Amul Shah

Host platform:
$ lsb_release -d
Description:    Fedora release 26 (Twenty Six)

Clang version (default for Fedora):
$ clang --version
clang version 4.0.1 (tags/RELEASE_401/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Source Code:
<a href="https://sourceforge.net/projects/fis-gtm/files/GT.M-x86-Linux-src/V6.3-003A/">https://sourceforge.net/projects/fis-gtm/files/GT.M-x86-Linux-src/V6.3-003A/</a>

Steps to reproduce:
1. Download sources and install dependencies listed in the README (on
Debian/Ubuntu installing fis-gtm will install all of the dependencies)
2. Execute the following from the source directory
mkdir build && cd build
export PATH "${PATH}:/usr/libexec"
set utflocale = `locale -a | gawk
'BEGIN{IGNORECASE=1}/en_us.utf-*8/{print;exit}'`
setenv LANG C
setenv LC_ALL "${utflocale}"
setenv LC_COLLATE C

setenv CCC_CC clang
setenv CCC_CXX clang++
set ccc_analyzer=`which ccc-analyzer`
cmake -DCMAKE_C_COMPILER=$ccc_analyzer -DCMAKE_ASM_COMPILER=gcc
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS_DEBUG="-DSTATIC_ANALYSIS
-DSTATIC_ANALYSIS_NORETURN" -DGTM_ENABLE_DEBUG=0 ..

echo "Building in ${PWD}"
scan-build --status-bugs -analyze-headers -stats -disable-checker
deadcode.DeadStores -analyzer-config stable-report-filename=true -o ${PWD} make
-j 8</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>