[LLVMbugs] [Bug 16401] New: Wrong assumption of an integer comparison, knowing their values
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jun 21 02:16:40 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16401
Bug ID: 16401
Summary: Wrong assumption of an integer comparison, knowing
their values
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
Assignee: kremenek at apple.com
Reporter: ed0.88.prez at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 10726
--> http://llvm.org/bugs/attachment.cgi?id=10726&action=edit
Preprocessed source of the problematic file
Even though it knows that "[7] Assuming 'size' is not equal to 0" in line 4457
and "pos = ... = 0;" in line 4470, it does this wrong assumption:
"[11] Assuming 'pos' is >= 'size'" in line 4471. Attached preprocessed source.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130621/3472ec08/attachment.html>
More information about the llvm-bugs
mailing list