Files
clang-p2996/clang/test/Analysis/asm.cpp
Pavel Skripkin db6051dae0 [analyzer] fix crash on binding to symbolic region with void * type (#107572)
As reported in
https://github.com/llvm/llvm-project/pull/103714#issuecomment-2295769193.
CSA crashes on trying to bind value to symbolic region with `void *`.
This happens when such region gets passed as inline asm input and engine
tries to bind `UnknownVal` to that region.

Fix it by changing type from void to char before calling
`GetElementZeroRegion`
2024-09-09 18:12:38 +02:00

1.7 KiB