nimrun-action
nimrun-action copied to clipboard
ASAN Support
https://github.com/nim-lang/Nim/issues/24011#issuecomment-2308539033
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.