Parameter Files
Instead of typing Crema parameters at the command line, you can also put them in a parameter file. This is particularly useful when you want to specify long lists of files to be processed, of classes/members to be excluded (-xc and -xm parameters) or when you want to specify a long message (-msg parameter). Parameters files can also conveniently be used to record all the input files and obfuscation parameters for a project.
Use the -@ parameter to specify a parameter file. Parameter files can be used in addition to, or instead of, other command line parameters.
When Crema runs, it automatically processes a file called Crema.ini if one exists in the current directory. This parameter file is processed before any command line parameters.
The syntax of parameter files is identical to the command line parameters. You can put multiple parameters on a single line, or each on a separate line. All parameters that are valid on the command line can be used in parameter files. In addition, you can use // and /* */ to include comments in a parameter file.
The following is an example parameter file:
-pub -msg "WARNING: CoolApp is copyright (c) 1999 FutureWare, Inc." -msg " Decompilation is a violation of the license agreement." -msg " You risk criminal prosecution by proceeding." -xc CoolApp // top class -xm CoolApp.main // application entrypoint
<< | Copyright © 1996 Hanpeter van Vliet | >> |