/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/ |
DexBackedInstruction31i.java | 41 public DexBackedInstruction31i(@Nonnull DexBackedDexFile dexFile, 44 super(dexFile, opcode, instructionStart); 47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); } 48 @Override public int getNarrowLiteral() { return dexFile.readInt(instructionStart + 2); }
|
DexBackedInstruction31t.java | 41 public DexBackedInstruction31t(@Nonnull DexBackedDexFile dexFile, 44 super(dexFile, opcode, instructionStart); 47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); } 48 @Override public int getCodeOffset() { return dexFile.readInt(instructionStart + 2); }
|
DexBackedInstruction32x.java | 41 public DexBackedInstruction32x(@Nonnull DexBackedDexFile dexFile, 44 super(dexFile, opcode, instructionStart); 47 @Override public int getRegisterA() { return dexFile.readUshort(instructionStart + 2); } 48 @Override public int getRegisterB() { return dexFile.readUshort(instructionStart + 4); }
|
DexBackedInstruction35mi.java | 42 public DexBackedInstruction35mi(@Nonnull DexBackedDexFile dexFile, 45 super(dexFile, opcode, instructionStart); 49 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); 54 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); 59 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); 64 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); 69 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); 74 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); 79 return dexFile.readUshort(instructionStart + 2);
|
DexBackedInstruction35ms.java | 42 public DexBackedInstruction35ms(@Nonnull DexBackedDexFile dexFile, 45 super(dexFile, opcode, instructionStart); 49 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); 54 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); 59 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); 64 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); 69 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); 74 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); 79 return dexFile.readUshort(instructionStart + 2);
|
DexBackedInstruction51l.java | 41 public DexBackedInstruction51l(@Nonnull DexBackedDexFile dexFile, 44 super(dexFile, opcode, instructionStart); 47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); } 48 @Override public long getWideLiteral() { return dexFile.readLong(instructionStart + 2); }
|
DexBackedUnknownInstruction.java | 41 public DexBackedUnknownInstruction(@Nonnull DexBackedDexFile dexFile, 43 super(dexFile, Opcode.NOP, instructionStart); 47 int opcode = dexFile.readUbyte(instructionStart); 49 opcode = dexFile.readUshort(instructionStart);
|
DexBackedInstruction21c.java | 43 public DexBackedInstruction21c(@Nonnull DexBackedDexFile dexFile, 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));
|
DexBackedInstruction22cs.java | 42 public DexBackedInstruction22cs(@Nonnull DexBackedDexFile dexFile, 45 super(dexFile, opcode, instructionStart); 50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1)); 55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1)); 60 return dexFile.readUshort(instructionStart + 2);
|
DexBackedInstruction22s.java | 42 public DexBackedInstruction22s(@Nonnull DexBackedDexFile dexFile, 45 super(dexFile, opcode, instructionStart); 50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1)); 55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1)); 58 @Override public int getNarrowLiteral() { return dexFile.readShort(instructionStart + 2); }
|
DexBackedInstruction22t.java | 42 public DexBackedInstruction22t(@Nonnull DexBackedDexFile dexFile, 45 super(dexFile, opcode, instructionStart); 50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1)); 55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1)); 58 @Override public int getCodeOffset() { return dexFile.readShort(instructionStart + 2); }
|
DexBackedInstruction31c.java | 43 public DexBackedInstruction31c(@Nonnull DexBackedDexFile dexFile, 46 super(dexFile, opcode, instructionStart); 49 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); } 54 return DexBackedReference.makeReference(dexFile, opcode.referenceType, 55 dexFile.readSmallUint(instructionStart + 2));
|
DexBackedInstruction10t.java | 41 public DexBackedInstruction10t(@Nonnull DexBackedDexFile dexFile, 44 super(dexFile, opcode, instructionStart); 47 @Override public int getCodeOffset() { return dexFile.readByte(instructionStart + 1); }
|
DexBackedInstruction11x.java | 41 public DexBackedInstruction11x(@Nonnull DexBackedDexFile dexFile, 44 super(dexFile, opcode, instructionStart); 47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); }
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/ |
AnnotationsDirectory.java | 59 public static AnnotationsDirectory newOrEmpty(@Nonnull DexBackedDexFile dexFile, 64 return new AnnotationsDirectoryImpl(dexFile, directoryAnnotationsOffset); 99 public static Set<? extends DexBackedAnnotation> getAnnotations(@Nonnull final DexBackedDexFile dexFile, 102 final int size = dexFile.readSmallUint(annotationSetOffset); 107 int annotationOffset = dexFile.readSmallUint(annotationSetOffset + 4 + (4*index)); 108 return new DexBackedAnnotation(dexFile, annotationOffset); 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...] |
VariableSizeCollection.java | 41 @Nonnull private final DexBackedDexFile dexFile; 45 public VariableSizeCollection(@Nonnull DexBackedDexFile dexFile, int offset, int size) { 46 this.dexFile = dexFile; 56 return new VariableSizeIterator<T>(dexFile, offset, size) {
|
VariableSizeSet.java | 41 @Nonnull private final DexBackedDexFile dexFile; 45 public VariableSizeSet(@Nonnull DexBackedDexFile dexFile, int offset, int size) { 46 this.dexFile = dexFile; 56 return new VariableSizeIterator<T>(dexFile, offset, size) {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
MapItem.java | 48 private final DexBackedDexFile dexFile; 51 public MapItem(DexBackedDexFile dexFile, int offset) { 52 this.dexFile = dexFile; 57 return dexFile.readUshort(offset + TYPE_OFFSET); 66 return dexFile.readSmallUint(offset + SIZE_OFFSET); 70 return dexFile.readSmallUint(offset + OFFSET_OFFSET); 82 int itemType = dexFile.readUshort(out.getCursor()); 87 int size = dexFile.readSmallUint(out.getCursor()); 90 int offset = dexFile.readSmallUint(out.getCursor()) [all...] |
ClassDefItem.java | 71 int classIndex = dexFile.readSmallUint(out.getCursor()); 72 out.annotate(4, "class_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, classIndex)); 74 int accessFlags = dexFile.readInt(out.getCursor()); 78 int superclassIndex = dexFile.readOptionalUint(out.getCursor()); 80 TypeIdItem.getOptionalReferenceAnnotation(dexFile, superclassIndex)); 82 int interfacesOffset = dexFile.readSmallUint(out.getCursor()); 83 out.annotate(4, "interfaces_off = %s", TypeListItem.getReferenceAnnotation(dexFile, interfacesOffset)); 85 int sourceFileIdx = dexFile.readOptionalUint(out.getCursor()); 86 out.annotate(4, "source_file_idx = %s", StringIdItem.getOptionalReferenceAnnotation(dexFile, 89 int annotationsOffset = dexFile.readSmallUint(out.getCursor()) [all...] |
StringIdItem.java | 54 int stringDataOffset = dexFile.readSmallUint(out.getCursor()); 56 String stringValue = dexFile.getString(itemIndex); 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, boolean quote) { 79 String string = dexFile.getString(stringIndex); 92 public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex) { 93 return getOptionalReferenceAnnotation(dexFile, stringIndex, false); 97 public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int stringIndex, 102 return getReferenceAnnotation(dexFile, stringIndex, quote) [all...] |
TypeIdItem.java | 53 int stringIndex = dexFile.readSmallUint(out.getCursor()); 54 out.annotate(4, StringIdItem.getReferenceAnnotation(dexFile, stringIndex)); 60 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int typeIndex) { 62 String typeString = dexFile.getType(typeIndex); 71 public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int typeIndex) { 75 return getReferenceAnnotation(dexFile, typeIndex); 78 public static String[] getTypes(@Nonnull RawDexFile dexFile) { 79 MapItem mapItem = dexFile.getMapItemForSection(ItemType.TYPE_ID_ITEM); 87 ret[i] = dexFile.getType(i);
|
TypeListItem.java | 54 int size = dexFile.readSmallUint(out.getCursor()); 58 int typeIndex = dexFile.readUshort(out.getCursor()); 59 out.annotate(2, TypeIdItem.getReferenceAnnotation(dexFile, typeIndex)); 70 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int typeListOffset) { 76 String typeList = asString(dexFile, typeListOffset); 85 public static String asString(@Nonnull DexBackedDexFile dexFile, int typeListOffset) { 92 int size = dexFile.readSmallUint(typeListOffset); 94 int typeIndex = dexFile.readUshort(typeListOffset + 4 + i*2); 95 String type = dexFile.getType(typeIndex);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
DexBackedAnnotation.java | 41 @Nonnull public final DexBackedDexFile dexFile; 47 public DexBackedAnnotation(@Nonnull DexBackedDexFile dexFile, 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) {
|
DexBackedMethodImplementation.java | 51 @Nonnull public final DexBackedDexFile dexFile; 55 public DexBackedMethodImplementation(@Nonnull DexBackedDexFile dexFile, 58 this.dexFile = dexFile; 63 @Override public int getRegisterCount() { return dexFile.readUshort(codeOffset); } 67 int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET); 74 return new VariableSizeLookaheadIterator<Instruction>(dexFile, instructionsStartOffset) { 90 final int triesSize = dexFile.readUshort(codeOffset + CodeItem.TRIES_SIZE_OFFSET); 92 int instructionsSize = dexFile.readSmallUint(codeOffset + CodeItem.INSTRUCTION_COUNT_OFFSET); 101 return new DexBackedTryBlock(dexFile, [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/ |
DexBackedReference.java | 42 public static Reference makeReference(@Nonnull DexBackedDexFile dexFile, int referenceType, int referenceIndex) { 45 return new DexBackedStringReference(dexFile, referenceIndex); 47 return new DexBackedTypeReference(dexFile, referenceIndex); 49 return new DexBackedMethodReference(dexFile, referenceIndex); 51 return new DexBackedFieldReference(dexFile, referenceIndex);
|