2016-09-08 14:01:24 +00:00
|
|
|
/**
|
2016-09-11 20:20:15 +00:00
|
|
|
* Author......: See docs/credits.txt
|
2016-09-08 14:01:24 +00:00
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _FILENAMES_H
|
|
|
|
#define _FILENAMES_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2016-09-08 16:27:53 +00:00
|
|
|
void generate_dictstat_filename (char *profile_dir, char *dictstat_filename);
|
2016-09-08 14:01:24 +00:00
|
|
|
void generate_source_kernel_filename (const uint attack_exec, const uint attack_kern, const uint kern_type, char *shared_dir, char *source_file);
|
|
|
|
void generate_cached_kernel_filename (const uint attack_exec, const uint attack_kern, const uint kern_type, char *profile_dir, const char *device_name_chksum, char *cached_file);
|
|
|
|
void generate_source_kernel_mp_filename (const uint opti_type, const uint opts_type, char *shared_dir, char *source_file);
|
|
|
|
void generate_cached_kernel_mp_filename (const uint opti_type, const uint opts_type, char *profile_dir, const char *device_name_chksum, char *cached_file);
|
|
|
|
void generate_source_kernel_amp_filename (const uint attack_kern, char *shared_dir, char *source_file);
|
|
|
|
void generate_cached_kernel_amp_filename (const uint attack_kern, char *profile_dir, const char *device_name_chksum, char *cached_file);
|
|
|
|
|
2016-09-08 14:17:28 +00:00
|
|
|
char *filename_from_filepath (char *filepath);
|
|
|
|
|
2016-09-08 14:01:24 +00:00
|
|
|
#endif // _FILENAMES_H
|