Ejemplo n.º 1
0
import csv
from attacksynthesis_3 import find_delta

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

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

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

with open("attacksynthesis_3A.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)