openssl - What is the purpose of the compiler flag -DPURIFY? -


i came across makefile building open ssl source , wondering actions performed defining purify flag? googled around found reference citing it's use, not explanation does.

what purpose of compiler flag -dpurify?

it helps suppress spurious noise generated when purify analyzes source code. example, purify complain use of uninitialized variables when variable intended uninitialized, when prng seeded junk on stack or heap. of time, programmer error. in particular case, design.

clean compiles @ elevated warnings art no other. make clean compile security gate when using -wall -wextra -wconversion. can quite painful project not set way. require cleanliness under other tools, clang/gcc , sanitizers (-fsanitze=undefined , -fsanitize=address), , valgind.

clean analysis under purify cause of debian random number bug few years back. debian folks trying silence finding. (a few things went wrong in debian prng bug. exercise in why airplanes crash).


Comments