feat: 正则匹配检测测试
This commit is contained in:
@@ -43,7 +43,6 @@ def inject_random_backdoor(
|
||||
if random.random() < sample_rate:
|
||||
injected_python_files.append(python_file)
|
||||
injectedNum = len(injected_python_files)
|
||||
print([str(i) for i in injected_python_files])
|
||||
for python_file in injected_python_files:
|
||||
with open(python_file, "r+",errors="ignore") as f:
|
||||
lines = f.readlines()
|
||||
|
||||
Reference in New Issue
Block a user