|
SandMark version 3.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.MethodObfuscator | +--sandmark.obfuscate.localvar.VariableReassigner
VariableReassigner obfuscates a method by using sandmark.util.controlflowgraph.RegisterAllocator to reallocate the local variable usage.
Constructor Summary | |
VariableReassigner()
|
Method Summary | |
void |
apply(ClassFileCollection cfc,
java.lang.String classname,
java.lang.String methname,
java.lang.String signat)
Applies this obfuscation to a method contained in ClassFileCollection. |
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. |
ModificationProperty[] |
getMutations()
Specifies the types of modifications that the algorithm makes. |
RequisiteProperty[] |
getPrerequisites()
Specifies a list of properties of algorithms that must be run on the target code before this algorithm is run. |
java.lang.String |
getShortName()
Specifies this algorithm's short name. |
void |
setConfigProperties(ConfigProperties p)
Sets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
Methods inherited from class sandmark.obfuscate.MethodObfuscator |
toString |
Methods inherited from class sandmark.Algorithm |
getPostprohibited, getPostrequisites, getPostsuggestions, getPreprohibited, getPresuggestions, getReferences |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public VariableReassigner()
Method Detail |
public void apply(ClassFileCollection cfc, java.lang.String classname, java.lang.String methname, java.lang.String signat) throws java.io.IOException
MethodObfuscator
apply
in class MethodObfuscator
cfc
- the collection of classes for the entire application that this method is a part ofclassname
- the name of the class that this method is inmethname
- the name of the method to obfuscatesignat
- the signature of the method to obfuscate
java.io.IOException
public java.lang.String getAlgHTML()
Algorithm
getAlgHTML
in class Algorithm
public java.lang.String getAlgURL()
Algorithm
getAlgURL
in class Algorithm
public java.lang.String getAuthor()
Algorithm
getAuthor
in class Algorithm
public java.lang.String getAuthorEmail()
Algorithm
getAuthorEmail
in class Algorithm
public ConfigProperties getConfigProperties()
Algorithm
getConfigProperties
in class Algorithm
public java.lang.String getDescription()
Algorithm
getDescription
in class Algorithm
public java.lang.String getLongName()
Algorithm
getLongName
in class Algorithm
public ModificationProperty[] getMutations()
Algorithm
ModificationProperty
.
getMutations
in class Algorithm
public RequisiteProperty[] getPrerequisites()
Algorithm
RequisiteProperty
for more details. This method should
only be overridden if the algorithm has prerequisites.
getPrerequisites
in class Algorithm
public java.lang.String getShortName()
Algorithm
getShortName
in class Algorithm
public void setConfigProperties(ConfigProperties p)
Algorithm
setConfigProperties
in class Algorithm
p
- the parameters for this run of the algorithm
|
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 |