<div dir="ltr"><div>Hi,</div><div><br></div><div>Looking at the issue you probably want to make expression evaluation smarter in the analyzer. The files you want to touch is probably in the folder `clang/lib/StaticAnalyzer/Core`.</div><div>It was a while since I last touched the analyzer core so I might be a bit rusty, bit I would start looking at `SimpleSValBuilder.cpp` and the `
<span class="gmail-pl-en">evalBinOpNN</span>

` and similar functions. For this task I think you need to understand what a symbolic value is, and familiarize yourself with some of the nomenclature the analyzer is using (e.g. non-loc mostly means r-value and loc mostly means l-value). Also make sure that after your change the potential division by zero errors are still diagnosed.</div><div><br></div><div>I also added Artem so he has the chance to correct me if I am wrong.</div><div><br></div><div>Cheers,</div><div>Gabor<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 15 Aug 2019 at 09:00, Paulo Augusto Gomes Kataki via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi everyone,<div><br></div><div>Can anybody help me to solve this issue: <a href="https://bugs.llvm.org/show_bug.cgi?id=35418" target="_blank">https://bugs.llvm.org/show_bug.cgi?id=35418</a> </div><div><br></div><div>I'm new here and I don't have an idea on where to start.</div><div><br></div><div>Thanks in advance.</div></div></div>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>