<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 - Two Crashes in StaticAnalyzer of Clang"
href="https://bugs.llvm.org/show_bug.cgi?id=44338">44338</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Two Crashes in StaticAnalyzer of Clang
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>8.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>normal
</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>liulm@ios.ac.cn
</td>
</tr>
<tr>
<th>CC</th>
<td>dcoughlin@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>First crash seems to be occasioned by a typo in file
`clang-8.0.0.src/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h:144`.
Condition `!isSat.hasValue() || isNotSat.getValue()` here should be
`!isNotSat.hasValue() || isNotSat.getValue()`.
`getValue` here crashed when we used the static analyzer to analyze
postgresql-12.0.
Second crash occured at line 161 in the same file.
It seems that `SC->getType()` may return some types except void, integer and
location occasionally.
This crash happended on the analysis for ffmpeg-4.2.git.
Both of them happended several hours later than correspondent analysis began
with `AlwaysInlineSize`, `MinCFGSizeTreatFunctionsAsLarge` and
`MaxInlinableSize` configured to 1000.</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>