* @brief initialize the arguments * * @param args */
| 232 | * @param args |
| 233 | */ |
| 234 | static void init_arg(struct arguments *args) { |
| 235 | memset(args, 0, sizeof(struct arguments)); |
| 236 | |
| 237 | args->trace_path = NULL; |
| 238 | args->trace_type_params = NULL; |
| 239 | args->verbose = true; |
| 240 | memset(args->ofilepath, 0, OFILEPATH_LEN); |
| 241 | args->n_req = -1; |
| 242 | args->verbose = false; |
| 243 | |
| 244 | args->analysis_option = traceAnalyzer::default_option(); |
| 245 | args->analysis_param = traceAnalyzer::default_param(); |
| 246 | |
| 247 | args->reader = NULL; |
| 248 | } |
| 249 | |
| 250 | /** |
| 251 | * @brief parse the command line arguments |
no test coverage detected