OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MInsn
(Results
1 - 25
of
27
) sorted by null
1
2
/art/tools/dexfuzz/src/dexfuzz/program/
MTryBlock.java
25
public
MInsn
startInsn;
26
public
MInsn
endInsn;
27
public List<
MInsn
> handlers;
28
public
MInsn
catchAllHandler;
MBranchInsn.java
20
* A subclass of the
MInsn
, that tracks its target instruction.
22
public class MBranchInsn extends
MInsn
{
24
* The
MInsn
this branch instruction branches to.
26
public
MInsn
target;
MInsnWithData.java
20
* A subclass of the
MInsn
, that tracks the data instruction.
22
public class MInsnWithData extends
MInsn
{
24
* The
MInsn
that represents the data this instruction uses.
26
public
MInsn
dataTarget;
MInsn.java
25
public class
MInsn
{
44
* Clone this
MInsn
, and clone the wrapped Instruction.
46
public
MInsn
clone() {
47
MInsn
newInsn = new
MInsn
();
MSwitchInsn.java
29
public List<
MInsn
> targets = new LinkedList<
MInsn
>();
43
for (
MInsn
target : targets) {
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
...]
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
...]
/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
...]
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
...]
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
;
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
...]
NonsenseStringPrinter.java
21
import dexfuzz.program.
MInsn
;
78
MInsn
insertionPoint =
112
MInsn
insertionPoint = mutatableCode.getInstructionAt(mutation.insertionIdx);
121
MInsn
constStringInsn = new
MInsn
();
127
MInsn
streamLoadInsn = new
MInsn
();
133
MInsn
invokeInsn = new
MInsn
();
InstructionDuplicator.java
21
import dexfuzz.program.
MInsn
;
72
MInsn
oldInsn = mutatableCode.getInstructionAt(insnIdx);
94
MInsn
oldInsn = mutatableCode.getInstructionAt(mutation.insnToDuplicateIdx);
96
MInsn
newInsn = oldInsn.clone();
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
...]
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
...]
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
...]
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
...]
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
...]
InstructionSwapper.java
21
import dexfuzz.program.
MInsn
;
90
MInsn
toBeSwapped = mutatableCode.getInstructionAt(swapInsnIdx);
148
MInsn
toBeSwapped = mutatableCode.getInstructionAt(mutation.swapInsnIdx);
149
MInsn
swappedWith = mutatableCode.getInstructionAt(mutation.swapWithInsnIdx);
NewMethodCaller.java
21
import dexfuzz.program.
MInsn
;
112
MInsn
insertionPoint =
143
MInsn
newInsn = new
MInsn
();
176
MInsn
insertionPoint =
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
...]
RandomInstructionGenerator.java
22
import dexfuzz.program.
MInsn
;
116
MInsn
insertionPoint =
216
MInsn
newInsn = null;
218
newInsn = new
MInsn
();
256
MInsn
insertionPoint =
268
MInsn
exitInsn = newInsn.clone();
273
MInsn
enterInsn = newInsn.clone();
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
...]
TryBlockShifter.java
21
import dexfuzz.program.
MInsn
;
123
MInsn
oldInsn = null;
181
MInsn
newInsn =
/external/llvm/lib/CodeGen/
LexicalScopes.cpp
63
for (const auto &
MInsn
: MBB) {
65
const DILocation *MIDL =
MInsn
.getDebugLoc();
67
PrevMI = &
MInsn
;
73
PrevMI = &
MInsn
;
78
if (
MInsn
.isDebugValue())
91
RangeBeginMI = &
MInsn
;
94
PrevMI = &
MInsn
;
Completed in 117 milliseconds
1
2