Use write-to-pipe hack to check if a memory address is readable.