|
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.ClassObfuscator | +--sandmark.obfuscate.methodmadness.StaticSplit
Splits each nonstatic method of the class into a nonstatic method with the same name and signature as before, and a static method that contains the method body of the original method.
Used by Method2RMadness obfuscator.
Field Summary | |
static boolean |
DEBUG
|
Constructor Summary | |
StaticSplit()
|
Method Summary | |
void |
apply(ClassFileCollection cfc,
java.lang.String classname)
Modifies the given class file collection, class, and method so that the each method of the class is split into two parts. |
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()
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()
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. |
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 the ConfigProperties object which specifies the parameters for this run of the algorithm. |
void |
split(de.fub.bytecode.generic.MethodGen origMethEdit,
de.fub.bytecode.generic.ClassGen classEdit,
de.fub.bytecode.generic.ConstantPoolGen cpEdit)
|
Methods inherited from class sandmark.obfuscate.ClassObfuscator |
toString |
Methods inherited from class sandmark.Algorithm |
getPostprohibited, getPostrequisites, 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 boolean DEBUG
Constructor Detail |
public StaticSplit()
Method Detail |
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void apply(ClassFileCollection cfc, java.lang.String classname) throws java.io.IOException
apply
in class ClassObfuscator
cfc
- the collection of java classes dependent on this classclassname
- the name of the class which contains the methods to change
java.io.IOException
public void split(de.fub.bytecode.generic.MethodGen origMethEdit, de.fub.bytecode.generic.ClassGen classEdit, de.fub.bytecode.generic.ConstantPoolGen cpEdit)
public java.lang.String getAlgURL()
getAlgURL
in class Algorithm
public java.lang.String getAlgHTML()
getAlgHTML
in class Algorithm
public java.lang.String getAuthor()
Algorithm
getAuthor
in class Algorithm
public java.lang.String getAuthorEmail()
Algorithm
getAuthorEmail
in class Algorithm
public void setConfigProperties(ConfigProperties props)
Algorithm
setConfigProperties
in class Algorithm
props
- the parameters for this run of the algorithmpublic java.lang.String getDescription()
Algorithm
getDescription
in class Algorithm
public ModificationProperty[] getMutations()
Algorithm
ModificationProperty
.
getMutations
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 ConfigProperties getConfigProperties()
Algorithm
getConfigProperties
in class Algorithm
public java.lang.String getLongName()
getLongName
in class Algorithm
public java.lang.String getShortName()
getShortName
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 |