|
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.modifyifelse.ModifyIfElse
Field Summary | |
(package private) BasicBlock |
block
|
(package private) MethodCFG |
cfg
|
(package private) de.fub.bytecode.generic.ClassGen |
cg
|
(package private) de.fub.bytecode.generic.ConstantPoolGen |
cp
|
(package private) BasicBlock |
curr
|
(package private) BasicBlock |
endblk
|
(package private) de.fub.bytecode.classfile.JavaClass |
java_class
|
(package private) java.util.ArrayList |
ldom
|
(package private) BasicBlock |
left
|
(package private) java.util.ArrayList |
llist
|
(package private) de.fub.bytecode.generic.MethodGen |
mg
|
(package private) java.util.ArrayList |
rdom
|
(package private) BasicBlock |
right
|
(package private) java.util.ArrayList |
rlist
|
Constructor Summary | |
ModifyIfElse()
|
Method Summary | |
void |
apply(ClassFileCollection cfc,
java.lang.String classname)
Applies this obfuscation to a class in a ClassFileCollection. |
void |
display()
|
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. |
java.lang.String |
getShortName()
Specifies this algorithm's short name. |
void |
initialize(ClassFileCollection cfc,
java.lang.String cn)
|
void |
modifyifelse()
|
void |
setConfigProperties(ConfigProperties props)
Sets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
Methods inherited from class sandmark.obfuscate.ClassObfuscator |
toString |
Methods inherited from class sandmark.Algorithm |
getPostprohibited, getPostrequisites, getPostsuggestions, getPreprohibited, getPrerequisites, getPresuggestions, getReferences |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
de.fub.bytecode.generic.ConstantPoolGen cp
de.fub.bytecode.generic.MethodGen mg
de.fub.bytecode.generic.ClassGen cg
de.fub.bytecode.classfile.JavaClass java_class
MethodCFG cfg
BasicBlock endblk
BasicBlock block
BasicBlock curr
BasicBlock left
BasicBlock right
java.util.ArrayList rlist
java.util.ArrayList llist
java.util.ArrayList ldom
java.util.ArrayList rdom
Constructor Detail |
public ModifyIfElse()
Method Detail |
public void initialize(ClassFileCollection cfc, java.lang.String cn)
public java.lang.String getShortName()
Algorithm
getShortName
in class Algorithm
public ModificationProperty[] getMutations()
Algorithm
ModificationProperty
.
getMutations
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)
Algorithm
setConfigProperties
in class Algorithm
props
- the parameters for this run of the algorithmpublic 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 java.lang.String getDescription()
Algorithm
getDescription
in class Algorithm
public void apply(ClassFileCollection cfc, java.lang.String classname) throws java.lang.Exception
ClassObfuscator
apply
in class ClassObfuscator
cfc
- classname
-
java.lang.Exception
public void display()
public void modifyifelse()
|
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 |