|
![]() 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.classsplitter.ClassSplitter
To be brief ,the splitting technique splits at the class level.* A class C is broken into classes C 1 , C 2 ...C n -1 and C ,such * that C 2 inherits from C 1 ... and C inherits from C n-1. C 1 has * fields and methods that only refer to themselves, whereas C 2 has * fields and methods that can refer to themselves as well as fields * and methods in C1 . *
| Field Summary | |
(package private) int |
count
|
| Constructor Summary | |
ClassSplitter()
Constructor |
|
| Method Summary | |
void |
apply(ClassFileCollection cfc,
java.lang.String classname)
Applies this obfuscation to a class in a ClassFileCollection. |
void |
cloneClass(java.lang.String classPath,
int i)
cloneClass creates copies of the original class by copying all the * constants in the constantPool of the original file * |
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 |
setConfigProperties(ConfigProperties props)
Set the properties of ClassSplitter |
(package private) void |
trimClass(int i)
trimclass trims the classfile 's contents to hold only those fields * and methods that the topological sort of the DG asks it to have |
| 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 |
int count
| Constructor Detail |
public ClassSplitter()
| Method Detail |
void trimClass(int i)
public void cloneClass(java.lang.String classPath,
int i)
public java.lang.String getShortName()
Algorithm
getShortName in class Algorithmpublic java.lang.String getLongName()
Algorithm
getLongName in class Algorithmpublic ConfigProperties getConfigProperties()
Algorithm
getConfigProperties in class Algorithmpublic void setConfigProperties(ConfigProperties props)
setConfigProperties in class Algorithmprops - public java.lang.String getAlgHTML()
Algorithm
getAlgHTML in class Algorithmpublic java.lang.String getAlgURL()
Algorithm
getAlgURL in class Algorithmpublic ModificationProperty[] getMutations()
AlgorithmModificationProperty.
getMutations in class Algorithm
public void apply(ClassFileCollection cfc,
java.lang.String classname)
throws java.lang.Exception
ClassObfuscator
apply in class ClassObfuscatorcfc - classname -
java.lang.Exceptionpublic java.lang.String getAuthor()
Algorithm
getAuthor in class Algorithmpublic java.lang.String getAuthorEmail()
Algorithm
getAuthorEmail in class Algorithmpublic java.lang.String getDescription()
Algorithm
getDescription 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 | |||||||||