[Lldb-commits] [lldb] [lldb] Fix misaligned pointer UB in DataExtractor::GetU16/U32/U64 array reads (PR #213038)
Yao Qi via lldb-commits
lldb-commits at lists.llvm.org
Sat Aug 1 06:16:48 PDT 2026
qiyao wrote:
I pushed three commits to fold `DataExtractor::GetU16/U32/U64` array reads into a `GetUInt<T>` helper (4a5dc83ce8cef3e2361b503f9a17114569047fbc), and add unit tests to `DataExtractor GetU16/U32/U64`. There is also a commit 440e1a1274b6a36addd41da52d10ebc14ee876f6 to replace `ReadSwapInt16/32/64` with `ReadSwap<T>` template, so `ReadSwap<T>` can be used in `GetUInt<T>`.
https://github.com/llvm/llvm-project/pull/213038
More information about the lldb-commits
mailing list