OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mInsn
(Results
1 - 19
of
19
) sorted by null
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
CmpBiasChanger.java
21
import dexfuzz.program.
MInsn
;
69
private List<
MInsn
> cmpBiasInsns = null;
76
cmpBiasInsns = new ArrayList<
MInsn
>();
78
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
79
if (isCmpBiasOperation(
mInsn
)) {
80
cmpBiasInsns.add(
mInsn
);
87
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
88
if (isCmpBiasOperation(
mInsn
)) {
[
all
...]
NewArrayLengthChanger.java
21
import dexfuzz.program.
MInsn
;
69
private List<
MInsn
> newArrayLengthInsns = null;
76
newArrayLengthInsns = new ArrayList<
MInsn
>();
78
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
79
if (isNewArray(
mInsn
)) {
80
newArrayLengthInsns.add(
mInsn
);
87
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
90
if (isNewArray(
mInsn
)) {
[
all
...]
IfBranchChanger.java
21
import dexfuzz.program.
MInsn
;
76
private List<
MInsn
> ifBranchInsns = null;
83
ifBranchInsns = new ArrayList<
MInsn
>();
85
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
86
if (isIfBranchOperation(
mInsn
)) {
87
ifBranchInsns.add(
mInsn
);
94
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
95
if (isIfBranchOperation(
mInsn
)) {
[
all
...]
InvokeChanger.java
21
import dexfuzz.program.
MInsn
;
87
private List<
MInsn
> invokeCallInsns = null;
94
invokeCallInsns = new ArrayList<
MInsn
>();
96
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
97
if (isInvokeCallInst(
mInsn
)) {
98
invokeCallInsns.add(
mInsn
);
105
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
106
if (isInvokeCallInst(
mInsn
)) {
[
all
...]
FieldFlagChanger.java
21
import dexfuzz.program.
MInsn
;
76
private List<
MInsn
> fieldInsns = null;
83
fieldInsns = new ArrayList<
MInsn
>();
85
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
86
if (isFileDefinedFieldInstruction(
mInsn
, mutatableCode)) {
87
fieldInsns.add(
mInsn
);
94
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
95
if (isFileDefinedFieldInstruction(
mInsn
, mutatableCode))
[
all
...]
InstructionDeleter.java
21
import dexfuzz.program.
MInsn
;
92
MInsn
toBeDeleted =
106
MInsn
dataInsn =
118
MInsn
withDataInsn = null;
119
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
120
if (
mInsn
instanceof MInsnWithData) {
121
if (((MInsnWithData)
mInsn
).dataTarget == toBeDeleted) {
122
withDataInsn =
mInsn
;
BranchShifter.java
22
import dexfuzz.program.
MInsn
;
82
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
83
if (
mInsn
instanceof MBranchInsn) {
84
branchInsns.add((MBranchInsn)
mInsn
);
96
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
97
if (
mInsn
instanceof MBranchInsn) {
115
MInsn
oldTargetInsn = branchInsn.target;
158
MInsn
newTargetInsn = mutatableCode.getInstructionAt(mutation.newTargetIdx)
[
all
...]
ConstantValueChanger.java
21
import dexfuzz.program.
MInsn
;
73
private List<
MInsn
> constInsns = null;
80
constInsns = new ArrayList<
MInsn
>();
81
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
82
if (
mInsn
.insn.info.format instanceof ContainsConst) {
83
constInsns.add(
mInsn
);
90
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
91
if (
mInsn
.insn.info.format instanceof ContainsConst)
[
all
...]
ConversionRepeater.java
21
import dexfuzz.program.
MInsn
;
69
private List<
MInsn
> conversionInsns = null;
76
conversionInsns = new ArrayList<
MInsn
>();
78
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
79
if (isConversionInstruction(
mInsn
)) {
80
conversionInsns.add(
mInsn
);
87
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
88
if (isConversionInstruction(
mInsn
)) {
[
all
...]
PoolIndexChanger.java
21
import dexfuzz.program.
MInsn
;
74
private List<
MInsn
> poolIndexInsns = null;
81
poolIndexInsns = new ArrayList<
MInsn
>();
82
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
83
if (
mInsn
.insn.info.format instanceof ContainsPoolIndex) {
84
poolIndexInsns.add(
mInsn
);
94
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
95
if (
mInsn
.insn.info.format instanceof ContainsPoolIndex)
[
all
...]
NewInstanceChanger.java
21
import dexfuzz.program.
MInsn
;
80
private List<
MInsn
> newInstanceCachedInsns = null;
87
newInstanceCachedInsns = new ArrayList<
MInsn
>();
89
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
90
if (
mInsn
.insn.info.opcode == Opcode.NEW_INSTANCE) {
91
newInstanceCachedInsns.add(
mInsn
);
104
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
105
if (
mInsn
.insn.info.opcode == Opcode.NEW_INSTANCE)
[
all
...]
OppositeBranchChanger.java
21
import dexfuzz.program.
MInsn
;
35
protected Opcode getModifiedOpcode(
MInsn
mInsn
) {
36
Opcode opcode =
mInsn
.insn.info.opcode;
RandomBranchChanger.java
20
import dexfuzz.program.
MInsn
;
52
protected Opcode getModifiedOpcode(
MInsn
mInsn
) {
53
Opcode opcode =
mInsn
.insn.info.opcode;
SwitchBranchShifter.java
21
import dexfuzz.program.
MInsn
;
85
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
86
if (
mInsn
instanceof MSwitchInsn) {
87
switchInsns.add((MSwitchInsn)
mInsn
);
94
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
95
if (
mInsn
instanceof MSwitchInsn) {
116
MInsn
oldTargetInsn = switchInsn.targets.get(switchTargetIdx);
160
MInsn
newTargetInsn
[
all
...]
VRegChanger.java
21
import dexfuzz.program.
MInsn
;
76
private List<
MInsn
> vregInsns = null;
83
vregInsns = new ArrayList<
MInsn
>();
84
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
85
if (
mInsn
.insn.info.format instanceof ContainsVRegs) {
86
vregInsns.add(
mInsn
);
98
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
99
if (
mInsn
.insn.info.format instanceof ContainsVRegs)
[
all
...]
ArithOpChanger.java
21
import dexfuzz.program.
MInsn
;
75
private List<
MInsn
> arithmeticInsns = null;
82
arithmeticInsns = new ArrayList<
MInsn
>();
84
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
85
if (isArithmeticOperation(
mInsn
)) {
86
arithmeticInsns.add(
mInsn
);
93
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
94
if (isArithmeticOperation(
mInsn
)) {
[
all
...]
ValuePrinter.java
21
import dexfuzz.program.
MInsn
;
67
for (
MInsn
mInsn
: mutatableCode.getInstructions()) {
68
if (getInstructionOutputType(
mInsn
) != OutputType.UNKNOWN) {
85
MInsn
insnOutputToPrint =
111
MInsn
insnOutputToPrint =
153
MInsn
valueCopyInsn = new
MInsn
();
165
MInsn
streamLoadInsn = new
MInsn
();
[
all
...]
/art/tools/dexfuzz/src/dexfuzz/program/
CodeTranslator.java
73
Map<Integer,
MInsn
> insnLocationMap = new HashMap<Integer,
MInsn
>();
80
MInsn
mInsn
= null;
83
mInsn
= new MSwitchInsn();
85
mInsn
= new MBranchInsn();
87
mInsn
= new MInsnWithData();
89
mInsn
= new
MInsn
();
92
mInsn
.insn = insn
[
all
...]
MutatableCode.java
66
private List<
MInsn
> mutatableInsns;
96
this.mutatableInsns = new LinkedList<
MInsn
>();
100
* Call this to update all instructions after the provided
mInsn
, to have their
103
public void updateInstructionLocationsAfter(
MInsn
mInsn
, int offset) {
105
for (
MInsn
mInsnChecking : mutatableInsns) {
110
if (mInsnChecking ==
mInsn
) {
120
for (
MInsn
mInsn
: mutatableInsns) {
121
mInsn
.location = loc
[
all
...]
Completed in 224 milliseconds