-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HWASAN does not work with -shared-asan
and LD_PRELOAD
when testing in uninstrumented Python interpreter
#1245
Comments
I guess at this point I could be preparing a minimal reproducer, in case |
Yes, -shared-libsan should work. I'm not so confident in LD_PRELOAD,
it's completely untested, but I'd like it to work.
Could you try -mllvm -hwasan-globals=0?
…On Mon, May 11, 2020 at 6:10 AM Jiri Daněk ***@***.***> wrote:
I guess at this point I could be preparing a minimal reproducer, in case -shared-asan is meant to be supported with hwasan, and reproducer is needed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
With this option, tests 25 at least starts running, and eventually hits that
|
I rebuilt CPython multiply times with combination of flags and environment variables (logs and build scripts are not published yet). Results:
|
https://github.com/n-bes/build-cpython/blob/master/data/arm64-hwasan/arm64.csv |
Same environment as in #1243, that is, python c module compiled with
-shared-asan
, and running in uninstrumented Python3 interpreter withLD_PRELOAD
set. I also tried some Ruby tests as well.Some Ruby tests are actually passing, but some are reporting tag-mismatch at unlikely places. I debugged the following tests
List of crashes
Debugger output
in debugger does similar thing as 27, linenubmers are different though; outside of debugger it is that SEGV
25 with halt_on_error=false
There is a list of places where I got failures then
The text was updated successfully, but these errors were encountered: