Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to use fsanitize with Qt?
Guerrian last edited by
I tried to add this option to the compilation:
QMAKE_CXXFLAGS += -fsanitize=address
But I get errors like:
error: undefined reference to `__asan_report_store_n'
Because the linker is missing the sanitizer flags
"CONFIG += sanitizer sanitize_address"