sandmark.watermark.ct.encode.ir2ir
Class Protect
java.lang.Object
|
+--sandmark.watermark.ct.encode.ir2ir.Transformer
|
+--sandmark.watermark.ct.encode.ir2ir.Protect
- public class Protect
- extends Transformer
Field Summary |
(package private) java.lang.String[] |
protectionMethods
|
(package private) static java.util.Random |
random
|
Constructor Summary |
Protect(Build p,
java.util.Properties props)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
protectionMethods
java.lang.String[] protectionMethods
random
static java.util.Random random
Protect
public Protect(Build p,
java.util.Properties props)
protectionKinds
static java.lang.String[] protectionKinds(java.lang.String protectionMethods)
pickRandomProtection
java.lang.String pickRandomProtection()
findUnsafe
List findUnsafe(List p)
protectRegion
List protectRegion(List p)
addProtection
List addProtection(List methods)
mutate
public Build mutate()
- Specified by:
mutate
in class Transformer
main
public static void main(java.lang.String[] args)