/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);
|
ArrayDataMethodItem.java | 40 public ArrayDataMethodItem(CodeItem codeItem, int codeAddress, ArrayDataPseudoInstruction instruction) { 41 super(codeItem, codeAddress, instruction); 46 writer.printUnsignedLongAsHex(instruction.getElementWidth()); 50 Iterator<ArrayDataPseudoInstruction.ArrayElement> iterator = instruction.getElements();
|
/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)
|
/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...] |
SyntheticAccessorResolver.java | 33 import org.jf.dexlib.Code.Instruction; 76 Instruction[] instructions = encodedMethod.codeItem.getInstructions(); 87 InstructionWithReference instruction = (InstructionWithReference)instructions[0]; local 88 MethodIdItem referencedMethodIdItem = (MethodIdItem)instruction.getReferencedItem(); 99 Instruction22c instruction = (Instruction22c)instructions[0]; local 100 FieldIdItem referencedFieldIdItem = (FieldIdItem)instruction.getReferencedItem(); 102 if (instruction.opcode.setsRegister() || instruction.opcode.setsWideRegister()) {
|
/external/llvm/test/MC/ARM/ |
thumb-diagnostics.s | 8 @ ADD instruction w/o 'S' suffix. 10 @ CHECK-ERRORS: error: invalid instruction 17 @ CHECK-ERRORS: error: instruction variant requires Thumb2 20 @ CHECK-ERRORS-V5: error: instruction variant requires ARMv6 or later 25 @ Out of range immediates for ASR instruction. 27 @ CHECK-ERRORS: error: invalid operand for instruction 31 @ Out of range immediates for BKPT instruction. 34 error: invalid operand for instruction 37 error: invalid operand for instruction 70 @ CHECK-ERRORS: error: instruction requires: thumb [all...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
PreInstructionRegisterInfoMethodItem.java | 96 RegisterRangeInstruction instruction = (RegisterRangeInstruction)analyzedInstruction.getInstruction(); local 98 registers.set(instruction.getStartRegister(), 99 instruction.getStartRegister() + instruction.getRegCount()); 101 FiveRegisterInstruction instruction = (FiveRegisterInstruction)analyzedInstruction.getInstruction(); local 102 int regCount = instruction.getRegCount(); 105 registers.set(instruction.getRegisterA()); 108 registers.set(instruction.getRegisterG()); 111 registers.set(instruction.getRegisterF()); 114 registers.set(instruction.getRegisterE()) 120 ThreeRegisterInstruction instruction = (ThreeRegisterInstruction)analyzedInstruction.getInstruction(); local 125 TwoRegisterInstruction instruction = (TwoRegisterInstruction)analyzedInstruction.getInstruction(); local 129 SingleRegisterInstruction instruction = (SingleRegisterInstruction)analyzedInstruction.getInstruction(); local [all...] |
/external/proguard/src/proguard/optimize/evaluation/ |
EvaluationSimplifier.java | 27 import proguard.classfile.instruction.*; 28 import proguard.classfile.instruction.visitor.InstructionVisitor; 145 Instruction instruction = InstructionFactory.create(codeAttribute.code, local 148 instruction.accept(clazz, method, codeAttribute, offset, this); 370 * Replaces the push instruction at the given offset by a simpler push 371 * instruction, if possible. 375 Instruction instruction) 383 replaceIntegerPushInstruction(clazz, offset, instruction); [all...] |
/external/v8/src/ |
disasm.h | 61 // Writes one disassembled instruction into 'buffer' (0-terminated). 62 // Returns the length of the disassembled machine instruction in bytes. 63 int InstructionDecode(v8::internal::Vector<char> buffer, byte* instruction); 65 // Returns -1 if instruction does not mark the beginning of a constant pool, 67 int ConstantPoolSizeAt(byte* instruction);
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
ControlFlowGraph.java | 42 * instruction in a method, and an edge for each possible control flow; usually 43 * just "next" for the instruction following the current instruction, but in the 45 * or with a "goto", a single edge to the jumped-to instruction. 86 // initialized at the given instruction. 113 * the instruction and its possible successors */ 115 /** The instruction */ 116 public final AbstractInsnNode instruction; field in class:ControlFlowGraph.Node 117 /** Any normal successors (e.g. following instruction, or goto or conditional flow) */ 128 * @param instruction the instruction to associate with this nod [all...] |
/external/llvm/test/MC/AsmParser/ |
purgem.s | 12 # CHECK: error: invalid instruction mnemonic 'foo'
|
/external/proguard/src/proguard/optimize/peephole/ |
UnreachableCodeRemover.java | 27 import proguard.classfile.instruction.Instruction; 28 import proguard.classfile.instruction.visitor.InstructionVisitor; 123 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) 127 System.out.println(" "+(reachableCodeMarker.isReachable(offset) ? "+" : "-")+" "+instruction.toString(offset)); 130 // Is this instruction unreachable? 136 // Visit the instruction, if required. 139 instruction.accept(clazz, method, codeAttribute, offset, extraInstructionVisitor);
|
/external/webkit/Source/JavaScriptCore/jit/ |
JITCall.cpp | 58 void JIT::emit_op_call_put_result(Instruction* instruction) 60 int dst = instruction[1].u.operand; 64 void JIT::compileOpCallVarargs(Instruction* instruction) 66 int callee = instruction[1].u.operand; 67 int argCountRegister = instruction[2].u.operand; 68 int registerOffset = instruction[3].u.operand; 91 void JIT::compileOpCallVarargsSlowCase(Instruction*, Vector<SlowCaseEntry>::iterator& iter) 109 void JIT::compileOpCall(OpcodeID opcodeID, Instruction* instruction, unsigned [all...] |
JITCall32_64.cpp | 58 void JIT::emit_op_call_put_result(Instruction* instruction) 60 int dst = instruction[1].u.operand; 64 void JIT::compileOpCallVarargs(Instruction* instruction) 66 int callee = instruction[1].u.operand; 67 int argCountRegister = instruction[2].u.operand; 68 int registerOffset = instruction[3].u.operand; 91 void JIT::compileOpCallVarargsSlowCase(Instruction* instruction, Vector<SlowCaseEntry>::iterator& iter [all...] |
/external/dropbear/ |
cli-authinteract.c | 70 unsigned char *instruction = NULL; local 83 instruction = buf_getstring(ses.payload, NULL); 105 if (strlen(instruction) > 0) { 106 cleantext(instruction); 107 fprintf(stderr, "%s", instruction); 109 m_free(instruction);
|
/dalvik/vm/mterp/armv5te/ |
OP_CONST_16.S | 8 GOTO_OPCODE(ip) @ jump to next instruction
|
OP_MOVE_16.S | 10 GOTO_OPCODE(ip) @ jump to next instruction
|