[llvm-dev] [GSoC 2018] Integrate with Z3 SMT solver to reduce false positives.
Brenda So via llvm-dev
llvm-dev at lists.llvm.org
Wed Mar 14 18:37:39 PDT 2018
Hi all,
I am a fourth year EE bachelors student who is very interested in
compilers. I have taken the only compilers course offered in my school and
did an independent study with my CS professor. Although I'll begin to work
in a couple of months, I definitely want to pursue my interest in compiler
design and optimization as a PhD in the future. I am very interested in the
z3 SMT solver project detailed on the LLVM website and have been doing some
research about it.
>From what I understand, the current analyzer traces the program, and at
each branch, it branches out into the true branch and the false branch. The
true and false branch causes certain constraints on the values. If the
conditions on the branch causes a constraint to be unsatisfiable, the path
is considered to be infeasible. traces the program, and at each branch, it
branches out into the true branch and the false branch. The true and false
branch causes certain constraints on the values. If the conditions on the
branch causes a constraint to be unsatisfiable, the path is considered to
be infeasible. In that case, z3 would be useful in proving whether a branch
is definitely true or false (i.e. whether the constraints are satisfiable),
thus preventing exponential blowup of the analysis.
However, when I was looking through the github version of LLVM, it seems
like z3 is already incorporated:
https://github.com/llvm-mirror/clang/blob/master/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp
I guess my question is, what would the project contribute on top of the z3
manager that is currently implemented for LLVM?
Thanks!
Brenda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180314/d594e46f/attachment.html>
More information about the llvm-dev
mailing list