Closed VenoVeno closed 1 year ago
@llvm/issue-subscribers-clang-static-analyzer
Please upload the cpp
file as text file. Basically, I want to pass it to clang, so it should accept it.
The arguments shows that it's for a CTU analysis, so it could refer to other translation units, which are not dumped here.
There is also a custom taint yaml, which is also not included.
The issue most likely could be reproduced without custom taint config, and CTU, so I'd recommend you trying that.
That being said, you also use the z3
solver, which is an experimental flag, hence not advertised.
We likely won't prioritize fixing this.
Thanks, removing the z3 solver clears the issue.
LLVM fails when analysing vector.
Clang version: 16.0.0 Ubuntu version: 20.04.5 LTS CWE789_Uncontrolled_Mem_Alloc__malloc_char_fgets_72a-df9157.cpp.pdf CWE789_Uncontrolled_Mem_Alloc__malloc_char_fgets_72a-df9157.sh.pdf