Add validation script for check_null_deref.c