summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2024-08-02 18:04:57 +0300
committerGitHub <noreply@github.com>2024-08-02 17:04:57 +0200
commitd96569ecc2807a13dab6495d8cc4e82775b00af1 (patch)
treec911a8d52e9b8436ae4b6ba4e2c24658362bfd65 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent12937b1bfb23cca4731fa274f3358f7286cc6784 (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