You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.0 KiB
28 lines
1.0 KiB
# This is a sample script file to obfuscate my project
|
|
|
|
strip = "unreach","lvt","inner"
|
|
|
|
load = new WildCard { value = "org.myorg.myproject" },
|
|
new WildCard { value = "org.myorg.mylib*" },
|
|
new WildCard { value = "org.otherorg.shortlib" }
|
|
|
|
preserve = new WildCard { value = "org.myorg.application.main.*" },
|
|
new WildCard { value = "org.myorg.applet.<init>.()V" },
|
|
new WildCard { value = "org.resources.bundle*.<init>.()V" },
|
|
new MultiIdentifierMatcher {
|
|
and = new WildCard { value = "org.myorg.publiclib.*" },
|
|
new ModifierMatcher { access = "PUBLIC" }
|
|
}
|
|
|
|
renamer = ney KeywordRenamer {
|
|
backup = new StrongRenamer {
|
|
charsetStart = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
|
charsetPart =
|
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_"
|
|
charsetPackage = "abcdefghijklmnopqrstuvwxyz"
|
|
charsetClass = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
|
}
|
|
}
|
|
|
|
analyzer = new SimpleAnalyzer
|
|
post = new LocalOptimizer, new RemovePopAnalyzer
|
|
|