|
SandMark version 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.Algorithm | +--sandmark.obfuscate.GeneralObfuscator | +--sandmark.obfuscate.AppObfuscator | +--sandmark.obfuscate.loop.ObfuscationLoop
ObfuscationLoop is an application level obfuscator that runs a random subset (possibly all) of obfuscations. The set of obfuscations is determined by the dependency information provided by each algorithm.
Field Summary | |
static boolean |
DEBUG
Debugging flag used by the author. |
Constructor Summary | |
ObfuscationLoop()
Creates an ObfuscationLoop object. |
Method Summary | |
void |
apply(ClassFileCollection cfc)
Runs a series of different obfuscation algorithms on the class file collection. |
java.lang.String |
getAlgHTML()
Gives a description of what the algorithm does. |
java.lang.String |
getAlgURL()
Specifies the URL of where the user can find more information about the algorithm. |
java.lang.String |
getAuthor()
Specifies the author of the algorithm. |
java.lang.String |
getAuthorEmail()
Specifies the email address author of the algorithm. |
ConfigProperties |
getConfigProperties()
Gets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
java.lang.String |
getDescription()
Specifies what this algorithm does, briefly. |
java.lang.String |
getLongName()
Specifies this algorithm's long name. |
java.lang.String |
getShortName()
Specifies this algorithm's short name. |
static void |
main(java.lang.String[] args)
A command line testing method. |
void |
setConfigProperties(ConfigProperties p)
Sets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
Methods inherited from class sandmark.obfuscate.AppObfuscator |
toString |
Methods inherited from class sandmark.Algorithm |
getMutations, getPostprohibited, getPostrequisites, getPostsuggestions, getPreprohibited, getPrerequisites, getPresuggestions, getReferences |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final boolean DEBUG
Constructor Detail |
public ObfuscationLoop()
Method Detail |
public void apply(ClassFileCollection cfc) throws java.lang.Exception
apply
in class AppObfuscator
cfc
- the classes to obfuscate
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- args[0] should contain the name of the jar file to obfuscate
java.lang.Exception
public java.lang.String getShortName()
Algorithm
getShortName
in class Algorithm
public java.lang.String getLongName()
Algorithm
getLongName
in class Algorithm
public java.lang.String getAuthor()
Algorithm
getAuthor
in class Algorithm
public java.lang.String getAuthorEmail()
Algorithm
getAuthorEmail
in class Algorithm
public java.lang.String getAlgURL()
Algorithm
getAlgURL
in class Algorithm
public java.lang.String getAlgHTML()
Algorithm
getAlgHTML
in class Algorithm
public java.lang.String getDescription()
Algorithm
getDescription
in class Algorithm
public ConfigProperties getConfigProperties()
Algorithm
getConfigProperties
in class Algorithm
public void setConfigProperties(ConfigProperties p)
Algorithm
setConfigProperties
in class Algorithm
p
- the parameters for this run of the algorithm
|
SandMark version 2.1 Wed Jul 3 17:27:43 MST 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |