Replies: 1 comment
-
Thanks, I appreciate the heads-up. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I recently noticed that attempting to compile ksh with ASan enabled now fails on Arch Linux with the following error:
This failure is the result of a mitigation for https://zolutal.github.io/aslrnt/ (see https://gitlab.archlinux.org/archlinux/packaging/packages/linux-lts/-/commit/de42b5567). I'm not filing this as a bug report because I think the crash is the result of ASan being inherently incompatible with ASLR (i.e., probably not a bug).
In any case, compiling ksh with ASan now requires that ASLR be disabled. On Linux this can be done as follows:
After you're done using ASan for testing, ASLR can be reenabled by setting randomize_va_space to '2'.
Beta Was this translation helpful? Give feedback.
All reactions