mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Revert "Make stack bounds detection work with ASAN"
This reverts commit 6185cfdf38
.
This commit is contained in:
parent
ac0ba3c07e
commit
6af0f442c7
3 changed files with 6 additions and 33 deletions
|
@ -11,7 +11,6 @@
|
|||
|
||||
#ifdef THREAD_SYSTEM_DEPENDENT_IMPLEMENTATION
|
||||
|
||||
#include "internal/sanitizers.h"
|
||||
#include <process.h>
|
||||
|
||||
#define TIME_QUANTUM_USEC (10 * 1000)
|
||||
|
@ -597,7 +596,7 @@ COMPILER_WARNING_IGNORED(-Wmaybe-uninitialized)
|
|||
static inline SIZE_T
|
||||
query_memory_basic_info(PMEMORY_BASIC_INFORMATION mi, void *local_in_parent_frame)
|
||||
{
|
||||
return VirtualQuery(asan_get_real_stack_addr(local_in_parent_frame), mi, sizeof(*mi));
|
||||
return VirtualQuery(local_in_parent_frame, mi, sizeof(*mi));
|
||||
}
|
||||
COMPILER_WARNING_POP
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue