Esempio n. 1
0
import csv
from attacksynthesis_2 import find_delta

inputs_to_change = [[0, 1, 2, 3, 4]]

with open("attacksynthesis_2E.csv", 'w') as f:
    writer = csv.writer(f)
    for i in inputs_to_change:
        print('Choosing inputs ' + str(i))
        output = find_delta(i, 5)
        writer.writerows(output)
Esempio n. 2
0
import csv
from attacksynthesis_2 import find_delta

inputs_to_change = [i for i in range(3)]

with open("attacksynthesis_2A.csv", 'w') as f:
    writer = csv.writer(f)
    for i in inputs_to_change:
        print('Choosing input ' + str(i))
        output = find_delta([i])
        writer.writerows(output)