Home
last modified time | relevance | path

Searched refs:dexFile (Results 1 – 25 of 120) sorted by relevance

12345

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedInstruction.java44 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedInstruction
48 public DexBackedInstruction(@Nonnull DexBackedDexFile dexFile, in DexBackedInstruction() argument
51 this.dexFile = dexFile; in DexBackedInstruction()
74 …private static DexBackedInstruction buildInstruction(@Nonnull DexBackedDexFile dexFile, @Nullable … in buildInstruction() argument
77 return new DexBackedUnknownInstruction(dexFile, instructionStartOffset); in buildInstruction()
81 return new DexBackedInstruction10t(dexFile, opcode, instructionStartOffset); in buildInstruction()
83 return new DexBackedInstruction10x(dexFile, opcode, instructionStartOffset); in buildInstruction()
85 return new DexBackedInstruction11n(dexFile, opcode, instructionStartOffset); in buildInstruction()
87 return new DexBackedInstruction11x(dexFile, opcode, instructionStartOffset); in buildInstruction()
89 return new DexBackedInstruction12x(dexFile, opcode, instructionStartOffset); in buildInstruction()
[all …]
DDexBackedInstruction45cc.java44 public DexBackedInstruction45cc(@Nonnull DexBackedDexFile dexFile, in DexBackedInstruction45cc() argument
47 super(dexFile, opcode, instructionStart); in DexBackedInstruction45cc()
51 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterCount()
56 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterC()
61 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterD()
66 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterE()
71 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterF()
76 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterG()
82 return DexBackedReference.makeReference(dexFile, opcode.referenceType, in getReference()
83 dexFile.readUshort(instructionStart + 2)); in getReference()
[all …]
DDexBackedInstruction35c.java44 public DexBackedInstruction35c(@Nonnull DexBackedDexFile dexFile, in DexBackedInstruction35c() argument
47 super(dexFile, opcode, instructionStart); in DexBackedInstruction35c()
51 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterCount()
56 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterC()
61 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterD()
66 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterE()
71 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterF()
76 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterG()
82 return DexBackedReference.makeReference(dexFile, opcode.referenceType, in getReference()
83 dexFile.readUshort(instructionStart + 2)); in getReference()
DDexBackedInstruction35ms.java42 public DexBackedInstruction35ms(@Nonnull DexBackedDexFile dexFile, in DexBackedInstruction35ms() argument
45 super(dexFile, opcode, instructionStart); in DexBackedInstruction35ms()
49 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterCount()
54 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterC()
59 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterD()
64 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterE()
69 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterF()
74 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterG()
79 return dexFile.readUshort(instructionStart + 2); in getVtableIndex()
DDexBackedInstruction35mi.java42 public DexBackedInstruction35mi(@Nonnull DexBackedDexFile dexFile, in DexBackedInstruction35mi() argument
45 super(dexFile, opcode, instructionStart); in DexBackedInstruction35mi()
49 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterCount()
54 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterC()
59 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); in getRegisterD()
64 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterE()
69 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); in getRegisterF()
74 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); in getRegisterG()
79 return dexFile.readUshort(instructionStart + 2); in getInlineIndex()
DDexBackedInstruction4rcc.java43 public DexBackedInstruction4rcc(@Nonnull DexBackedDexFile dexFile, in DexBackedInstruction4rcc() argument
46 super(dexFile, opcode, instructionStart); in DexBackedInstruction4rcc()
50 return dexFile.readUbyte(instructionStart + 1); in getRegisterCount()
55 return dexFile.readUshort(instructionStart + 4); in getStartRegister()
61 return DexBackedReference.makeReference(dexFile, opcode.referenceType, in getReference()
62 dexFile.readUshort(instructionStart + 2)); in getReference()
72 return DexBackedReference.makeReference(dexFile, opcode.referenceType2, in getReference2()
73 dexFile.readUshort(instructionStart + 6)); in getReference2()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DHeaderItem.java86 @Nonnull private RawDexFile dexFile; field in HeaderItem
88 public HeaderItem(@Nonnull RawDexFile dexFile) { in HeaderItem() argument
89 this.dexFile = dexFile; in HeaderItem()
93 return dexFile.readSmallUint(CHECKSUM_OFFSET); in getChecksum()
97 return dexFile.readByteRange(SIGNATURE_OFFSET, SIGNATURE_SIZE); in getSignature()
101 return dexFile.readSmallUint(MAP_OFFSET); in getMapOffset()
105 return dexFile.readSmallUint(HEADER_SIZE_OFFSET); in getHeaderSize()
109 return dexFile.readSmallUint(STRING_COUNT_OFFSET); in getStringCount()
113 return dexFile.readSmallUint(STRING_START_OFFSET); in getStringOffset()
117 return dexFile.readSmallUint(TYPE_COUNT_OFFSET); in getTypeCount()
[all …]
DFieldIdItem.java57 int classIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
58 … out.annotate(2, "class_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, classIndex)); in makeAnnotator()
60 int typeIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
61 … out.annotate(2, "return_type_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, typeIndex)); in makeAnnotator()
63 int nameIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
64 … out.annotate(4, "name_idx = %s", StringIdItem.getReferenceAnnotation(dexFile, nameIndex)); in makeAnnotator()
70 public static String asString(@Nonnull DexBackedDexFile dexFile, int fieldIndex) {
71 int fieldOffset = dexFile.getFieldIdItemOffset(fieldIndex);
72 int classIndex = dexFile.readUshort(fieldOffset + CLASS_OFFSET);
73 String classType = dexFile.getType(classIndex);
[all …]
DMethodIdItem.java57 int classIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
58 … out.annotate(2, "class_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, classIndex)); in makeAnnotator()
60 int protoIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator()
61 … out.annotate(2, "proto_idx = %s", ProtoIdItem.getReferenceAnnotation(dexFile, protoIndex)); in makeAnnotator()
63 int nameIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
64 … out.annotate(4, "name_idx = %s", StringIdItem.getReferenceAnnotation(dexFile, nameIndex)); in makeAnnotator()
70 public static String asString(@Nonnull DexBackedDexFile dexFile, int methodIndex) {
71 int methodOffset = dexFile.getMethodIdItemOffset(methodIndex);
72 int classIndex = dexFile.readUshort(methodOffset + CLASS_OFFSET);
73 String classType = dexFile.getType(classIndex);
[all …]
DClassDefItem.java71 int classIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
72 … out.annotate(4, "class_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, classIndex)); in makeAnnotator()
74 int accessFlags = dexFile.readInt(out.getCursor()); in makeAnnotator()
78 int superclassIndex = dexFile.readOptionalUint(out.getCursor()); in makeAnnotator()
80 TypeIdItem.getOptionalReferenceAnnotation(dexFile, superclassIndex)); in makeAnnotator()
82 int interfacesOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
83 …out.annotate(4, "interfaces_off = %s", TypeListItem.getReferenceAnnotation(dexFile, interfacesOffs… in makeAnnotator()
85 int sourceFileIdx = dexFile.readOptionalUint(out.getCursor()); in makeAnnotator()
86 … out.annotate(4, "source_file_idx = %s", StringIdItem.getOptionalReferenceAnnotation(dexFile, in makeAnnotator()
89 int annotationsOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
[all …]
DProtoIdItem.java57 int shortyIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
58 … out.annotate(4, "shorty_idx = %s", StringIdItem.getReferenceAnnotation(dexFile, shortyIndex)); in makeAnnotator()
60 int returnTypeIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
61 …out.annotate(4, "return_type_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, returnTypeIndex… in makeAnnotator()
63 int parametersOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
64 …out.annotate(4, "parameters_off = %s", TypeListItem.getReferenceAnnotation(dexFile, parametersOffs… in makeAnnotator()
70 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int protoIndex) {
72 String protoString = asString(dexFile, protoIndex);
81 public static String asString(@Nonnull DexBackedDexFile dexFile, int protoIndex) {
82 int offset = dexFile.getProtoIdItemOffset(protoIndex);
[all …]
DAnnotationDirectoryItem.java59 int classAnnotationsOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
61 AnnotationSetItem.getReferenceAnnotation(dexFile, classAnnotationsOffset)); in makeAnnotator()
63 int fieldsSize = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
66 int annotatedMethodsSize = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
69 int annotatedParameterSize = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
78 int fieldIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
79 … out.annotate(4, "%s", FieldIdItem.getReferenceAnnotation(dexFile, fieldIndex)); in makeAnnotator()
80 int annotationOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
81 … out.annotate(4, "%s", AnnotationSetItem.getReferenceAnnotation(dexFile, annotationOffset)); in makeAnnotator()
93 int methodIndex = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
[all …]
DStringIdItem.java54 int stringDataOffset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
56 String stringValue = dexFile.getString(itemIndex); in makeAnnotator()
72 … public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex) {
73 return getReferenceAnnotation(dexFile, stringIndex, false);
77 …public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex, bo…
79 String string = dexFile.getString(stringIndex);
92 …public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringI…
93 return getOptionalReferenceAnnotation(dexFile, stringIndex, false);
97 …public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringI…
102 return getReferenceAnnotation(dexFile, stringIndex, quote);
[all …]
DMapItem.java48 private final DexBackedDexFile dexFile; field in MapItem
51 public MapItem(DexBackedDexFile dexFile, int offset) { in MapItem() argument
52 this.dexFile = dexFile; in MapItem()
57 return dexFile.readUshort(offset + TYPE_OFFSET); in getType()
66 return dexFile.readSmallUint(offset + SIZE_OFFSET); in getItemCount()
70 return dexFile.readSmallUint(offset + OFFSET_OFFSET); in getOffset()
82 int itemType = dexFile.readUshort(out.getCursor()); in makeAnnotator()
87 int size = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
90 int offset = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
96 int mapItemCount = dexFile.readSmallUint(out.getCursor()); in makeAnnotator()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DAnnotationsDirectory.java59 public static AnnotationsDirectory newOrEmpty(@Nonnull DexBackedDexFile dexFile, in newOrEmpty() argument
64 return new AnnotationsDirectoryImpl(dexFile, directoryAnnotationsOffset); in newOrEmpty()
99 …c static Set<? extends DexBackedAnnotation> getAnnotations(@Nonnull final DexBackedDexFile dexFile, in getAnnotations() argument
102 final int size = dexFile.readSmallUint(annotationSetOffset); in getAnnotations()
107 … int annotationOffset = dexFile.readSmallUint(annotationSetOffset + 4 + (4*index)); in getAnnotations()
108 return new DexBackedAnnotation(dexFile, annotationOffset); in getAnnotations()
120 @Nonnull final DexBackedDexFile dexFile, final int annotationSetListOffset) {
122 final int size = dexFile.readSmallUint(annotationSetListOffset);
128 … int annotationSetOffset = dexFile.readSmallUint(annotationSetListOffset + 4 + index * 4);
129 return getAnnotations(dexFile, annotationSetOffset);
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DDexBackedMethodReference.java46 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedMethodReference
50 public DexBackedMethodReference(@Nonnull DexBackedDexFile dexFile, int methodIndex) { in DexBackedMethodReference() argument
51 this.dexFile = dexFile; in DexBackedMethodReference()
52 this.methodIdItemOffset = dexFile.getMethodIdItemOffset(methodIndex); in DexBackedMethodReference()
58 return dexFile.getType(dexFile.readUshort(methodIdItemOffset + MethodIdItem.CLASS_OFFSET)); in getDefiningClass()
64 … return dexFile.getString(dexFile.readSmallUint(methodIdItemOffset + MethodIdItem.NAME_OFFSET)); in getName()
71 …final int parametersOffset = dexFile.readSmallUint(protoIdItemOffset + ProtoIdItem.PARAMETERS_OFFS… in getParameterTypes()
73 … final int parameterCount = dexFile.readSmallUint(parametersOffset + TypeListItem.SIZE_OFFSET); in getParameterTypes()
79 return dexFile.getType(dexFile.readUshort(paramListStart + 2*index)); in getParameterTypes()
91 … return dexFile.getType(dexFile.readSmallUint(protoIdItemOffset + ProtoIdItem.RETURN_TYPE_OFFSET));
[all …]
DDexBackedFieldReference.java41 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedFieldReference
44 public DexBackedFieldReference(@Nonnull DexBackedDexFile dexFile, int fieldIndex) { in DexBackedFieldReference() argument
45 this.dexFile = dexFile; in DexBackedFieldReference()
46 this.fieldIdItemOffset = dexFile.getFieldIdItemOffset(fieldIndex); in DexBackedFieldReference()
52 return dexFile.getType(dexFile.readUshort(fieldIdItemOffset + FieldIdItem.CLASS_OFFSET)); in getDefiningClass()
58 … return dexFile.getString(dexFile.readSmallUint(fieldIdItemOffset + FieldIdItem.NAME_OFFSET)); in getName()
64 return dexFile.getType(dexFile.readUshort(fieldIdItemOffset + FieldIdItem.TYPE_OFFSET)); in getType()
DDexBackedMethodProtoReference.java45 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedMethodProtoReference
48 public DexBackedMethodProtoReference(@Nonnull DexBackedDexFile dexFile, int protoIndex) { in DexBackedMethodProtoReference() argument
49 this.dexFile = dexFile; in DexBackedMethodProtoReference()
50 this.protoIdItemOffset = dexFile.getProtoIdItemOffset(protoIndex); in DexBackedMethodProtoReference()
56 …final int parametersOffset = dexFile.readSmallUint(protoIdItemOffset + ProtoIdItem.PARAMETERS_OFFS… in getParameterTypes()
58 … final int parameterCount = dexFile.readSmallUint(parametersOffset + TypeListItem.SIZE_OFFSET); in getParameterTypes()
64 return dexFile.getType(dexFile.readUshort(paramListStart + 2*index)); in getParameterTypes()
75 … return dexFile.getType(dexFile.readSmallUint(protoIdItemOffset + ProtoIdItem.RETURN_TYPE_OFFSET));
DDexBackedMethodHandleReference.java44 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedMethodHandleReference
48 public DexBackedMethodHandleReference(DexBackedDexFile dexFile, int methodHandleIndex) { in DexBackedMethodHandleReference() argument
49 this.dexFile = dexFile; in DexBackedMethodHandleReference()
51 this.methodHandleOffset = dexFile.getMethodHandleItemOffset(methodHandleIndex); in DexBackedMethodHandleReference()
56 return dexFile.readUshort(methodHandleOffset + MethodHandleItem.METHOD_HANDLE_TYPE_OFFSET); in getMethodHandleType()
62 … int memberIndex = dexFile.readUshort(methodHandleOffset + MethodHandleItem.MEMBER_ID_OFFSET); in getMemberReference()
68 return new DexBackedFieldReference(dexFile, memberIndex); in getMemberReference()
74 return new DexBackedMethodReference(dexFile, memberIndex); in getMemberReference()
DDexBackedReference.java42 …public static Reference makeReference(@Nonnull DexBackedDexFile dexFile, int referenceType, int re… in makeReference() argument
45 return new DexBackedStringReference(dexFile, referenceIndex); in makeReference()
47 return new DexBackedTypeReference(dexFile, referenceIndex); in makeReference()
49 return new DexBackedMethodReference(dexFile, referenceIndex); in makeReference()
51 return new DexBackedFieldReference(dexFile, referenceIndex); in makeReference()
53 return new DexBackedMethodProtoReference(dexFile, referenceIndex); in makeReference()
55 return new DexBackedMethodHandleReference(dexFile, referenceIndex); in makeReference()
57 return new DexBackedCallSiteReference(dexFile, referenceIndex); in makeReference()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedClassDef.java57 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedClassDef
72 public DexBackedClassDef(@Nonnull DexBackedDexFile dexFile, in DexBackedClassDef() argument
74 this.dexFile = dexFile; in DexBackedClassDef()
77 … int classDataOffset = dexFile.readSmallUint(classDefOffset + ClassDefItem.CLASS_DATA_OFFSET); in DexBackedClassDef()
85 DexReader reader = dexFile.readerAt(classDataOffset); in DexBackedClassDef()
98 return dexFile.getType(dexFile.readSmallUint(classDefOffset + ClassDefItem.CLASS_OFFSET)); in getType()
104 …return dexFile.getOptionalType(dexFile.readOptionalUint(classDefOffset + ClassDefItem.SUPERCLASS_O… in getSuperclass()
109 return dexFile.readSmallUint(classDefOffset + ClassDefItem.ACCESS_FLAGS_OFFSET); in getAccessFlags()
115 …return dexFile.getOptionalString(dexFile.readOptionalUint(classDefOffset + ClassDefItem.SOURCE_FIL… in getSourceFile()
121 …final int interfacesOffset = dexFile.readSmallUint(classDefOffset + ClassDefItem.INTERFACES_OFFSET… in getInterfaces()
[all …]
DDexBackedMethodImplementation.java53 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedMethodImplementation
57 public DexBackedMethodImplementation(@Nonnull DexBackedDexFile dexFile, in DexBackedMethodImplementation() argument
60 this.dexFile = dexFile; in DexBackedMethodImplementation()
65 @Override public int getRegisterCount() { return dexFile.readUshort(codeOffset); } in getRegisterCount()
69 … int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET); in getInstructions()
76 … return new VariableSizeLookaheadIterator<Instruction>(dexFile, instructionsStartOffset) { in getInstructions()
100 final int triesSize = dexFile.readUshort(codeOffset + CodeItem.TRIES_SIZE_OFFSET);
102 … int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET);
111 return new DexBackedTryBlock(dexFile,
127 int debugOffset = dexFile.readInt(codeOffset + CodeItem.DEBUG_INFO_OFFSET);
[all …]
DDexBackedMethod.java57 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedMethod
76 this.dexFile = reader.dexBuf; in DexBackedMethod()
96 this.dexFile = reader.dexBuf; in DexBackedMethod()
118 …return dexFile.getString(dexFile.readSmallUint(getMethodIdItemOffset() + MethodIdItem.NAME_OFFSET)… in getName()
124 …return dexFile.getType(dexFile.readSmallUint(getProtoIdItemOffset() + ProtoIdItem.RETURN_TYPE_OFFS… in getReturnType()
151 … return AnnotationsDirectory.getParameterAnnotations(dexFile, parameterAnnotationSetListOffset);
168 … final int parameterCount = dexFile.readSmallUint(parametersOffset + TypeListItem.SIZE_OFFSET);
174 return dexFile.getType(dexFile.readUshort(paramListStart + 2*index));
185 return AnnotationsDirectory.getAnnotations(dexFile, methodAnnotationSetOffset);
192 return new DexBackedMethodImplementation(dexFile, this, codeOffset);
[all …]
DDexBackedTryBlock.java42 @Nonnull public final DexBackedDexFile dexFile; field in DexBackedTryBlock
46 public DexBackedTryBlock(@Nonnull DexBackedDexFile dexFile, in DexBackedTryBlock() argument
49 this.dexFile = dexFile; in DexBackedTryBlock()
55 return dexFile.readSmallUint(tryItemOffset + CodeItem.TryItem.START_ADDRESS_OFFSET); in getStartCodeAddress()
59 return dexFile.readUshort(tryItemOffset + CodeItem.TryItem.CODE_UNIT_COUNT_OFFSET); in getCodeUnitCount()
65 DexReader reader = dexFile.readerAt( in getExceptionHandlers()
66 … handlersStartOffset + dexFile.readUshort(tryItemOffset + CodeItem.TryItem.HANDLER_OFFSET)); in getExceptionHandlers()
71 …return new VariableSizeList<DexBackedTypedExceptionHandler>(dexFile, reader.getOffset(), encodedSi… in getExceptionHandlers()
81 …return new VariableSizeList<DexBackedExceptionHandler>(dexFile, reader.getOffset(), sizeWithCatchA… in getExceptionHandlers()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DClassPathResolver.java76 @Nonnull List<String> extraClassPathEntries, @Nonnull DexFile dexFile) in ClassPathResolver() argument
78 this(bootClassPathDirs, bootClassPathEntries, extraClassPathEntries, dexFile, true); in ClassPathResolver()
96 @Nonnull DexFile dexFile) in ClassPathResolver() argument
98 this(bootClassPathDirs, null, extraClassPathEntries, dexFile, true); in ClassPathResolver()
102 … @Nonnull List<String> extraClassPathEntries, @Nonnull DexFile dexFile, boolean unused) in ClassPathResolver() argument
105 this.pathEntryLoader = new PathEntryLoader(dexFile.getOpcodes()); in ClassPathResolver()
108 bootClassPathEntries = getDefaultBootClassPath(dexFile, dexFile.getOpcodes().api); in ClassPathResolver()
153 if (dexFile instanceof MultiDexContainer.MultiDexFile) { in ClassPathResolver()
154 … MultiDexContainer<? extends MultiDexFile> container = ((MultiDexFile)dexFile).getContainer(); in ClassPathResolver()
159 pathEntryLoader.getClassProviders().add(new DexClassProvider(dexFile)); in ClassPathResolver()
[all …]

12345