Class CDexBackedDexFile

    • Constructor Detail

      • CDexBackedDexFile

        public CDexBackedDexFile​(@Nullable
                                 Opcodes opcodes,
                                 @Nonnull
                                 byte[] buf,
                                 int offset,
                                 boolean verifyMagic)
      • CDexBackedDexFile

        public CDexBackedDexFile​(@Nullable
                                 Opcodes opcodes,
                                 @Nonnull
                                 DexBuffer buf)
      • CDexBackedDexFile

        public CDexBackedDexFile​(@Nullable
                                 Opcodes opcodes,
                                 @Nonnull
                                 byte[] buf,
                                 int offset)
      • CDexBackedDexFile

        public CDexBackedDexFile​(@Nullable
                                 Opcodes opcodes,
                                 @Nonnull
                                 byte[] buf)
    • Method Detail

      • isCdex

        public static boolean isCdex​(byte[] buf,
                                     int offset)
      • getVersion

        protected int getVersion​(byte[] buf,
                                 int offset,
                                 boolean verifyMagic)
        Overrides:
        getVersion in class DexBackedDexFile
      • getBaseDataOffset

        public int getBaseDataOffset()
        Overrides:
        getBaseDataOffset in class DexBackedDexFile
        Returns:
        The offset that various data offsets are relative to. This is always 0 for a dex file, but may be different for other related formats (e.g. cdex).
      • getDebugInfoOffsetsPos

        public int getDebugInfoOffsetsPos()
      • getDebugInfoOffsetsTableOffset

        public int getDebugInfoOffsetsTableOffset()
      • getDebugInfoBase

        public int getDebugInfoBase()