summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorSumnima Joshi <sumnima@google.com>2017-07-26 16:31:42 -0700
committerSumnima Joshi <sumnima@google.com>2017-08-10 16:04:21 -0700
commit9557d05dfcb8c7abb79af111b6ed1952cf25f15e (patch)
tree9d8e1067a0c916a901228c979284eefb47e6ddde /compiler/optimizing/graph_visualizer.cc
parentad7083187bef32afe6f350681ec47a27441442d0 (diff)
Added a new mutator called NewInstanceChanger.
Added a new mutator named NewInstanceChanger which changes the type of the instance to any random type from the pool. Most of the times, it becomes invalid after being changed. It tries to change the type of invoke direct that follows. Also, the mutator makes a matching method id if needed. Test: ran dexfuzz until the mutation showed up. before: new-instance v0, LX; // type@0001 invoke-direct {v0}, LX;.<init>:()V // method@0000 after: new-instance v0, LY; // type@0002 invoke-direct {v0}, LY;.<init>:()V // method@0000 Change-Id: I6eccaebf9910c177e9cff0b5d3ac058565c4331e
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions