nimrun-action icon indicating copy to clipboard operation
nimrun-action copied to clipboard

ASAN Support

Open juancarlospaco opened this issue 5 months ago • 0 comments

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.

juancarlospaco avatar Aug 24 '24 21:08 juancarlospaco