Commit 032ffa20 by sikang

update

parent 08e0d2d2
......@@ -46,9 +46,9 @@ class JavaGarble:
with open(file,"w+",encoding="utf-8") as fout:
for line in lines:
# interface 不混淆
if "interface" in line and "{\n" in line:
fout.write(line)
continue
# if "interface" in line and "{\n" in line:
# fout.write(line)
# continue
#class下插入全局变量
if (line.startswith("class ") or " class " in line) and "{" in line:
for var in self.__variables:
......@@ -60,7 +60,7 @@ class JavaGarble:
# if result != None:
# print(result.group())
# if :
fout.write(line)
def java_garble(self,config):
__used_names = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment