[cfe-dev] [analyzer] exploration strategies and paths

George Karpenkov via cfe-dev cfe-dev at lists.llvm.org
Mon Jan 29 17:40:56 PST 2018


> Option (ii) is something I personally really support and would like to see implemented in the analyzer. I was already thinking on this change earlier but did not seem easy to come up with a reliable heuristic for that. The aim is clear and great but how would you do it? Would you rate the possibilities based on the number of visits of the possible next analyzed blocks?

In the queue we already have the counter on the number of times a given block was visited along the path;
The implementation I am currently playing with when comparing two paths would simply picks the one which has visited its CFGBlock less times along its path.

> 
> 
> Thanks,
> Peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180129/1ee4cf4d/attachment.html>


More information about the cfe-dev mailing list