mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 11:18:30 +00:00
Delete ASAN
It hasn't been helpful enough to be justify the maintenance burden. What actually does help is mprotect(), kprintf(), --ftrace and --strace which can always be counted upon to work correctly. We aren't losing much with this change. Support for ASAN on AARCH64 was never implemented. Applying ASAN to the core libc runtimes was disabled many months ago. If there is some way to have an ASAN runtime for user programs that is less invasive we can potentially consider reintroducing support. But now is premature.
This commit is contained in:
parent
6ffed14b9c
commit
d1d4388201
198 changed files with 130 additions and 2954 deletions
|
@ -176,8 +176,7 @@ typedef struct {
|
|||
#define strftimeesque(n) __attribute__((__format__(__strftime__, n, 0)))
|
||||
|
||||
#ifndef privileged
|
||||
#define privileged \
|
||||
_Section(".privileged") dontinline dontinstrument dontubsan dontasan
|
||||
#define privileged _Section(".privileged") dontinline dontinstrument dontubsan
|
||||
#endif
|
||||
|
||||
#ifndef wontreturn
|
||||
|
@ -522,13 +521,6 @@ typedef struct {
|
|||
#define nocallersavedregisters
|
||||
#endif
|
||||
|
||||
#if ((__GNUC__ + 0) * 100 + (__GNUC_MINOR__ + 0) >= 408 || \
|
||||
__has_attribute(__no_sanitize_address__))
|
||||
#define dontasan __attribute__((__no_sanitize_address__))
|
||||
#else
|
||||
#define dontasan
|
||||
#endif
|
||||
|
||||
#if ((__GNUC__ + 0) * 100 + (__GNUC_MINOR__ + 0) >= 408 || \
|
||||
__has_attribute(__no_sanitize_undefined__))
|
||||
#define dontubsan __attribute__((__no_sanitize_undefined__))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue