Calling Julia from C++ -- Compatibility with AddressSanitizer


#1

I have a C++ program that calls Julia functions. In some cases, those Julia functions are dynamically generated and JIT-compiled. I tried to use AddressSanitizer (libasan) to check for memory errors in my program, but it fails when executing some (not all) JIT-compiled Julia functions. The error is always stack buffer underflow. I know it’s a false positive but is there anything I can do to avoid such errors being thrown and still use AddressSanitizer to check the rest of my program?