llvm-project/lldb/source/Plugins/Process/Linux
Nikita Popov 6f59f302e4 [lldb] Fix m_hwp_regs size for ppc64le (PR54520)
The size of the m_hwp_regs array should match the default value of
m_max_hwp_supported. This ensures that no out-of-bounds accesses
occur, even if the array is accessed prior to a call to
ReadHardwareDebugInfo().

Fixes https://github.com/llvm/llvm-project/issues/54520, see also
there for additional background.

Differential Revision: https://reviews.llvm.org/D136144
2022-10-18 15:11:21 +02:00
..
CMakeLists.txt [LLDB][RISCV] Add riscv register definition and read/write 2022-08-11 14:24:06 +08:00
IntelPTCollector.cpp [NFC][lldb][trace] Fix formatting of tracing files 2022-08-11 11:00:26 -07:00
IntelPTCollector.h [NFC][lldb][trace] Fix formatting of tracing files 2022-08-11 11:00:26 -07:00
IntelPTMultiCoreTrace.cpp [NFC][lldb][trace] Fix formatting of tracing files 2022-08-11 11:00:26 -07:00
IntelPTMultiCoreTrace.h [NFC][lldb][trace] Fix formatting of tracing files 2022-08-11 11:00:26 -07:00
IntelPTPerThreadProcessTrace.cpp [lldb] Fix building with GCC 7 2022-06-21 00:19:09 +03:00
IntelPTPerThreadProcessTrace.h [trace][intelpt] Support system-wide tracing [17] - Some improvements 2022-06-16 11:23:02 -07:00
IntelPTProcessTrace.h [NFC][lldb][trace] Fix formatting of tracing files 2022-08-11 11:00:26 -07:00
IntelPTSingleBufferTrace.cpp [lldb] Use Optional::transform instead of Optional::map (NFC) 2022-08-19 21:40:47 -07:00
IntelPTSingleBufferTrace.h [NFC][lldb][trace] Fix formatting of tracing files 2022-08-11 11:00:26 -07:00
IntelPTThreadTraceCollection.cpp [trace][intelpt] Support system-wide tracing [20] - Rename some fields in the schema 2022-06-16 11:42:22 -07:00
IntelPTThreadTraceCollection.h [trace][intelpt] Support system-wide tracing [20] - Rename some fields in the schema 2022-06-16 11:42:22 -07:00
NativeProcessLinux.cpp [LLDB][RISCV] Make software single stepping work 2022-08-16 23:44:50 +08:00
NativeProcessLinux.h [trace][intelpt] Support system-wide tracing [9] - Collect and return context switch traces 2022-06-15 12:07:59 -07:00
NativeRegisterContextLinux.cpp [LLDB] Change RegisterValue::SetType param to const RegisterInfo& 2022-10-12 08:25:14 +00:00
NativeRegisterContextLinux.h [lldb] Fix TestDeletedExecutable on linux 2022-08-03 15:44:19 +02:00
NativeRegisterContextLinux_arm.cpp [LLDB] Change RegisterValue::SetType param to const RegisterInfo& 2022-10-12 08:25:14 +00:00
NativeRegisterContextLinux_arm.h [lldb] Update the NativeRegisterContext to take a WritableMemoryBuffer 2022-04-05 14:19:01 -07:00
NativeRegisterContextLinux_arm64.cpp [LLDB] Change RegisterValue::SetFromMemoryData to const RegisterInfo& 2022-10-12 08:10:24 +00:00
NativeRegisterContextLinux_arm64.h [lldb] Update the NativeRegisterContext to take a WritableMemoryBuffer 2022-04-05 14:19:01 -07:00
NativeRegisterContextLinux_ppc64le.cpp [LLDB] Fix the build for ppc64le linux 2022-10-18 11:54:19 +03:00
NativeRegisterContextLinux_ppc64le.h [lldb] Fix m_hwp_regs size for ppc64le (PR54520) 2022-10-18 15:11:21 +02:00
NativeRegisterContextLinux_riscv64.cpp [LLDB][RISCV] Fix risc-v target build 2022-08-11 21:42:44 +08:00
NativeRegisterContextLinux_riscv64.h [LLDB][RISCV] Add riscv register definition and read/write 2022-08-11 14:24:06 +08:00
NativeRegisterContextLinux_s390x.cpp [lldb] Fix TestDeletedExecutable on linux 2022-08-03 15:44:19 +02:00
NativeRegisterContextLinux_s390x.h [lldb] Update the NativeRegisterContext to take a WritableMemoryBuffer 2022-04-05 14:19:01 -07:00
NativeRegisterContextLinux_x86_64.cpp [LLDB] Fix x86_64 build 2022-10-12 09:19:29 +00:00
NativeRegisterContextLinux_x86_64.h [lldb] Update the NativeRegisterContext to take a WritableMemoryBuffer 2022-04-05 14:19:01 -07:00
NativeThreadLinux.cpp [lldb] [llgs] Fix signo sent with fork/vfork/vforkdone events 2022-06-21 19:47:30 +02:00
NativeThreadLinux.h [lldb] [llgs] Implement qXfer:siginfo:read 2022-01-13 11:24:36 +01:00
Perf.cpp Fix LLDB build on old Linux kernels (pre-4.1) 2022-10-05 08:00:05 +00:00
Perf.h [NFC][lldb][trace] Fix formatting of tracing files 2022-08-11 11:00:26 -07:00
Procfs.cpp [lldb] Prevent race condition when fetching /proc/cpuinfo 2022-08-08 12:31:42 -07:00
Procfs.h [lldb] Remove obsolete Android-specific definitions 2022-08-24 21:47:13 +00:00
SingleStepCheck.cpp [lldb] Convert POSIXLog to use the new API 2022-01-26 13:10:10 +01:00
SingleStepCheck.h