/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/ |
H A D | DexBackedFieldReference.java | 41 @Nonnull public final DexBackedDexFile dexFile; field in class:DexBackedFieldReference 44 public DexBackedFieldReference(@Nonnull DexBackedDexFile dexFile, int fieldIndex) { argument 45 this.dexFile = dexFile; 46 this.fieldIdItemOffset = dexFile.getFieldIdItemOffset(fieldIndex); 52 return dexFile.getType(dexFile.readUshort(fieldIdItemOffset + FieldIdItem.CLASS_OFFSET)); 58 return dexFile.getString(dexFile.readSmallUint(fieldIdItemOffset + FieldIdItem.NAME_OFFSET)); 64 return dexFile [all...] |
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);
|
H A D | DexBackedMethodReference.java | 46 @Nonnull public final DexBackedDexFile dexFile; field in class:DexBackedMethodReference 50 public DexBackedMethodReference(@Nonnull DexBackedDexFile dexFile, int methodIndex) { argument 51 this.dexFile = dexFile; 52 this.methodIdItemOffset = dexFile.getMethodIdItemOffset(methodIndex); 58 return dexFile.getType(dexFile.readUshort(methodIdItemOffset + MethodIdItem.CLASS_OFFSET)); 64 return dexFile.getString(dexFile.readSmallUint(methodIdItemOffset + MethodIdItem.NAME_OFFSET)); 71 final int parametersOffset = dexFile [all...] |
H A D | DexBackedMethodProtoReference.java | 45 @Nonnull public final DexBackedDexFile dexFile; field in class:DexBackedMethodProtoReference 48 public DexBackedMethodProtoReference(@Nonnull DexBackedDexFile dexFile, int protoIndex) { argument 49 this.dexFile = dexFile; 50 this.protoIdItemOffset = dexFile.getProtoIdItemOffset(protoIndex); 56 final int parametersOffset = dexFile.readSmallUint(protoIdItemOffset + ProtoIdItem.PARAMETERS_OFFSET); 58 final int parameterCount = dexFile.readSmallUint(parametersOffset + TypeListItem.SIZE_OFFSET); 64 return dexFile.getType(dexFile.readUshort(paramListStart + 2*index)); 75 return dexFile [all...] |
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);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/ |
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 | DexBackedInstruction45cc.java | 44 public DexBackedInstruction45cc(@Nonnull DexBackedDexFile dexFile, argument 47 super(dexFile, opcode, instructionStart); 51 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); 56 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); 61 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); 66 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); 71 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); 76 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); 82 return DexBackedReference.makeReference(dexFile, opcode.referenceType, 83 dexFile [all...] |
H A D | DexBackedInstruction22b.java | 41 public DexBackedInstruction22b(@Nonnull DexBackedDexFile dexFile, argument 44 super(dexFile, opcode, instructionStart); 47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); } 48 @Override public int getRegisterB() { return dexFile.readUbyte(instructionStart + 2); } 49 @Override public int getNarrowLiteral() { return dexFile.readByte(instructionStart + 3); }
|
H A D | DexBackedInstruction23x.java | 41 public DexBackedInstruction23x(@Nonnull DexBackedDexFile dexFile, argument 44 super(dexFile, opcode, instructionStart); 47 @Override public int getRegisterA() { return dexFile.readUbyte(instructionStart + 1); } 48 @Override public int getRegisterB() { return dexFile.readUbyte(instructionStart + 2); } 49 @Override public int getRegisterC() { return dexFile.readUbyte(instructionStart + 3); }
|
H A D | DexBackedInstruction3rmi.java | 41 public DexBackedInstruction3rmi(@Nonnull DexBackedDexFile dexFile, argument 44 super(dexFile, opcode, instructionStart); 48 return dexFile.readUbyte(instructionStart + 1); 53 return dexFile.readUshort(instructionStart + 4); 58 return dexFile.readUshort(instructionStart + 2);
|
H A D | DexBackedInstruction3rms.java | 41 public DexBackedInstruction3rms(@Nonnull DexBackedDexFile dexFile, argument 44 super(dexFile, opcode, instructionStart); 48 return dexFile.readUbyte(instructionStart + 1); 53 return dexFile.readUshort(instructionStart + 4); 58 return dexFile.readUshort(instructionStart + 2);
|
H A D | DexBackedInstruction35c.java | 44 public DexBackedInstruction35c(@Nonnull DexBackedDexFile dexFile, argument 47 super(dexFile, opcode, instructionStart); 51 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); 56 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); 61 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 4)); 66 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); 71 return NibbleUtils.extractHighUnsignedNibble(dexFile.readUbyte(instructionStart + 5)); 76 return NibbleUtils.extractLowUnsignedNibble(dexFile.readUbyte(instructionStart + 1)); 82 return DexBackedReference.makeReference(dexFile, opcode.referenceType, 83 dexFile [all...] |
H A D | DexBackedInstruction3rc.java | 43 public DexBackedInstruction3rc(@Nonnull DexBackedDexFile dexFile, argument 46 super(dexFile, opcode, instructionStart); 50 return dexFile.readUbyte(instructionStart + 1); 55 return dexFile.readUshort(instructionStart + 4); 61 return DexBackedReference.makeReference(dexFile, opcode.referenceType, 62 dexFile.readUshort(instructionStart + 2));
|
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 | 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/ |
H A D | DexReader.java | 37 public DexReader(@Nonnull DexBackedDexFile dexFile, int offset) { argument 38 super(dexFile, offset);
|
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/dexbacked/raw/ |
H A D | FieldIdItem.java | 57 int classIndex = dexFile.readUshort(out.getCursor()); 58 out.annotate(2, "class_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, classIndex)); 60 int typeIndex = dexFile.readUshort(out.getCursor()); 61 out.annotate(2, "return_type_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, typeIndex)); 63 int nameIndex = dexFile.readSmallUint(out.getCursor()); 64 out.annotate(4, "name_idx = %s", StringIdItem.getReferenceAnnotation(dexFile, nameIndex)); 70 public static String asString(@Nonnull DexBackedDexFile dexFile, int fieldIndex) { argument 71 int fieldOffset = dexFile.getFieldIdItemOffset(fieldIndex); 72 int classIndex = dexFile.readUshort(fieldOffset + CLASS_OFFSET); 73 String classType = dexFile 85 getReferenceAnnotation(@onnull DexBackedDexFile dexFile, int fieldIndex) argument 95 getFields(@onnull RawDexFile dexFile) argument [all...] |
H A D | MethodIdItem.java | 57 int classIndex = dexFile.readUshort(out.getCursor()); 58 out.annotate(2, "class_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, classIndex)); 60 int protoIndex = dexFile.readUshort(out.getCursor()); 61 out.annotate(2, "proto_idx = %s", ProtoIdItem.getReferenceAnnotation(dexFile, protoIndex)); 63 int nameIndex = dexFile.readSmallUint(out.getCursor()); 64 out.annotate(4, "name_idx = %s", StringIdItem.getReferenceAnnotation(dexFile, nameIndex)); 70 public static String asString(@Nonnull DexBackedDexFile dexFile, int methodIndex) { argument 71 int methodOffset = dexFile.getMethodIdItemOffset(methodIndex); 72 int classIndex = dexFile.readUshort(methodOffset + CLASS_OFFSET); 73 String classType = dexFile 85 getReferenceAnnotation(@onnull DexBackedDexFile dexFile, int methodIndex) argument 95 getMethods(@onnull RawDexFile dexFile) argument [all...] |
H A D | HeaderItem.java | 93 @Nonnull private RawDexFile dexFile; field in class:HeaderItem 95 public HeaderItem(@Nonnull RawDexFile dexFile) { argument 96 this.dexFile = dexFile; 100 return dexFile.readSmallUint(CHECKSUM_OFFSET); 104 return dexFile.readByteRange(SIGNATURE_OFFSET, SIGNATURE_SIZE); 108 return dexFile.readSmallUint(MAP_OFFSET); 112 return dexFile.readSmallUint(HEADER_SIZE_OFFSET); 116 return dexFile.readSmallUint(STRING_COUNT_OFFSET); 120 return dexFile [all...] |
H A D | AnnotationDirectoryItem.java | 59 int classAnnotationsOffset = dexFile.readSmallUint(out.getCursor()); 61 AnnotationSetItem.getReferenceAnnotation(dexFile, classAnnotationsOffset)); 63 int fieldsSize = dexFile.readSmallUint(out.getCursor()); 66 int annotatedMethodsSize = dexFile.readSmallUint(out.getCursor()); 69 int annotatedParameterSize = dexFile.readSmallUint(out.getCursor()); 78 int fieldIndex = dexFile.readSmallUint(out.getCursor()); 79 out.annotate(4, "%s", FieldIdItem.getReferenceAnnotation(dexFile, fieldIndex)); 80 int annotationOffset = dexFile.readSmallUint(out.getCursor()); 81 out.annotate(4, "%s", AnnotationSetItem.getReferenceAnnotation(dexFile, annotationOffset)); 93 int methodIndex = dexFile [all...] |
H A D | ProtoIdItem.java | 57 int shortyIndex = dexFile.readSmallUint(out.getCursor()); 58 out.annotate(4, "shorty_idx = %s", StringIdItem.getReferenceAnnotation(dexFile, shortyIndex)); 60 int returnTypeIndex = dexFile.readSmallUint(out.getCursor()); 61 out.annotate(4, "return_type_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, returnTypeIndex)); 63 int parametersOffset = dexFile.readSmallUint(out.getCursor()); 64 out.annotate(4, "parameters_off = %s", TypeListItem.getReferenceAnnotation(dexFile, parametersOffset)); 70 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int protoIndex) { argument 72 String protoString = asString(dexFile, protoIndex); 81 public static String asString(@Nonnull DexBackedDexFile dexFile, int protoIndex) { argument 82 int offset = dexFile 98 getProtos(@onnull RawDexFile dexFile) argument [all...] |