/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
H A D | CodeMutator.java | 23 import dexfuzz.program.Mutation; 45 protected List<Mutation> mutations; 66 public CodeMutator(Random rng, MutationStats stats, List<Mutation> mutations) { 97 public void forceMutate(Mutation mutation) { 117 Mutation mutation = generateMutation(mutatableCode); 131 protected abstract Mutation generateMutation(MutatableCode mutatableCode); 133 protected abstract void applyMutation(Mutation uncastMutation); 135 public abstract Mutation getNewMutation();
|
H A D | InstructionDeleter.java | 24 import dexfuzz.program.Mutation; 35 public static class AssociatedMutation extends Mutation { 50 // so it can create a CodeMutator and get the correct associated Mutation, as it 53 public Mutation getNewMutation() { 59 public InstructionDeleter(Random rng, MutationStats stats, List<Mutation> mutations) { 76 protected Mutation generateMutation(MutatableCode mutatableCode) { 87 protected void applyMutation(Mutation uncastMutation) { 88 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | InstructionDuplicator.java | 23 import dexfuzz.program.Mutation; 35 public static class AssociatedMutation extends Mutation { 50 // so it can create a CodeMutator and get the correct associated Mutation, as it 53 public Mutation getNewMutation() { 59 public InstructionDuplicator(Random rng, MutationStats stats, List<Mutation> mutations) { 65 protected Mutation generateMutation(MutatableCode mutatableCode) { 89 protected void applyMutation(Mutation uncastMutation) { 90 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | BranchShifter.java | 24 import dexfuzz.program.Mutation; 36 public static class AssociatedMutation extends Mutation { 56 // so it can create a CodeMutator and get the correct associated Mutation, as it 59 public Mutation getNewMutation() { 65 public BranchShifter(Random rng, MutationStats stats, List<Mutation> mutations) { 107 protected Mutation generateMutation(MutatableCode mutatableCode) { 148 protected void applyMutation(Mutation uncastMutation) { 149 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | CmpBiasChanger.java | 23 import dexfuzz.program.Mutation; 37 public static class AssociatedMutation extends Mutation { 52 // so it can create a CodeMutator and get the correct associated Mutation, as it 55 public Mutation getNewMutation() { 61 public CmpBiasChanger(Random rng, MutationStats stats, List<Mutation> mutations) { 98 protected Mutation generateMutation(MutatableCode mutatableCode) { 110 protected void applyMutation(Mutation uncastMutation) { 111 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | ConstantValueChanger.java | 23 import dexfuzz.program.Mutation; 36 public static class AssociatedMutation extends Mutation { 56 // so it can create a CodeMutator and get the correct associated Mutation, as it 59 public Mutation getNewMutation() { 65 public ConstantValueChanger(Random rng, MutationStats stats, List<Mutation> mutations) { 101 protected Mutation generateMutation(MutatableCode mutatableCode) { 127 protected void applyMutation(Mutation uncastMutation) { 128 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | InstructionSwapper.java | 23 import dexfuzz.program.Mutation; 34 public static class AssociatedMutation extends Mutation { 54 // so it can create a CodeMutator and get the correct associated Mutation, as it 57 public Mutation getNewMutation() { 63 public InstructionSwapper(Random rng, MutationStats stats, List<Mutation> mutations) { 79 protected Mutation generateMutation(MutatableCode mutatableCode) { 143 protected void applyMutation(Mutation uncastMutation) { 144 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | ConversionRepeater.java | 23 import dexfuzz.program.Mutation; 37 public static class AssociatedMutation extends Mutation { 52 // so it can create a CodeMutator and get the correct associated Mutation, as it 55 public Mutation getNewMutation() { 61 public ConversionRepeater(Random rng, MutationStats stats, List<Mutation> mutations) { 98 protected Mutation generateMutation(MutatableCode mutatableCode) { 108 protected void applyMutation(Mutation uncastMutation) { 109 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | FieldFlagChanger.java | 23 import dexfuzz.program.Mutation; 39 public static class AssociatedMutation extends Mutation { 59 // so it can create a CodeMutator and get the correct associated Mutation, as it 62 public Mutation getNewMutation() { 68 public FieldFlagChanger(Random rng, MutationStats stats, List<Mutation> mutations) { 105 protected Mutation generateMutation(MutatableCode mutatableCode) { 129 protected void applyMutation(Mutation uncastMutation) { 130 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | NewMethodCaller.java | 23 import dexfuzz.program.Mutation; 37 public static class AssociatedMutation extends Mutation { 90 // so it can create a CodeMutator and get the correct associated Mutation, as it 93 public Mutation getNewMutation() { 99 public NewMethodCaller(Random rng, MutationStats stats, List<Mutation> mutations) { 105 protected Mutation generateMutation(MutatableCode mutatableCode) { 138 protected void applyMutation(Mutation uncastMutation) { 139 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | NonsenseStringPrinter.java | 23 import dexfuzz.program.Mutation; 36 public static class AssociatedMutation extends Mutation { 56 // so it can create a CodeMutator and get the correct associated Mutation, as it 59 public Mutation getNewMutation() { 65 public NonsenseStringPrinter(Random rng, MutationStats stats, List<Mutation> mutations) { 71 protected Mutation generateMutation(MutatableCode mutatableCode) { 96 protected void applyMutation(Mutation uncastMutation) { 97 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | PoolIndexChanger.java | 23 import dexfuzz.program.Mutation; 37 public static class AssociatedMutation extends Mutation { 57 // so it can create a CodeMutator and get the correct associated Mutation, as it 60 public Mutation getNewMutation() { 66 public PoolIndexChanger(Random rng, MutationStats stats, List<Mutation> mutations) { 127 protected Mutation generateMutation(MutatableCode mutatableCode) { 174 protected void applyMutation(Mutation uncastMutation) { 175 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | SwitchBranchShifter.java | 24 import dexfuzz.program.Mutation; 36 public static class AssociatedMutation extends Mutation { 59 // so it can create a CodeMutator and get the correct associated Mutation, as it 62 public Mutation getNewMutation() { 68 public SwitchBranchShifter(Random rng, MutationStats stats, List<Mutation> mutations) { 105 protected Mutation generateMutation(MutatableCode mutatableCode) { 150 protected void applyMutation(Mutation uncastMutation) { 151 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | TryBlockShifter.java | 24 import dexfuzz.program.Mutation; 35 public static class AssociatedMutation extends Mutation { 68 // so it can create a CodeMutator and get the correct associated Mutation, as it 71 public Mutation getNewMutation() { 77 public TryBlockShifter(Random rng, MutationStats stats, List<Mutation> mutations) { 93 protected Mutation generateMutation(MutatableCode mutatableCode) { 174 protected void applyMutation(Mutation uncastMutation) { 175 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | VRegChanger.java | 23 import dexfuzz.program.Mutation; 36 public static class AssociatedMutation extends Mutation { 59 // so it can create a CodeMutator and get the correct associated Mutation, as it 62 public Mutation getNewMutation() { 68 public VRegChanger(Random rng, MutationStats stats, List<Mutation> mutations) { 108 protected Mutation generateMutation(MutatableCode mutatableCode) { 153 protected void applyMutation(Mutation uncastMutation) { 154 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | ValuePrinter.java | 23 import dexfuzz.program.Mutation; 36 public static class AssociatedMutation extends Mutation { 51 // so it can create a CodeMutator and get the correct associated Mutation, as it 54 public Mutation getNewMutation() { 60 public ValuePrinter(Random rng, MutationStats stats, List<Mutation> mutations) { 78 protected Mutation generateMutation(MutatableCode mutatableCode) { 106 protected void applyMutation(Mutation uncastMutation) { 107 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | RandomInstructionGenerator.java | 24 import dexfuzz.program.Mutation; 43 public static class AssociatedMutation extends Mutation { 94 // so it can create a CodeMutator and get the correct associated Mutation, as it 97 public Mutation getNewMutation() { 103 public RandomInstructionGenerator(Random rng, MutationStats stats, List<Mutation> mutations) { 109 protected Mutation generateMutation(MutatableCode mutatableCode) { 203 protected void applyMutation(Mutation uncastMutation) { 204 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
H A D | ArithOpChanger.java | 23 import dexfuzz.program.Mutation; 38 public static class AssociatedMutation extends Mutation { 58 // so it can create a CodeMutator and get the correct associated Mutation, as it 61 public Mutation getNewMutation() { 67 public ArithOpChanger(Random rng, MutationStats stats, List<Mutation> mutations) { 104 protected Mutation generateMutation(MutatableCode mutatableCode) { 127 protected void applyMutation(Mutation uncastMutation) { 128 // Cast the Mutation to our AssociatedMutation, so we can access its fields.
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
H A D | Mutation.java | 22 * Mutation should be subclassed by an AssociatedMutation in each CodeMutator, 26 public abstract class Mutation { class
|
H A D | MutationSerializer.java | 31 public static String getMutationString(Mutation mutation) { 39 public static void writeMutation(BufferedWriter writer, Mutation mutation) throws IOException { 49 public static Mutation readMutation(BufferedReader reader) throws IOException { 69 Mutation mutation = null; 80 Log.errorAndQuit("Unable to get Mutation for Mutator: " + mutatorClassName);
|
H A D | Program.java | 129 private List<Mutation> mutations; 146 public Program(RawDexFile rawDexFile, List<Mutation> previousMutations, 168 mutations = new ArrayList<Mutation>(); 484 for (Mutation mutation : mutations) { 498 Mutation mutation = MutationSerializer.readMutation(reader); 509 for (Mutation mutation : mutations) { 527 public List<Mutation> getMutations() {
|
/art/tools/dexfuzz/src/dexfuzz/listeners/ |
H A D | BaseListener.java | 21 import dexfuzz.program.Mutation; 74 public void handleMutations(List<Mutation> mutations) { }
|
H A D | ConsoleLoggerListener.java | 21 import dexfuzz.program.Mutation; 55 public void handleMutations(List<Mutation> mutations) { 56 for (Mutation mutation : mutations) {
|
H A D | MultiplexerListener.java | 21 import dexfuzz.program.Mutation; 193 public void handleMutations(List<Mutation> mutations) {
|
H A D | LogFileListener.java | 22 import dexfuzz.program.Mutation; 191 write("Mutation Stats: " + statsString); 201 write("Mutation process: FAILED"); 271 public void handleMutations(List<Mutation> mutations) { 273 for (Mutation mutation : mutations) {
|