|
SandMark version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sandmark.obfuscate.loop.ObfuscationLoop
ObfuscationLoop is an application level obfuscator that runs a random subset of the obfuscations over different pieces of the application. The set of obfuscations is determined by the dependency information provided by each algorithm, and the level of obfuscation requested for each application fragment.
Field Summary | |
static boolean |
DEBUG
Debugging flag used by the author. |
protected java.util.ArrayList |
myCandidatePool
|
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()
|
java.lang.String |
getAlgURL()
|
java.lang.String |
getAuthor()
|
java.lang.String |
getAuthorEmail()
|
ConfigProperties |
getConfigProperties()
|
java.lang.String |
getDescription()
|
java.lang.String |
getLongName()
|
ModificationProperty[] |
getMutations()
|
java.lang.String |
getShortName()
|
protected void |
initializeAlgorithms()
|
protected ApplicationObject[] |
initObjects(ClassFileCollection cfc,
Stats stats)
|
static void |
main(java.lang.String[] args)
A command line testing method. |
void |
setConfigProperties(ConfigProperties p)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final boolean DEBUG
protected java.util.ArrayList myCandidatePool
Constructor Detail |
public ObfuscationLoop()
Method Detail |
protected void initializeAlgorithms()
public void apply(ClassFileCollection cfc) throws java.lang.Exception
cfc
- the classes to obfuscate
java.lang.Exception
protected ApplicationObject[] initObjects(ClassFileCollection cfc, Stats stats) throws java.io.IOException
java.io.IOException
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()
public java.lang.String getLongName()
public java.lang.String getAuthor()
public java.lang.String getAuthorEmail()
public java.lang.String getAlgURL()
public java.lang.String getAlgHTML()
public java.lang.String getDescription()
public ConfigProperties getConfigProperties()
public void setConfigProperties(ConfigProperties p)
public ModificationProperty[] getMutations()
|
SandMark version 3.0 Wed Jan 29 10:30:05 MST 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |