/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
D | RawInsnHelper.java | 27 public static long getSignedByteFromByte(byte[] raw, int idx) { in getSignedByteFromByte() argument 28 return (long) raw[idx]; in getSignedByteFromByte() 34 public static long getUnsignedByteFromByte(byte[] raw, int idx) { in getUnsignedByteFromByte() argument 35 return ((long) raw[idx]) & 0xff; in getUnsignedByteFromByte() 41 public static long getUnsignedLowNibbleFromByte(byte[] raw, int idx) { in getUnsignedLowNibbleFromByte() argument 42 return ((long) raw[idx]) & 0xf; in getUnsignedLowNibbleFromByte() 48 public static long getUnsignedHighNibbleFromByte(byte[] raw, int idx) { in getUnsignedHighNibbleFromByte() argument 49 return (((long) raw[idx]) >> 4) & 0xf; in getUnsignedHighNibbleFromByte() 55 public static long getUnsignedShortFromTwoBytes(byte[] raw, int idx) { in getUnsignedShortFromTwoBytes() argument 56 return (long) ( (((long) raw[idx]) & 0xff) in getUnsignedShortFromTwoBytes() [all …]
|
D | Format3rmi.java | 35 public long getA(byte[] raw) throws IOException { in getA() argument 36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 40 public long getB(byte[] raw) throws IOException { in getB() argument 41 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 45 public long getC(byte[] raw) throws IOException { in getC() argument 46 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 4); in getC()
|
D | Format3rms.java | 35 public long getA(byte[] raw) throws IOException { in getA() argument 36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 40 public long getB(byte[] raw) throws IOException { in getB() argument 41 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 45 public long getC(byte[] raw) throws IOException { in getC() argument 46 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 4); in getC()
|
D | Format23x.java | 35 public long getA(byte[] raw) throws IOException { in getA() argument 36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 40 public long getB(byte[] raw) throws IOException { in getB() argument 41 return RawInsnHelper.getUnsignedByteFromByte(raw, 2); in getB() 45 public long getC(byte[] raw) throws IOException { in getC() argument 46 return RawInsnHelper.getUnsignedByteFromByte(raw, 3); in getC()
|
D | Format22cs.java | 37 public long getA(byte[] raw) throws IOException { in getA() argument 38 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 42 public long getB(byte[] raw) throws IOException { in getB() argument 43 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 47 public long getC(byte[] raw) throws IOException { in getC() argument 48 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getC()
|
D | Format35ms.java | 37 public long getA(byte[] raw) throws IOException { in getA() argument 38 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getA() 42 public long getB(byte[] raw) throws IOException { in getB() argument 43 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 47 public long getC(byte[] raw) throws IOException { in getC() argument 48 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 4); in getC()
|
D | Format22t.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument 45 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2); in getC()
|
D | Format35mi.java | 37 public long getA(byte[] raw) throws IOException { in getA() argument 38 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getA() 42 public long getB(byte[] raw) throws IOException { in getB() argument 43 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 47 public long getC(byte[] raw) throws IOException { in getC() argument 48 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 4); in getC()
|
D | Format22b.java | 35 public long getA(byte[] raw) throws IOException { in getA() argument 36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 40 public long getB(byte[] raw) throws IOException { in getB() argument 41 return RawInsnHelper.getUnsignedByteFromByte(raw, 2); in getB() 45 public long getC(byte[] raw) throws IOException { in getC() argument 46 return RawInsnHelper.getSignedByteFromByte(raw, 3); in getC()
|
D | Format22s.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument 45 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2); in getC()
|
D | Format12x.java | 33 public long getA(byte[] raw) throws IOException { in getA() argument 34 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 38 public long getB(byte[] raw) throws IOException { in getB() argument 39 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 43 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format20bc.java | 38 public long getA(byte[] raw) throws IOException { in getA() argument 39 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 43 public long getB(byte[] raw) throws IOException { in getB() argument 44 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 1); in getB() 48 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format22x.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format3rc.java | 37 public long getA(byte[] raw) throws IOException { in getA() argument 38 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 42 public long getB(byte[] raw) throws IOException { in getB() argument 43 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 47 public long getC(byte[] raw) throws IOException { in getC() argument 48 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 4); in getC()
|
D | Format32x.java | 35 public long getA(byte[] raw) throws IOException { in getA() argument 36 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getA() 40 public long getB(byte[] raw) throws IOException { in getB() argument 41 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 4); in getB() 45 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format22c.java | 36 public long getA(byte[] raw) throws IOException { in getA() argument 37 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 41 public long getB(byte[] raw) throws IOException { in getB() argument 42 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 46 public long getC(byte[] raw) throws IOException { in getC() argument 47 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getC()
|
D | Format31t.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getSignedIntFromFourBytes(raw, 2); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format11n.java | 33 public long getA(byte[] raw) throws IOException { in getA() argument 34 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 1); in getA() 38 public long getB(byte[] raw) throws IOException { in getB() argument 39 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getB() 43 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format21t.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format35c.java | 39 public long getA(byte[] raw) throws IOException { in getA() argument 40 return RawInsnHelper.getUnsignedHighNibbleFromByte(raw, 1); in getA() 44 public long getB(byte[] raw) throws IOException { in getB() argument 45 return RawInsnHelper.getUnsignedShortFromTwoBytes(raw, 2); in getB() 49 public long getC(byte[] raw) throws IOException { in getC() argument 50 return RawInsnHelper.getUnsignedLowNibbleFromByte(raw, 4); in getC()
|
D | Format31i.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getSignedIntFromFourBytes(raw, 2); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format21s.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format21h.java | 34 public long getA(byte[] raw) throws IOException { in getA() argument 35 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 39 public long getB(byte[] raw) throws IOException { in getB() argument 40 return RawInsnHelper.getSignedShortFromTwoBytes(raw, 2); in getB() 44 public long getC(byte[] raw) throws IOException { in getC() argument
|
D | Format31c.java | 35 public long getA(byte[] raw) throws IOException { in getA() argument 36 return RawInsnHelper.getUnsignedByteFromByte(raw, 1); in getA() 40 public long getB(byte[] raw) throws IOException { in getB() argument 41 return RawInsnHelper.getUnsignedIntFromFourBytes(raw, 2); in getB() 45 public long getC(byte[] raw) throws IOException { in getC() argument
|
/art/libdexfile/dex/ |
D | art_dex_file_loader_test.cc | 61 std::unique_ptr<const DexFile> raw(OpenTestDexFile("Main")); in TEST_F() local 62 EXPECT_NE(raw->GetHeader().checksum_, raw->GetLocationChecksum()); in TEST_F() 98 std::unique_ptr<const DexFile> raw(OpenTestDexFile("Nested")); in TEST_F() local 99 ASSERT_TRUE(raw.get() != nullptr); in TEST_F() 100 EXPECT_EQ(3U, raw->NumClassDefs()); in TEST_F() 102 const dex::ClassDef& c0 = raw->GetClassDef(0); in TEST_F() 103 EXPECT_STREQ("LNested$1;", raw->GetClassDescriptor(c0)); in TEST_F() 105 const dex::ClassDef& c1 = raw->GetClassDef(1); in TEST_F() 106 EXPECT_STREQ("LNested$Inner;", raw->GetClassDescriptor(c1)); in TEST_F() 108 const dex::ClassDef& c2 = raw->GetClassDef(2); in TEST_F() [all …]
|