Replace PTRACE_PEEKTEXT with the way using read().