diff options
| author | Pavel Skripkin <paskripkin@gmail.com> | 2024-08-02 18:04:57 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-02 17:04:57 +0200 |
| commit | d96569ecc2807a13dab6495d8cc4e82775b00af1 (patch) | |
| tree | c911a8d52e9b8436ae4b6ba4e2c24658362bfd65 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 12937b1bfb23cca4731fa274f3358f7286cc6784 (diff) | |
[analyzer] Fix crash on using `bitcast(<type>, <array>)` as array subscript (#101647)
Current CSA logic does not expect `LazyCompoundValKind` as array index.
This may happen if array is used as subscript to another, in case of
bitcast to integer type.
Catch such cases and return `UnknownVal`, since CSA cannot model
array -> int casts.
Closes #94496
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
