address-sanitizer

Using memory sanitizer (asan) on C/C++ library loaded to python with ctypes

Using memory sanitizer (asan) on C/C++ library loaded to python with ctypes Question: I have C++ library compiled with AddressSanitizer(asan) using g++ and cmake: SET( AXULIARY_COMPILE_FLAGS "-g -Og -fsanitize=address -fno-omit-frame-pointer") this works very well when running stand-alone C/C++ executable program. But I’m unable to make it work when loaded as shared/dynamic library (.so) into python …

Total answers: 1