Displaying 1 result from an estimated 1 matches for "release_vshadow".
2017 Feb 23
4
RFC: Generalize means the sanitizers work with memory
...memmove(uptr dest, uptr src, uptr size);
// Returns the virtual address of the first non-zero byte in a given virtual
// address range. Can also be used to test for zeroed regions.
uptr find_non_zero_vshadow_byte(uptr vs, uptr size);
// Explicitly releases pages that fit the specified range.
void release_vshadow(uptr vs, uptr size);
The Proof-of-Concept Patch
==========================
To make sure the approach is feasible we have prepared a patch that
fixes the Asan and Tsan RTL and instrumentation parts to translate virtual
shadow memory addresses to physical ones and mmap() shadow memory as we
acces...