The
The ZKM Script |
Omitted parameter | Effect |
---|---|
changeLogFileOut
|
changeLogFileOut="ChangeLog.txt"
|
aggressiveMethodRenaming
|
aggressiveMethodRenaming=false
|
newNameCharacters
|
newNameCharacters=ASCII
|
keepInnerClassInfo
|
keepInnerClassInfo=false
|
keepGenericsInfo
|
keepGenericsInfo=true
|
obfuscateFlow
|
obfuscateFlow=light
|
exceptionObfuscation
|
exceptionObfuscation=light
|
encryptStringLiterals
|
encryptStringLiterals=enhanced
|
encryptIntegerConstants
|
encryptIntegerConstants=none
|
encryptLongConstants
|
encryptLongConstants=none
|
mixedCaseClassNames
|
mixedCaseClassNames=ifInArchive
|
lineNumbers
|
lineNumbers=delete
|
localVariables
|
localVariables=delete
|
methodParameters
|
methodParameters=keepVisible
|
hideFieldNames
|
hideFieldNames=false
|
hideStaticMethodNames
|
hideStaticMethodNames=false
|
legalIdentifiers
|
legalIdentifiers=true
|
randomize
|
randomize=false
|
uniqueClassNames
|
uniqueClassNames=false
|
uniqueMethodNames
|
uniqueMethodNames=false
|
obfuscateReferences
|
obfuscateReferences=none
|
obfuscateReferenceStructures
|
obfuscateReferenceStructures=inSpecialClass
|
autoReflectionHandling
|
autoReflectionHandling=none
|
methodParameterChanges
|
methodParameterChanges=none
|
obfuscateParameters
|
obfuscateParameters=none
|
makeClassesPublic
|
makeClassesPublic=false
|
allClassesOpened
|
allClassesOpened=true
|
deriveGroupingsFromInputChangeLog
|
deriveGroupingsFromInputChangeLog=false
|
keepBalancedLocks
|
keepBalancedLocks=false
|
preverify
|
preverify=true
|
obfuscate; //Obfuscate using the defaults obfuscate changeLogFileOut="" //Don't write to a change log file lineNumbers=scramble //Scramble and keep the line number tables obfuscateFlow=none; //Don't obfuscate control flow obfuscate changeLogFileIn="ChangeLogIn.txt" //Use ChangeLogIn.txt as the input change log changeLogFileOut="ChangeLog.txt" //Write to change log file ChangeLog.txt obfuscateFlow=light //Light control flow obfuscation encryptStringLiterals=flowObfuscate //Encrypt String literals using a flow obfuscated decrypt method encryptIntegerConstants=normal //Encrypt integer constants collapsePackagesWithDefault="foo" //Collapse packages into package "foo" newNamesPrefix="Z"; //Prepend "Z" to every new obfuscated name //Use ChangeLogIn0.txt and ChangeLogIn1.txt as loose input change logs obfuscate looseChangeLogFileIn="ChangeLogIn0.txt","ChangeLogIn1.txt";
"obfuscate"
|
["changeLogFileIn" "=" "\"" changeLogFileNameIn "\"" ("," "\"" changeLogFileNameIn "\"")*]
|
["looseChangeLogFileIn" "=" "\"" changeLogFileNameIn "\"" ("," "\"" changeLogFileNameIn "\"")*]
|
|
["changeLogFileOut" "=" "\"" changeLogFileNameOut "\""]
|
|
["aggressiveMethodRenaming" "=" ("true" | "false")]
|
|
["newNameCharacters" "=" ("ASCII" | "non-ASCII")]
|
|
["keepInnerClassInfo" "=" ("true" | "false | "ifNameNotObfuscated")]
|
|
["keepGenericsInfo" "=" ("true" | "false")]
|
|
["obfuscateFlow" "=" ("none" | "light" | "normal" | "aggressive")]
|
|
["exceptionObfuscation" "=" ("none" | "light" | "heavy")]
|
|
["encryptStringLiterals" "=" ("none" | "normal" | "aggressive" | "flowObfuscate" | "enhanced")]
|
|
["encryptIntegerConstants" "=" ("none" | "normal" | "aggressive"]
|
|
["encryptLongConstants" "=" ("none" | "normal"]
|
|
["obfuscateReferences" "=" ("none" | "normal")]
|
|
["obfuscateReferenceStructures" "=" ("inSpecialClass" | "inReferencingClasses")]
|
|
["obfuscateReferencesPackage" "=" "\"" someExistingPackageName "\""]
|
|
["autoReflectionHandling" "=" ("none" | "normal")]
|
|
["autoReflectionPackage" "=" "\"" someExistingPackageName "\""]
|
|
["autoReflectionHash" "=" "\"" someAvailableHashAlgorithm "\""]
|
|
["collapsePackagesWithDefault=" "=" "\"" somePackageName "\""
|
|
["mixedCaseClassNames" "=" ("true" | "false" | "ifInArchive")]
|
|
["newPackageNameFile" "=" "\"" nameListFileName "\""]
|
|
["newClassNameFile" "=" "\"" nameListFileName "\""]
|
|
["newFieldNameFile" "=" "\"" nameListFileName "\""]
|
|
["newMethodNameFile" "=" "\"" nameListFileName "\""]
|
|
["lineNumbers" "=" ("delete" | "scramble" | "keep")]
|
|
["localVariables" "=" ("delete" | "keepVisibleMethodParameters" |
|
|
["methodParameters" "=" ("delete" | "keepVisible" |
|
|
["newNamesPrefix=" "=" "\"" someShortString "\""
|
|
["randomize" "=" ("true" | "false")]
|
|
["uniqueClassNames" "=" ("true" | "false")]
|
|
["uniqueMethodNames" "=" ("true" | "false")]
|
|
["methodParameterChanges" "=" ("none" | "normal" | "random" | "flowObfuscate")]
|
|
["allowMethodParameterChanges" "=" ("true" | "false")] (deprecated)
|
|
["methodParameterChangesPackage" "=" "\"" somePackageName "\""
|
|
["obfuscateParameters" "=" ("none" | "normal")]
|
|
["makeClassesPublic" "=" ("true" | "false")]
|
|
["allClassesOpened" "=" ("true" | "false")]
|
|
["deriveGroupingsFromInputChangeLog" "=" ("true" | "false")]
|
|
["keepBalancedLocks" "=" ("true" | "false")]
|
|
["preverify" "=" ("true" | "false")]
|
|
["legalIdentifiers" "=" ("true" | "false")]
|
|
["assumeRuntimeVersion" "=" "\"" someVersionDigit "\""]
|
|
["hideFieldNames" "=" ("true" | "false")]
|
|
["hideStaticMethodNames" "=" ("true" | "false")] ";"
|
|
|||