SVF-tools / SVF

Static Value-Flow Analysis Framework for Source Code
http://svf-tools.github.io/SVF/
Other
1.43k stars 435 forks source link

Inconsistent Results of CFL reachability analysis #1106

Open enochii opened 1 year ago

enochii commented 1 year ago

Hi, I use the cfl tool and encounter some issues. Since there is no running examples, I randomly choose one from https://github.com/SVF-tools/Test-Suite/.

When running cfl with -pocr-alias -grammar=<SVF-path>/svf/include/CFL/VFG.txt <SVF-path>/Test-Suite/test_cases_bc/complex_tests/test1-path.c.bc, I get the result (POCRAlias):

When running cfl with -grammar=<SVF-path>/svf/include/CFL/VFG.txt <SVF-path>/Test-Suite/test_cases_bc/complex_tests/test1-path.c.bc, I get the result (CFLAlias):

I have the following questions:

yuleisui commented 1 year ago

@TalbenXu could you take a look at this issue?