Home
last modified time | relevance | path

Searched refs:rawDexFile (Results 1 – 5 of 5) sorted by relevance

/art/tools/dexfuzz/src/dexfuzz/rawdex/
DMapList.java27 private RawDexFile rawDexFile; field in MapList
32 public MapList(RawDexFile rawDexFile) { in MapList() argument
33 this.rawDexFile = rawDexFile; in MapList()
39 file.seek(rawDexFile.header.mapOff.getOriginalOffset()); in read()
71 rawDexFile.stringIds.add(newStringId); in read()
78 rawDexFile.typeIds.add(newTypeId); in read()
85 rawDexFile.protoIds.add(newProtoId); in read()
92 rawDexFile.fieldIds.add(newFieldId); in read()
99 rawDexFile.methodIds.add(newMethodId); in read()
106 rawDexFile.classDefs.add(newClassDef); in read()
[all …]
DOffsetTracker.java300 private void addTypeListsToMapFile(RawDexFile rawDexFile, Offsettable typeListOffsettable) { in addTypeListsToMapFile() argument
311 for (MapItem mapItem : rawDexFile.mapList.mapItems) { in addTypeListsToMapFile()
318 rawDexFile.mapList.mapItems.add(idx, typeListMapItem); in addTypeListsToMapFile()
321 private void addFieldIdsToHeaderAndMapFile(RawDexFile rawDexFile, in addFieldIdsToHeaderAndMapFile() argument
324 rawDexFile.header.fieldIdsOff.unsetNullAndPointTo(fieldOffsettable); in addFieldIdsToHeaderAndMapFile()
325 rawDexFile.header.fieldIdsSize = 1; in addFieldIdsToHeaderAndMapFile()
337 for (MapItem mapItem : rawDexFile.mapList.mapItems) { in addFieldIdsToHeaderAndMapFile()
344 rawDexFile.mapList.mapItems.add(idx, fieldMapItem); in addFieldIdsToHeaderAndMapFile()
348 private void updateOffsetsInHeaderAndMapFile(RawDexFile rawDexFile, in updateOffsetsInHeaderAndMapFile() argument
365 HeaderItem header = rawDexFile.header; in updateOffsetsInHeaderAndMapFile()
[all …]
/art/tools/dexfuzz/src/dexfuzz/program/
DIdCreator.java41 private RawDexFile rawDexFile; field in IdCreator
43 public IdCreator(RawDexFile rawDexFile) { in IdCreator() argument
44 this.rawDexFile = rawDexFile; in IdCreator()
66 for (ProtoIdItem protoId : rawDexFile.protoIds) { in findProtoIdInsertionPoint()
97 for (MethodIdItem methodId : rawDexFile.methodIds) { in findMethodIdInsertionPoint()
122 for (TypeIdItem typeId : rawDexFile.typeIds) { in findTypeIdInsertionPoint()
133 for (StringDataItem stringData : rawDexFile.stringDatas) { in findStringDataInsertionPoint()
153 for (FieldIdItem fieldId : rawDexFile.fieldIds) { in findFieldIdInsertionPoint()
170 if (rawDexFile.methodIds.size() >= 65536) { in createMethodId()
196 rawDexFile.methodIds.add(newMethodIdIdx, newMethodId); in createMethodId()
[all …]
DProgram.java93 private RawDexFile rawDexFile; field in Program
153 public Program(RawDexFile rawDexFile, List<Mutation> previousMutations, in Program() argument
157 idCreator = new IdCreator(rawDexFile); in Program()
188 this.rawDexFile = rawDexFile; in Program()
226 for (CodeItem codeItem : rawDexFile.codeItems) { in Program()
255 for (ClassDefItem classDefItem : rawDexFile.classDefs) { in associateClassDefsAndClassData()
272 for (ClassDataItem classDataItem : rawDexFile.classDatas) { in associateCodeItemsWithMethodNames()
277 TypeIdItem typeIdItem = rawDexFile.typeIds.get(typeIdx); in associateCodeItemsWithMethodNames()
278 className = rawDexFile.stringDatas.get(typeIdItem.descriptorIdx).getString() + "."; in associateCodeItemsWithMethodNames()
316 MethodIdItem methodIdItem = rawDexFile.methodIds.get(methodIdx); in associateMethod()
[all …]
/art/tools/dexfuzz/src/dexfuzz/fuzzers/
DFuzzer.java378 RawDexFile rawDexFile = new RawDexFile(); in loadProgram() local
380 rawDexFile.read(input); in loadProgram()
385 program = new Program(rawDexFile, mutations, listener); in loadProgram()