Skip to content
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

ASAN Support #12

Open
juancarlospaco opened this issue Aug 24, 2024 · 0 comments
Open

ASAN Support #12

juancarlospaco opened this issue Aug 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@juancarlospaco
Copy link
Owner

juancarlospaco commented Aug 24, 2024

nim-lang/Nim#24011 (comment)

https://github.com/nim-lang/Nim/actions/runs/10541540508/job/29207394856#step:4:106

ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.

#!/bin/bash
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.6
./tu_programa

ASAN_OPTIONS=verify_asan_link_order=0 ???

Valgrind itself does work ok, but I don't know if ASAN is working.

@juancarlospaco juancarlospaco added the bug Something isn't working label Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant