llvm-project
9438b741 - [lldb] Add VirtualDataExtractor for virtual address translation (#168802)

Commit
31 days ago
[lldb] Add VirtualDataExtractor for virtual address translation (#168802) Introduce VirtualDataExtractor, a DataExtractor subclass that enables reading data at virtual addresses by translating them to physical buffer offsets using a lookup table. The lookup table maps virtual address ranges to physical offsets and enforces boundaries to prevent reads from crossing entry limits. The new class inherits from DataExtractor, overriding GetData and PeekData to provide transparent virtual address translation for most of the DataExtractor methods. The exception are the unchecked methods, that bypass those methods and are overloaded as well.
Author
Parents
Loading