mirror of
https://github.com/yuzu-emu/breakpad
synced 2024-11-25 14:18:49 +00:00
Fix Linux ASan Afl build error.
Bug: 1385147 Change-Id: I69ebfa1adbc1c2a17decf0079812c4f507e3332c Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4046961 Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
4d0c21b9a5
commit
41474d905f
1 changed files with 1 additions and 2 deletions
|
@ -158,6 +158,7 @@ ExploitabilityRating ExploitabilityLinux::CheckPlatformExploitability() {
|
|||
bool ExploitabilityLinux::EndedOnIllegalWrite(uint64_t instruction_ptr) {
|
||||
#ifdef _WIN32
|
||||
BPLOG(INFO) << "MinGW does not support fork and exec. Terminating method.";
|
||||
return false;
|
||||
#else
|
||||
// Get memory region containing instruction pointer.
|
||||
MinidumpMemoryList* memory_list = dump_->GetMemoryList();
|
||||
|
@ -219,9 +220,7 @@ bool ExploitabilityLinux::EndedOnIllegalWrite(uint64_t instruction_ptr) {
|
|||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif // _WIN32
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ExploitabilityLinux::StackPointerOffStack(uint64_t stack_ptr) {
|
||||
|
|
Loading…
Reference in a new issue