|
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.AppObfuscator | +--sandmark.obfuscate.nameoverloading.NameOverloading
Name obfuscation based on Paul Tyma's patented algorithm.
lenards@cs.arizona.edu and kheffner@cs.arizona.edu
Constructor Summary | |
NameOverloading()
creates an obfuscator |
Method Summary | |
void |
apply(ClassFileCollection cfc)
applies the given obfuscation to the ClassFileCollection passed as an argument (overrides abstract method defined in superclass, AppObfuscator) |
void |
apply(java.lang.String[] classes,
ClassFileCollection cfc)
applies the given obfuscation to the array of JavaClass objects is passed as parameters. |
protected boolean |
commitNameChanges(java.lang.String[] classes,
ClassFileCollection cfc)
performs that actual changes of the methods names |
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()
Returns this obfuscator's long name. |
ModificationProperty[] |
getMutations()
Specifies the types of modifications that the algorithm makes. |
java.lang.String |
getShortName()
Returns this obfuscator's short name. |
static void |
main(java.lang.String[] andy)
|
static java.lang.String |
parseSignature(java.lang.String sig)
parses the String passed as a method, the String represents the signature of a method. |
void |
setConfigProperties(ConfigProperties props)
Sets the ConfigProperties object which specifies the parameters for this run of the algorithm. |
java.lang.String |
toString()
Returns a string representation of this obfuscator. |
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 |
Constructor Detail |
public NameOverloading()
Method Detail |
public java.lang.String getShortName()
getShortName
in class Algorithm
public java.lang.String getLongName()
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 ModificationProperty[] getMutations()
Algorithm
ModificationProperty
.
getMutations
in class Algorithm
public void apply(ClassFileCollection cfc)
apply
in class AppObfuscator
cfc
- ClassFileCollection contianing the applications
classfilespublic void apply(java.lang.String[] classes, ClassFileCollection cfc) throws java.io.IOException
classes
- JavaClass objects that make up the application being
obfuscated.
java.io.IOException
protected boolean commitNameChanges(java.lang.String[] classes, ClassFileCollection cfc)
classes
- JavaClass objects that make up the application being
obfuscatedpublic static java.lang.String parseSignature(java.lang.String sig)
sig
- String representing a method signature
public java.lang.String toString()
AppObfuscator
toString
in class AppObfuscator
public static void main(java.lang.String[] andy)
|
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 |