/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
H A D | dump.java | 43 public static void dump(DexBackedDexFile dexFile, String dumpFileName, int apiLevel) throws IOException { argument 55 RawDexFile rawDexFile = new RawDexFile(Opcodes.forApi(apiLevel), dexFile);
|
H A D | baksmali.java | 57 public static boolean disassembleDexFile(DexFile dexFile, final baksmaliOptions options) { argument 68 Iterables.concat(options.bootClassPathEntries, extraClassPathEntries), dexFile, 135 List<? extends ClassDef> classDefs = Ordering.natural().sortedCopy(dexFile.getClasses()); 138 options.syntheticAccessorResolver = new SyntheticAccessorResolver(dexFile.getOpcodes(), classDefs);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
H A D | DexReader.java | 37 public DexReader(@Nonnull DexBackedDexFile dexFile, int offset) { argument 38 super(dexFile, offset);
|
H A D | DexBackedAnnotation.java | 41 @Nonnull public final DexBackedDexFile dexFile; field in class:DexBackedAnnotation 47 public DexBackedAnnotation(@Nonnull DexBackedDexFile dexFile, argument 49 this.dexFile = dexFile; 51 DexReader reader = dexFile.readerAt(annotationOffset); 58 @Nonnull @Override public String getType() { return dexFile.getType(typeIndex); } 63 DexReader reader = dexFile.readerAt(elementsOffset); 66 return new VariableSizeSet<DexBackedAnnotationElement>(dexFile, reader.getOffset(), size) {
|
H A D | DexBackedAnnotationElement.java | 41 @Nonnull private final DexBackedDexFile dexFile; field in class:DexBackedAnnotationElement 46 this.dexFile = reader.dexBuf; 51 @Nonnull @Override public String getName() { return dexFile.getString(nameIndex); }
|
H A D | DexBackedMethodImplementation.java | 52 @Nonnull public final DexBackedDexFile dexFile; field in class:DexBackedMethodImplementation 56 public DexBackedMethodImplementation(@Nonnull DexBackedDexFile dexFile, argument 59 this.dexFile = dexFile; 64 @Override public int getRegisterCount() { return dexFile.readUshort(codeOffset); } 68 int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET); 75 return new VariableSizeLookaheadIterator<Instruction>(dexFile, instructionsStartOffset) { 99 final int triesSize = dexFile.readUshort(codeOffset + CodeItem.TRIES_SIZE_OFFSET); 101 int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET); 110 return new DexBackedTryBlock(dexFile, [all...] |
H A D | DexBackedTryBlock.java | 42 @Nonnull public final DexBackedDexFile dexFile; field in class:DexBackedTryBlock 46 public DexBackedTryBlock(@Nonnull DexBackedDexFile dexFile, argument 49 this.dexFile = dexFile; 55 return dexFile.readSmallUint(tryItemOffset + CodeItem.TryItem.START_ADDRESS_OFFSET); 59 return dexFile.readUshort(tryItemOffset + CodeItem.TryItem.CODE_UNIT_COUNT_OFFSET); 65 DexReader reader = dexFile.readerAt( 66 handlersStartOffset + dexFile.readUshort(tryItemOffset + CodeItem.TryItem.HANDLER_OFFSET)); 71 return new VariableSizeList<DexBackedTypedExceptionHandler>(dexFile, reader.getOffset(), encodedSize) { 81 return new VariableSizeList<DexBackedExceptionHandler>(dexFile, reade [all...] |
H A D | DexBackedTypedExceptionHandler.java | 37 @Nonnull private final DexBackedDexFile dexFile; field in class:DexBackedTypedExceptionHandler 42 this.dexFile = reader.dexBuf; 47 @Nonnull @Override public String getExceptionType() { return dexFile.getType(typeId); }
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
H A D | DexClassProvider.java | 42 private final DexFile dexFile; field in class:DexClassProvider 45 public DexClassProvider(DexFile dexFile) { argument 46 this.dexFile = dexFile; 48 for (ClassDef classDef: dexFile.getClasses()) {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/ |
H A D | DexBackedInstruction10t.java | 41 public DexBackedInstruction10t(@Nonnull DexBackedDexFile dexFile, argument 44 super(dexFile, opcode, instructionStart); 47 @Override public int getCodeOffset() { return dexFile.readByte(instructionStart + 1); }
|
H A D | DexBackedInstruction10x.java | 41 public DexBackedInstruction10x(@Nonnull DexBackedDexFile dexFile, argument 44 super(dexFile, opcode, instructionStart);
|
H A D | DexBackedInstruction11x.java | 41 public DexBackedInstruction11x(@Nonnull DexBackedDexFile dexFile, argument 44 super(dexFile, opcode, instructionStart); 47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); }
|
H A D | DexBackedInstruction20t.java | 41 public DexBackedInstruction20t(@Nonnull DexBackedDexFile dexFile, argument 44 super(dexFile, opcode, instructionStart); 47 @Override public int getCodeOffset() { return dexFile.readShort(instructionStart + 2); }
|
H A D | DexBackedInstruction30t.java | 41 public DexBackedInstruction30t(@Nonnull DexBackedDexFile dexFile, argument 44 super(dexFile, opcode, instructionStart); 47 @Override public int getCodeOffset() { return dexFile.readInt(instructionStart + 2); }
|
H A D | DexBackedUnknownInstruction.java | 41 public DexBackedUnknownInstruction(@Nonnull DexBackedDexFile dexFile, argument 43 super(dexFile, Opcode.NOP, instructionStart); 47 int opcode = dexFile.readUbyte(instructionStart); 49 opcode = dexFile.readUshort(instructionStart);
|
H A D | DexBackedInstruction.java | 44 @Nonnull public final DexBackedDexFile dexFile; field in class:DexBackedInstruction 48 public DexBackedInstruction(@Nonnull DexBackedDexFile dexFile, argument 51 this.dexFile = dexFile; 74 private static DexBackedInstruction buildInstruction(@Nonnull DexBackedDexFile dexFile, @Nullable Opcode opcode, argument 77 return new DexBackedUnknownInstruction(dexFile, instructionStartOffset); 81 return new DexBackedInstruction10t(dexFile, opcode, instructionStartOffset); 83 return new DexBackedInstruction10x(dexFile, opcode, instructionStartOffset); 85 return new DexBackedInstruction11n(dexFile, opcode, instructionStartOffset); 87 return new DexBackedInstruction11x(dexFile, opcod [all...] |
H A D | DexBackedInstruction11n.java | 42 public DexBackedInstruction11n(@Nonnull DexBackedDexFile dexFile, argument 45 super(dexFile, opcode, instructionStart); 50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1)); 55 return NibbleUtils.extractHighSignedNibble(dexFile.readByte(instructionStart + 1));
|
H A D | DexBackedInstruction12x.java | 42 public DexBackedInstruction12x(@Nonnull DexBackedDexFile dexFile, argument 45 super(dexFile, opcode, instructionStart); 50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1)); 55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1));
|
H A D | DexBackedInstruction20bc.java | 44 public DexBackedInstruction20bc(@Nonnull DexBackedDexFile dexFile, argument 47 super(dexFile, opcode, instructionStart); 50 @Override public int getVerificationError() { return dexFile.readUbyte(instructionStart + 1) & 0x3f; } 56 return DexBackedReference.makeReference(dexFile, referenceType, dexFile.readUshort(instructionStart + 2)); 60 int referenceType = (dexFile.readUbyte(instructionStart + 1) >>> 6) + 1;
|
H A D | DexBackedInstruction21c.java | 43 public DexBackedInstruction21c(@Nonnull DexBackedDexFile dexFile, argument 46 super(dexFile, opcode, instructionStart); 49 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); } 54 return DexBackedReference.makeReference(dexFile, opcode.referenceType, dexFile.readUshort(instructionStart + 2));
|
H A D | DexBackedInstruction21ih.java | 41 public DexBackedInstruction21ih(@Nonnull DexBackedDexFile dexFile, argument 44 super(dexFile, opcode, instructionStart); 47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); } 50 @Override public short getHatLiteral() { return (short)dexFile.readShort(instructionStart + 2); }
|
H A D | DexBackedInstruction21lh.java | 41 public DexBackedInstruction21lh(@Nonnull DexBackedDexFile dexFile, argument 44 super(dexFile, opcode, instructionStart); 47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); } 49 @Override public short getHatLiteral() { return (short)dexFile.readShort(instructionStart + 2); }
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/ |
H A D | DexBackedReference.java | 42 public static Reference makeReference(@Nonnull DexBackedDexFile dexFile, int referenceType, int referenceIndex) { argument 45 return new DexBackedStringReference(dexFile, referenceIndex); 47 return new DexBackedTypeReference(dexFile, referenceIndex); 49 return new DexBackedMethodReference(dexFile, referenceIndex); 51 return new DexBackedFieldReference(dexFile, referenceIndex); 53 return new DexBackedMethodProtoReference(dexFile, referenceIndex);
|
H A D | DexBackedStringReference.java | 40 @Nonnull public final DexBackedDexFile dexFile; field in class:DexBackedStringReference 45 this.dexFile = dexBuf; 51 return dexFile.getString(stringIndex);
|
H A D | DexBackedTypeReference.java | 40 @Nonnull public final DexBackedDexFile dexFile; field in class:DexBackedTypeReference 43 public DexBackedTypeReference(@Nonnull DexBackedDexFile dexFile, argument 45 this.dexFile = dexFile; 50 return dexFile.getType(typeIndex);
|