Searched defs:dexFile (Results 1 - 25 of 98) sorted by relevance

1234

/external/smali/baksmali/src/main/java/org/jf/baksmali/
H A Ddump.java43 public static void dump(DexBackedDexFile dexFile, String dumpFileName, int apiLevel) throws IOException { argument
55 RawDexFile rawDexFile = new RawDexFile(Opcodes.forApi(apiLevel), dexFile);
H A Dbaksmali.java57 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 DDexReader.java37 public DexReader(@Nonnull DexBackedDexFile dexFile, int offset) { argument
38 super(dexFile, offset);
H A DDexBackedAnnotation.java41 @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 DDexBackedAnnotationElement.java41 @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 DDexBackedMethodImplementation.java52 @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 DDexBackedTryBlock.java42 @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 DDexBackedTypedExceptionHandler.java37 @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 DDexClassProvider.java42 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 DDexBackedInstruction10t.java41 public DexBackedInstruction10t(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
47 @Override public int getCodeOffset() { return dexFile.readByte(instructionStart + 1); }
H A DDexBackedInstruction10x.java41 public DexBackedInstruction10x(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
H A DDexBackedInstruction11x.java41 public DexBackedInstruction11x(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); }
H A DDexBackedInstruction20t.java41 public DexBackedInstruction20t(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
47 @Override public int getCodeOffset() { return dexFile.readShort(instructionStart + 2); }
H A DDexBackedInstruction30t.java41 public DexBackedInstruction30t(@Nonnull DexBackedDexFile dexFile, argument
44 super(dexFile, opcode, instructionStart);
47 @Override public int getCodeOffset() { return dexFile.readInt(instructionStart + 2); }
H A DDexBackedUnknownInstruction.java41 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 DDexBackedInstruction.java44 @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 DDexBackedInstruction11n.java42 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 DDexBackedInstruction12x.java42 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 DDexBackedInstruction20bc.java44 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 DDexBackedInstruction21c.java43 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 DDexBackedInstruction21ih.java41 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 DDexBackedInstruction21lh.java41 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 DDexBackedReference.java42 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 DDexBackedStringReference.java40 @Nonnull public final DexBackedDexFile dexFile; field in class:DexBackedStringReference
45 this.dexFile = dexBuf;
51 return dexFile.getString(stringIndex);
H A DDexBackedTypeReference.java40 @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);

Completed in 1069 milliseconds

1234