1b1c8d changed `enable-noundef-analysis` flag to `disable-noundef-analysis`. noundef_analysis.cpp was using old `enable-noundef-analysis` flag and this patch fixes it.
Enable noundef analysis (-enable-noundef-analysis) via the -fsanitize-memory-param-retval clang flag. This completes the work found in: - https://reviews.llvm.org/D116855 - https://reviews.llvm.org/D116633 Depends on D116633 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D117293
A simple unit test to demonstrate the flags working correctly. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D114485