am de3bf277
: Merge "Remove PtraceRead error message."
* commit 'de3bf277196e2a896ede3a5d81d92d394544616c': Remove PtraceRead error message.
This commit is contained in:
commit
826e32edcb
1 changed files with 0 additions and 2 deletions
|
@ -37,8 +37,6 @@ static bool PtraceRead(pid_t tid, uintptr_t addr, word_t* out_value) {
|
|||
errno = 0;
|
||||
*out_value = ptrace(PTRACE_PEEKTEXT, tid, reinterpret_cast<void*>(addr), nullptr);
|
||||
if (*out_value == static_cast<word_t>(-1) && errno) {
|
||||
BACK_LOGW("invalid pointer %p reading from tid %d, ptrace() strerror(errno)=%s",
|
||||
reinterpret_cast<void*>(addr), tid, strerror(errno));
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue