/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/ |
InstructionMethodItemFactory.java | 33 import org.jf.dexlib.Code.Instruction; 44 Instruction instruction) { 45 if (instruction instanceof OffsetInstruction) { 47 instruction); 50 switch (instruction.getFormat()) { 53 (ArrayDataPseudoInstruction)instruction); 56 (PackedSwitchDataPseudoInstruction)instruction); 59 (SparseSwitchDataPseudoInstruction)instruction); 62 (UnresolvedOdexInstruction)instruction); [all...] |
OffsetInstructionFormatMethodItem.java | 34 import org.jf.dexlib.Code.Instruction; 41 public class OffsetInstructionFormatMethodItem<T extends Instruction & OffsetInstruction> 46 T instruction) { 47 super(codeItem, codeAddress, instruction); 49 label = new LabelMethodItem(codeAddress + instruction.getTargetAddressOffset(), getLabelPrefix()); 63 switch (instruction.getFormat()) { 72 if (instruction.opcode == Opcode.FILL_ARRAY_DATA) { 75 if (instruction.opcode == Opcode.PACKED_SWITCH) { 78 assert instruction.opcode == Opcode.SPARSE_SWITCH;
|
InstructionMethodItem.java | 43 public class InstructionMethodItem<T extends Instruction> extends MethodItem { 45 protected final T instruction; field in class:InstructionMethodItem 47 public InstructionMethodItem(CodeItem codeItem, int codeAddress, T instruction) { 50 this.instruction = instruction; 60 switch (instruction.getFormat()) { 216 writer.write(instruction.opcode.name); 230 writeRegister(writer, ((SingleRegisterInstruction)instruction).getRegisterA()); 234 writeRegister(writer, ((TwoRegisterInstruction)instruction).getRegisterB()); 238 writeRegister(writer, ((ThreeRegisterInstruction)instruction).getRegisterC()) 242 FiveRegisterInstruction instruction = (FiveRegisterInstruction)this.instruction; local 287 RegisterRangeInstruction instruction = (RegisterRangeInstruction)this.instruction; local [all...] |
UnresolvedOdexInstructionMethodItem.java | 38 public UnresolvedOdexInstructionMethodItem(CodeItem codeItem, int codeAddress, UnresolvedOdexInstruction instruction) { 39 super(codeItem, codeAddress, instruction); 48 writer.write("#Replaced unresolvable odex instruction with a throw\n"); 50 writeRegister(writer, instruction.ObjectRegisterNum);
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/ |
InstructionIterator.java | 48 Instruction instruction = null; local 59 instruction = new Instruction10x(Opcode.NOP, insns, insnsPosition); 64 instruction = new PackedSwitchDataPseudoInstruction(insns, insnsPosition); 69 instruction = new SparseSwitchDataPseudoInstruction(insns, insnsPosition); 74 instruction = new ArrayDataPseudoInstruction(insns, insnsPosition); 79 instruction = opcode.format.Factory.makeInstruction(dexFile, opcode, insns, insnsPosition); 82 assert instruction != null; 84 delegate.ProcessInstruction(insnsPosition/2, instruction); 85 insnsPosition += instruction.getSize(insnsPosition/2)*2 [all...] |
/external/proguard/src/proguard/classfile/instruction/visitor/ |
InstructionCounter.java | 21 package proguard.classfile.instruction.visitor; 25 import proguard.classfile.instruction.Instruction; 55 Instruction instruction)
|
/dalvik/vm/mterp/x86-atom/ |
OP_CONST_16.S | 32 FFETCH_ADV 2, %eax # %eax<- next instruction hi; fetch, advance 34 FGETOP_JMP 2, %eax # jump to next instruction; getop, jmp
|
OP_NOP.S | 30 FINISH 1 # jump to next instruction
|
OP_CONST_HIGH16.S | 32 FFETCH_ADV 2, %eax # %eax<- next instruction hi; fetch, advance 35 FGETOP_JMP 2, %eax # jump to next instruction; getop, jmp
|
OP_LONG_TO_DOUBLE.S | 34 FFETCH_ADV 1, %eax # %eax<- next instruction hi; fetch, advance 37 FGETOP_JMP 1, %eax # jump to next instruction; getop, jmp
|
OP_LONG_TO_FLOAT.S | 34 FFETCH_ADV 1, %eax # %eax<- next instruction hi; fetch, advance 37 FGETOP_JMP 1, %eax # jump to next instruction; getop, jmp
|
OP_MOVE.S | 35 FFETCH_ADV 1, %eax # %eax<- next instruction hi; fetch, advance 38 FGETOP_JMP 1, %eax # jump to next instruction; getop, jmp
|
OP_MOVE_16.S | 33 FFETCH_ADV 3, %eax # %eax<- next instruction hi; fetch, advance 36 FGETOP_JMP 3, %eax # jump to next instruction; getop, jmp
|
OP_MOVE_FROM16.S | 32 FFETCH_ADV 2, %eax # %eax<- next instruction hi; fetch, advance 35 FGETOP_JMP 2, %eax # jump to next instruction; getop, jmp
|
OP_MOVE_RESULT.S | 25 * must be done as the instruction immediately after a 35 FFETCH_ADV 1, %ecx # %ecx<- next instruction hi; fetch, advance 38 FGETOP_JMP 1, %ecx # jump to next instruction; getop, jmp
|
OP_MOVE_RESULT_WIDE.S | 25 * must be done as the instruction immediately after a 37 FFETCH_ADV 1, %edx # %edx<- next instruction hi; fetch, advance 38 FGETOP_JMP 1, %edx # jump to next instruction; getop, jmp
|
OP_MOVE_WIDE_16.S | 33 FFETCH_ADV 3, %eax # %eax<- next instruction hi; fetch, advance 36 FGETOP_JMP 3, %eax # jump to next instruction; getop, jmp
|
OP_MOVE_WIDE_FROM16.S | 31 FFETCH_ADV 2, %eax # %eax<- next instruction hi; fetch, advance 34 FGETOP_JMP 2, %eax # jump to next instruction; getop, jmp
|
zcmp.S | 33 j${revcmp} ${opcode}_2f # goto next instruction or branch 43 FINISH_RB %edx, %ecx # jump to next instruction 51 movzbl 5(rPC), rINST # update the instruction 53 jmp *dvmAsmInstructionJmpTable(, %edx, 4) # jump to next instruction
|
OP_CMPL_FLOAT.S | 41 FFETCH_ADV 2, %eax # %eax<- next instruction hi; fetch, advance 50 FGETOP_JMP 2, %eax # jump to next instruction; getop, jmp 55 FGETOP_JMP 2, %eax # jump to next instruction; getop, jmp 59 FGETOP_JMP 2, %eax # jump to next instruction; getop, jmp 63 FGETOP_JMP 2, %eax # jump to next instruction; getop, jmp
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
InteractiveCallback.java | 28 * (CLI) client SHOULD print the name and instruction (if non-empty), adding 30 * prompt and read the user input. The name and instruction fields MAY be 42 * @param instruction 43 * the instruction String sent by the server. 56 public String[] replyToChallenge(String name, String instruction, int numPrompts, String[] prompt, boolean[] echo)
|
/external/proguard/src/proguard/classfile/editor/ |
InstructionAdder.java | 25 import proguard.classfile.instruction.visitor.InstructionVisitor; 26 import proguard.classfile.instruction.*; 58 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) 60 // Add the instruction. 61 codeAttributeComposer.appendInstruction(offset, instruction); 67 // Create a copy of the instruction. 68 Instruction newConstantInstruction = 73 // Add the instruction.
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
AnalyzedInstruction.java | 41 * The actual instruction 43 protected Instruction instruction; field in class:AnalyzedInstruction 46 * The index of the instruction, where the first instruction in the method is at index 0, and so on 61 * This contains the register types *before* the instruction has executed 66 * This contains the register types *after* the instruction has executed 71 * When deodexing, we might need to deodex this instruction multiple times, when we merge in new register 72 * information. When this happens, we need to restore the original (odexed) instruction, so we can deodex it again 74 protected final Instruction originalInstruction [all...] |
MethodAnalyzer.java | 68 //This is a dummy instruction that occurs immediately before the first real instruction. We can initialize the 69 //register types for this instruction to the parameter types, in order to have them propagate to all of its 70 //successors, e.g. the first real instruction, the first instructions in any exception handlers covering the first 71 //instruction, etc. 90 //have to handle the case this special case of instruction being null, in the main class 143 for (AnalyzedInstruction instruction: instructions.getValues()) { 144 instruction.dead = true; 202 //if we had deodexed an odex instruction in a previous pass, we might have more specific 203 //register information now, so let's restore the original odexed instruction an 248 AnalyzedInstruction instruction = instructions.valueAt(i); local 478 AnalyzedInstruction instruction = instructions.valueAt(i); local 521 AnalyzedInstruction instruction = instructions.valueAt(currentInstructionIndex); local 628 Instruction instruction = analyzedInstruction.instruction; local 1052 Instruction instruction = analyzedInstruction.instruction; local 1592 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 1599 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 1740 SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.instruction; local 1777 LiteralInstruction instruction = (LiteralInstruction)analyzedInstruction.instruction; local 1816 InstructionWithReference instruction = (InstructionWithReference)analyzedInstruction.instruction; local 1826 SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.instruction; local 1831 InstructionWithReference instruction = (InstructionWithReference)analyzedInstruction.instruction; local 1843 SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.instruction; local 1851 InstructionWithReference instruction = (InstructionWithReference)analyzedInstruction.instruction; local 1873 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 1880 InstructionWithReference instruction = (InstructionWithReference)analyzedInstruction.instruction; local 1901 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 1917 InstructionWithReference instruction = (InstructionWithReference)analyzedInstruction.instruction; local 1940 InstructionWithReference instruction = (InstructionWithReference)analyzedInstruction.instruction; local 1983 InstructionWithReference instruction = (InstructionWithReference)analyzedInstruction.instruction; local 1996 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 2000 InstructionWithReference instruction = (InstructionWithReference)analyzedInstruction.instruction; local 2020 InstructionWithReference instruction = (InstructionWithReference)analyzedInstruction.instruction; local 2059 FiveRegisterInstruction instruction = (FiveRegisterInstruction)analyzedInstruction.instruction; local 2064 RegisterRangeInstruction instruction = (RegisterRangeInstruction)analyzedInstruction.instruction; local 2079 SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.instruction; local 2210 ThreeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.instruction; local 2217 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 2240 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 2247 SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.instruction; local 2254 SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.instruction; local 2267 ThreeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.instruction; local 2305 ThreeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.instruction; local 2338 ThreeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.instruction; local 2374 ThreeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.instruction; local 2405 ThreeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.instruction; local 2438 ThreeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.instruction; local 2485 ThreeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.instruction; local 2522 ThreeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.instruction; local 2568 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 2594 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 2605 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 2631 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 2658 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 2702 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 2730 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local 2832 SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.instruction; local 2866 SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.instruction; local 2886 SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.instruction; local 2914 FiveRegisterInstruction instruction = (FiveRegisterInstruction)analyzedInstruction.instruction; local 2919 FiveRegisterInstruction instruction = (FiveRegisterInstruction)analyzedInstruction.instruction; local 2924 RegisterRangeInstruction instruction = (RegisterRangeInstruction)analyzedInstruction.instruction; local 2929 RegisterRangeInstruction instruction = (RegisterRangeInstruction)analyzedInstruction.instruction; local 2944 InstructionWithReference instruction = (InstructionWithReference)analyzedInstruction.instruction; local 2993 InstructionWithReference instruction = (InstructionWithReference)analyzedInstruction.instruction; local 3338 Instruction35ms instruction = (Instruction35ms)analyzedInstruction.instruction; local 3376 Instruction3rms instruction = (Instruction3rms)analyzedInstruction.instruction; local 3409 Instruction35s instruction = (Instruction35s)analyzedInstruction.instruction; local 3421 Instruction22cs instruction = (Instruction22cs)analyzedInstruction.instruction; local 3457 Instruction3rms instruction = (Instruction3rms)analyzedInstruction.instruction; local 3461 Instruction35ms instruction = (Instruction35ms)analyzedInstruction.instruction; local 3501 Instruction3rms instruction = (Instruction3rms)analyzedInstruction.instruction; local 3512 Instruction35ms instruction = (Instruction35ms)analyzedInstruction.instruction; local 3543 SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.instruction; local 3548 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.instruction; local [all...] |
InlineMethodResolver.java | 54 public abstract DeodexUtil.InlineMethod resolveExecuteInline(AnalyzedInstruction instruction); 81 assert analyzedInstruction.instruction instanceof OdexedInvokeVirtual; 83 OdexedInvokeVirtual instruction = (OdexedInvokeVirtual)analyzedInstruction.instruction; local 84 int methodIndex = instruction.getMethodIndex(); 146 assert analyzedInstruction.instruction instanceof OdexedInvokeVirtual; 148 OdexedInvokeVirtual instruction = (OdexedInvokeVirtual)analyzedInstruction.instruction; local 149 int methodIndex = instruction.getMethodIndex(); 156 int parameterCount = getParameterCount(instruction); [all...] |