def generate_fft(): byte_path = "../train_subset/" labels_file = "../labels/trainLabels.csv" # Build the filename -> Malware class dictionary: file_to_malware = utilities.get_malware_dict(labels_file) utilities.process_file_folder(byte_path, '.bytes', fft, '../train_subset/', file_to_malware)
def generate_csv_files(): asm_path = "../test/" labels_file = "../labels/trainLabels.csv" # Build the filename -> Malware class dictionary: file_to_malware = utilities.get_malware_dict(labels_file) utilities.process_file_folder(asm_path, '.asm',extract_columns,'../test_parsed',file_to_malware)
def generate_csv_files(): asm_path = "../test/" labels_file = "../labels/trainLabels.csv" # Build the filename -> Malware class dictionary: file_to_malware = utilities.get_malware_dict(labels_file) utilities.process_file_folder(asm_path, '.asm', extract_columns, '../test_parsed', file_to_malware)