mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-09 00:31:33 +00:00
remove unessential things
remove unessential things from scripts
This commit is contained in:
parent
d5fc03b718
commit
050f331c54
@ -52,11 +52,11 @@ def static_analysis(file,file2,cur,db) :
|
|||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
def copy_tokens(cur, tokenpath) :
|
def copy_tokens(cur, tokenpath) :
|
||||||
subprocess.call(["cp " + cur + "/" + "strcmp-strs/*" + " " + cur + "/" + tokenpath + "/."] ,shell=True)
|
subprocess.call(["mv " + cur + "/" + "strcmp-strs/*" + " " + cur + "/" + tokenpath + "/."] ,shell=True)
|
||||||
subprocess.call(["cp " + cur + "/" + "strncmp-strs/*" + " " + cur + "/" + tokenpath + "/."] ,shell=True)
|
subprocess.call(["mv " + cur + "/" + "strncmp-strs/*" + " " + cur + "/" + tokenpath + "/."] ,shell=True)
|
||||||
subprocess.call(["cp " + cur + "/" + "memcmp-strs/*" + " " + cur + "/" + tokenpath + "/."] ,shell=True)
|
subprocess.call(["mv " + cur + "/" + "memcmp-strs/*" + " " + cur + "/" + tokenpath + "/."] ,shell=True)
|
||||||
subprocess.call(["cp " + cur + "/" + "lits/*" + " " + cur + "/" + tokenpath + "/."] ,shell=True)
|
subprocess.call(["mv " + cur + "/" + "lits/*" + " " + cur + "/" + tokenpath + "/."] ,shell=True)
|
||||||
subprocess.call(["cp " + cur + "/" + "strtool-strs/*" + " " + cur + "/" + tokenpath + "/."] ,shell=True)
|
subprocess.call(["mv " + cur + "/" + "strtool-strs/*" + " " + cur + "/" + tokenpath + "/."] ,shell=True)
|
||||||
subprocess.call(["find "+tokenpath+" -size 0 -delete"],shell=True)
|
subprocess.call(["find "+tokenpath+" -size 0 -delete"],shell=True)
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ def do_string_analysis(corpdir, infile1):
|
|||||||
for i, num1 in enumerate(lines):
|
for i, num1 in enumerate(lines):
|
||||||
if i != 0:
|
if i != 0:
|
||||||
new_lst1.append(num1)
|
new_lst1.append(num1)
|
||||||
print("num : %s" % num1)
|
#print("num : %s" % num1)
|
||||||
str11 = str(num1)
|
str11 = str(num1)
|
||||||
str11 = str11.replace("|","")
|
str11 = str11.replace("|","")
|
||||||
str11 = str11.replace("\n","")
|
str11 = str11.replace("\n","")
|
||||||
|
@ -40,7 +40,7 @@ def do_string_analysis(corpdir, infile1):
|
|||||||
for i, num1 in enumerate(lines):
|
for i, num1 in enumerate(lines):
|
||||||
if i != 0:
|
if i != 0:
|
||||||
new_lst1.append(num1)
|
new_lst1.append(num1)
|
||||||
print("num : %s" % num1)
|
#print("num : %s" % num1)
|
||||||
str11 = str(num1)
|
str11 = str(num1)
|
||||||
str11 = str11.replace("|","")
|
str11 = str11.replace("|","")
|
||||||
str11 = str11.replace("\n","")
|
str11 = str11.replace("\n","")
|
||||||
|
@ -40,7 +40,7 @@ def do_string_analysis(corpdir, infile1):
|
|||||||
for i, num1 in enumerate(lines):
|
for i, num1 in enumerate(lines):
|
||||||
if i != 0:
|
if i != 0:
|
||||||
new_lst1.append(num1)
|
new_lst1.append(num1)
|
||||||
print("num : %s" % num1)
|
#print("num : %s" % num1)
|
||||||
str11 = str(num1)
|
str11 = str(num1)
|
||||||
str11 = str11.replace("|","")
|
str11 = str11.replace("|","")
|
||||||
str11 = str11.replace("\n","")
|
str11 = str11.replace("\n","")
|
||||||
|
@ -40,7 +40,7 @@ def do_string_analysis(corpdir, infile1):
|
|||||||
for i, num1 in enumerate(lines):
|
for i, num1 in enumerate(lines):
|
||||||
if i != 0:
|
if i != 0:
|
||||||
new_lst1.append(num1)
|
new_lst1.append(num1)
|
||||||
print("num : %s" % num1)
|
#print("num : %s" % num1)
|
||||||
str11 = str(num1)
|
str11 = str(num1)
|
||||||
str11 = str11.replace("|","")
|
str11 = str11.replace("|","")
|
||||||
str11 = str11.replace("\n","")
|
str11 = str11.replace("\n","")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user