| 15923 | } |
| 15924 | |
| 15925 | static bool validate_search_args(const char *root_path, const char *file_pattern) { |
| 15926 | if (!validate_search_path_arg(root_path)) { |
| 15927 | return false; |
| 15928 | } |
| 15929 | if (file_pattern && !validate_search_path_arg(file_pattern)) { |
| 15930 | return false; |
| 15931 | } |
| 15932 | return true; |
| 15933 | } |
| 15934 | |
| 15935 | /* Private scratch for one search_code scan: the grep -f pattern file and the |
| 15936 | * scoped file list. |
no test coverage detected