bugfinder.processing.cleaning.remove_main_function
- class bugfinder.processing.cleaning.remove_main_function.RemoveMainFunction(dataset, deprecation_warning=None)
Bases:
AbstractCppFileProcessing
Processing to remove the main function from a dataset.
- execute()
Run the processing
- main_fn_entry = '#ifdef INCLUDEMAIN\n'
- main_fn_exit = '#endif\n'
- process_file(filepath)
Process a single file