|
SandMark version 2.0 |
|||||||||
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.ClassObfuscator | +--sandmark.obfuscate.addbogusfields.AddBogusFields
The AddBogusFields obfuscator changes adds a bogus field to each class in an application and through out the class makes assignments to the field.
Constructor Summary | |
AddBogusFields()
Constructor. |
Method Summary | |
void |
apply(ClassFileCollection cfc,
java.lang.String className)
Applies this obfuscator to the given class. |
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. |
ConfigProperties |
getConfigProperties()
Gets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
java.lang.String |
getLongName()
Specifies this algorithm's long name. |
java.lang.String |
getShortName()
Specifies this algorithm's short name. |
void |
setConfigProperties(ConfigProperties props)
Set the properties of AddBogusFields |
Methods inherited from class sandmark.obfuscate.ClassObfuscator |
toString |
Methods inherited from class sandmark.Algorithm |
getAuthor, getAuthorEmail, getDescription, 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 |
Constructor Detail |
public AddBogusFields()
Method Detail |
public java.lang.String getShortName()
Algorithm
getShortName
in class Algorithm
public java.lang.String getLongName()
Algorithm
getLongName
in class Algorithm
public ConfigProperties getConfigProperties()
Algorithm
getConfigProperties
in class Algorithm
public void setConfigProperties(ConfigProperties props)
setConfigProperties
in class Algorithm
props
- public java.lang.String getAlgHTML()
Algorithm
getAlgHTML
in class Algorithm
public java.lang.String getAlgURL()
Algorithm
getAlgURL
in class Algorithm
public void apply(ClassFileCollection cfc, java.lang.String className) throws java.lang.Exception
apply
in class ClassObfuscator
cfc
- className
-
java.lang.Exception
|
SandMark version 2.0 Mon Jun 17 12:30:47 MST 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |