mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +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
|
@ -51,7 +51,7 @@ static void ContinueOnError(int sig, siginfo_t *si, void *vctx) {
|
|||
* on error. It then attempts a volatile read and if it faults, then
|
||||
* this function shall return false. The value at `p` isn't considered.
|
||||
*/
|
||||
dontasan bool testlib_memoryexists(const void *p) {
|
||||
bool testlib_memoryexists(const void *p) {
|
||||
volatile char c;
|
||||
const atomic_char *mem = p;
|
||||
struct sigaction old[2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue