Illegal Memory Access

(LOCAL:MEMORY:ILLEGAL_ACCESS)

This feature depends on valgrind the same way as LOCAL:MEMORY:INITIALIZATION. This check goes beyond LOCAL:MEMORY:ILLEGAL_MODIFICATION by detecting also reads and reporting them through valgrind at the point where the access happens. Disabling it might improve performance and help if the provided suppression rules do not manage to suppress reports about valid accesses to locked memory.

For more complete information about compiler optimizations, see our Optimization Notice.