|
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.appendboguscode.AppendBogusCode
This is the AppendBogusCode class which appends code after the final statement of a method (this may crash some reverse engineering software).
Constructor Summary | |
AppendBogusCode()
|
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. |
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, 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 AppendBogusCode()
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
|
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 |