Class SectionReader

java.lang.Object
jadx.plugins.input.dex.sections.SectionReader

public class SectionReader extends Object
  • Field Details

    • buf

      private final ByteBuffer buf
    • dexReader

      private final DexReader dexReader
    • offset

      private int offset
  • Constructor Details

    • SectionReader

      public SectionReader(DexReader dexReader, int off)
    • SectionReader

      private SectionReader(SectionReader sectionReader, int off)
  • Method Details

    • copy

      public SectionReader copy()
    • copy

      public SectionReader copy(int off)
    • getByteCode

      public byte[] getByteCode(int start, int len)
    • duplicate

      private static ByteBuffer duplicate(ByteBuffer baseBuffer, int off)
    • setOffset

      public void setOffset(int offset)
    • getOffset

      public int getOffset()
    • shiftOffset

      public void shiftOffset(int shift)
    • pos

      public SectionReader pos(int pos)
    • absPos

      public SectionReader absPos(int pos)
    • getAbsPos

      public int getAbsPos()
    • skip

      public void skip(int skip)
    • readInt

      public int readInt()
    • readLong

      public long readLong()
    • readByte

      public byte readByte()
    • readUByte

      public int readUByte()
    • readUShort

      public int readUShort()
    • readShort

      public int readShort()
    • readByteArray

      public byte[] readByteArray(int len)
    • readUShortArray

      public int[] readUShortArray(int size)
    • readString

      public String readString(int len)
    • readTypeListAt

      private List<String> readTypeListAt(int paramsOff)
    • readTypeList

      public List<String> readTypeList()
    • getType

      @Nullable public @Nullable String getType(int idx)
    • getString

      @Nullable public @Nullable String getString(int idx)
    • getFieldRef

      public IFieldRef getFieldRef(int idx)
    • fillFieldData

      public int fillFieldData(DexFieldData fieldData, int idx)
    • getMethodRef

      public DexMethodRef getMethodRef(int idx)
    • getCallSite

      public ICallSite getCallSite(int idx, SectionReader ext)
    • getMethodHandle

      public IMethodHandle getMethodHandle(int idx)
    • getMethodHandleType

      private MethodHandleType getMethodHandleType(int type)
    • initMethodRef

      public void initMethodRef(int idx, DexMethodRef methodRef)
    • loadMethodRef

      public void loadMethodRef(DexMethodRef methodRef, int idx)
    • getMethodProto

      public DexMethodProto getMethodProto(int idx)
    • getMethodParamTypes

      public List<String> getMethodParamTypes(int idx)
    • getDexReader

      public DexReader getDexReader()
    • readUleb128

      public int readUleb128()
    • readUleb128p1

      public int readUleb128p1()
    • readSleb128

      public int readSleb128()
    • size

      public int size()
    • toString

      public String toString()
      Overrides:
      toString in class Object