You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
increase the number of sanitizers we enable to those enabled by -fsanitize=address,undefined,integer to check for undefined behavior and integer overflow, in addition to the memory safety problems checked by address sanitizer
enable these sanitizers in automated tests (such as those being added by Add ctest to spack build pipelines. #118) and when building in debug mode (-DCMAKE_BUILD_TYPE=Debug)
additionally, i propose we increase the warnings reported by the compiler by passing -Wall -Wpedantic -Wconversion -Wextra to CFLAGS/CXXFLAGS in all build types
The text was updated successfully, but these errors were encountered:
currently, the usage of address sanitizer is gated behind
RESOLVE_USE_ASAN
. as suggested in another pull request i propose we:-fsanitize=address,undefined,integer
to check for undefined behavior and integer overflow, in addition to the memory safety problems checked by address sanitizer-DCMAKE_BUILD_TYPE=Debug
)additionally, i propose we increase the warnings reported by the compiler by passing
-Wall -Wpedantic -Wconversion -Wextra
toCFLAGS
/CXXFLAGS
in all build typesThe text was updated successfully, but these errors were encountered: