Home
last modified time | relevance | path

Searched refs:rawBytes (Results 1 – 2 of 2) sorted by relevance

/art/tools/dexfuzz/src/dexfuzz/rawdex/
DInstruction.java69 public byte[] rawBytes; field in Instruction
91 if (newInsn.rawBytes != null) { in clone()
92 newInsn.rawBytes = new byte[rawBytes.length]; in clone()
93 for (int i = 0; i < rawBytes.length; i++) { in clone()
94 newInsn.rawBytes[i] = rawBytes[i]; in clone()
127 rawBytes = new byte[2 * getSize()]; in read()
129 file.read(rawBytes); in read()
131 vregA = info.format.getA(rawBytes); in read()
132 vregB = info.format.getB(rawBytes); in read()
133 vregC = info.format.getC(rawBytes); in read()
[all …]
/art/tools/dexfuzz/src/dexfuzz/program/
DCodeTranslator.java397 int targetsSize = (int) RawInsnHelper.getUnsignedShortFromTwoBytes(dataInsn.rawBytes, rawPtr); in readSwitchInstruction()
407 keys[0] = (int) RawInsnHelper.getUnsignedIntFromFourBytes(dataInsn.rawBytes, rawPtr); in readSwitchInstruction()
417 keys[i] = (int) RawInsnHelper.getUnsignedIntFromFourBytes(dataInsn.rawBytes, in readSwitchInstruction()
425 targets[i] = (int) RawInsnHelper.getUnsignedIntFromFourBytes(dataInsn.rawBytes, in readSwitchInstruction()
473 RawInsnHelper.writeUnsignedShortToTwoBytes(dataInsn.rawBytes, rawPtr, targetsSize); in updateSwitchInstruction()
479 RawInsnHelper.writeUnsignedIntToFourBytes(dataInsn.rawBytes, rawPtr, keys[0]); in updateSwitchInstruction()
484 RawInsnHelper.writeUnsignedIntToFourBytes(dataInsn.rawBytes, rawPtr, keys[i]); in updateSwitchInstruction()
491 RawInsnHelper.writeUnsignedIntToFourBytes(dataInsn.rawBytes, rawPtr, targets[i]); in updateSwitchInstruction()