agorski3 and JesusFreke Fix instructions 45cc and 4rcc (invoke-polymorphic)
Previously the offset of the method prototype was 3 bytes from the
instruction start for both instructions. This would put it somewhere in
the middle of the register values and method reference. Changed it to
the correct offset which is 6 bytes in both cases.

45cc Instruction Format
  op(8 bits)
  number_of_regs(4 bits)
  reg_g(4 bits)
  method_reference(16 bits)
  reg_d(4 bits)
  reg_c(4 bits)
  reg_f(4 bits)
  ref_e(4 bits)
  method_prototype(16 bits)

Example of invoke-polymorphic using 45cc
  Instruction: fa302f0021030800
  DexDump: invoke-polymorphic  {v1, v2, v3}, Ljava/lang/invoke/MethodHandle;
           .invoke:([Ljava/lang/Object;)Ljava/lang/Object;,
           (II)Ljava/lang/Object; // method@002f, proto@0008

4rcc Instruction Format
  op(8 bits)
  number_of_regs(8 bits)
  method_reference(16 bits)
  start_register(16 bits)
  method_prototype(16 bits)

Example of invoke-polymorphic using 4rcc
  Instruction: fb092f0000000800
  DexDump: invoke-polymorphic/range  {v0, v1, v2, v3, v4, v5, v6, v7, v8},
           Ljava/lang/invoke/MethodHandle;.invoke:([Ljava/lang/Object;)
           Ljava/lang/Object;, (IIIIIIILjava/lang/String;)Ljava/lang/Object;
           // method@002f, proto@0008
Latest commit 49ecdb3 Jul 7, 2018
Permalink
..
Failed to load latest commit information.
analysis Extract new class, PathEntryLoader from ClassPathResolver. Jul 10, 2018
base Add the basic structures necessary to support invoke-custom May 23, 2018
builder Add basic support for ODEX instructions May 17, 2017
dexbacked Fix instructions 45cc and 4rcc (invoke-polymorphic) Jul 11, 2018
iface Let baksmali infer the api level when possible May 23, 2018
immutable Change the name of the invoke method handle types May 23, 2018
rewriter Pass in the Opcodes to use for SyntheticAccessorFSM Oct 17, 2015
util Refactor most of the utility classes from util into dexlib2 Jul 1, 2018
writer Add reminder to keep section arrays in sync Jul 10, 2018
AccessFlags.java Improve how access flags are handled Oct 25, 2012
AnnotationVisibility.java Add AnnotationVisibility.getVisibility(String) Apr 14, 2013
DebugItemType.java Use final and a private constructor for non-instantiable classes Nov 17, 2012
DexFileFactory.java Let baksmali infer the api level when possible May 23, 2018
Format.java Revert "Add lambda experimental dalvik opcodes" Aug 17, 2016
MethodHandleType.java Change the name of the invoke method handle types May 23, 2018
Opcode.java Add support for dex version 39 in dexlib2 May 23, 2018
Opcodes.java Make mapDexVersionToApi return NO_VERSION in the style of the other maps Jul 2, 2018
ReferenceType.java Add the basic structures necessary to support invoke-custom May 23, 2018
ValueType.java Add support for dumping the new structures May 23, 2018
VerificationError.java Add better handling for various types of invalid instructions Dec 9, 2013
VersionMap.java Use a switch statement in mapDexVersionToApi Jul 2, 2018