|
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.varsplitter.VarSplitter
This is the VarSplitter class which splits a local variable so that all assignments of value go to a new location (in addition) and some of the references to the value of the variable are changed to the new location.
Constructor Summary | |
VarSplitter()
|
Method Summary | |
void |
apply(ClassFileCollection cfc,
java.lang.String classname,
java.lang.String methname,
java.lang.String signat)
Performs the actual modification of the requested method... |
java.lang.String |
getAlgHTML()
Returns an HTML description of this obfuscator. |
java.lang.String |
getAlgURL()
Returns the URL at which you can find information about this obfuscator. |
java.lang.String |
getAuthor()
Specifies the author of the algorithm. |
java.lang.String |
getAuthorEmail()
Specifies the email address author of the algorithm. |
ConfigProperties |
getConfigProperties()
Returns this obfuscator's configuration properties. |
java.lang.String |
getDescription()
Specifies what this algorithm does, briefly. |
java.lang.String |
getLongName()
Returns a long description of this obfuscator's name. |
ModificationProperty[] |
getMutations()
Specifies the types of modifications that the algorithm makes. |
RequisiteProperty[] |
getPostsuggestions()
Specifies a list of properties of algorithms that should be run on the target code after this algorithm is run, but are not necessary. |
RequisiteProperty[] |
getPreprohibited()
Specifies a list of properties of algorithms that cannot be run on the target code before this algorithm is run. |
RequisiteProperty[] |
getPresuggestions()
Specifies a list of properties of algorithms that should be run on the target code before this algorithm is run, but are not necessary. |
java.lang.String |
getShortName()
Returns a short description of this obfuscator's name. |
static void |
main(java.lang.String[] args)
|
void |
setConfigProperties(ConfigProperties props)
Sets this obfuscator's configuration properties to the given properties. |
Methods inherited from class sandmark.obfuscate.MethodObfuscator |
toString |
Methods inherited from class sandmark.Algorithm |
getPostprohibited, getPostrequisites, getPrerequisites, getReferences |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public VarSplitter()
Method Detail |
public void apply(ClassFileCollection cfc, java.lang.String classname, java.lang.String methname, java.lang.String signat) throws java.lang.Exception
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.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public java.lang.String getAlgURL()
getAlgURL
in class Algorithm
public java.lang.String getAlgHTML()
getAlgHTML
in class Algorithm
public void setConfigProperties(ConfigProperties props)
setConfigProperties
in class Algorithm
props
- the ConfigProperties to use.public ConfigProperties getConfigProperties()
getConfigProperties
in class Algorithm
public java.lang.String getLongName()
getLongName
in class Algorithm
public java.lang.String getShortName()
getShortName
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 getDescription()
Algorithm
getDescription
in class Algorithm
public ModificationProperty[] getMutations()
Algorithm
ModificationProperty
.
getMutations
in class Algorithm
public RequisiteProperty[] getPresuggestions()
Algorithm
RequisiteProperty
for more details.
This method should only be overridden if the algorithm has a nonempty
set of pre-suggestions.
getPresuggestions
in class Algorithm
public RequisiteProperty[] getPostsuggestions()
Algorithm
RequisiteProperty
for more details.
This method should only be overridden if the algorithm has a nonempty
set of post-suggestions.
getPostsuggestions
in class Algorithm
public RequisiteProperty[] getPreprohibited()
Algorithm
RequisiteProperty
for more details. This method should
only be overridden if there is a nonempty set of prohibited algorithms.
getPreprohibited
in class 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 |