Lines Matching refs:DexFile
32 case DexFile::kDexTypeHeaderItem: return 1 << 0; in MapTypeToBitMask()
33 case DexFile::kDexTypeStringIdItem: return 1 << 1; in MapTypeToBitMask()
34 case DexFile::kDexTypeTypeIdItem: return 1 << 2; in MapTypeToBitMask()
35 case DexFile::kDexTypeProtoIdItem: return 1 << 3; in MapTypeToBitMask()
36 case DexFile::kDexTypeFieldIdItem: return 1 << 4; in MapTypeToBitMask()
37 case DexFile::kDexTypeMethodIdItem: return 1 << 5; in MapTypeToBitMask()
38 case DexFile::kDexTypeClassDefItem: return 1 << 6; in MapTypeToBitMask()
39 case DexFile::kDexTypeMapList: return 1 << 7; in MapTypeToBitMask()
40 case DexFile::kDexTypeTypeList: return 1 << 8; in MapTypeToBitMask()
41 case DexFile::kDexTypeAnnotationSetRefList: return 1 << 9; in MapTypeToBitMask()
42 case DexFile::kDexTypeAnnotationSetItem: return 1 << 10; in MapTypeToBitMask()
43 case DexFile::kDexTypeClassDataItem: return 1 << 11; in MapTypeToBitMask()
44 case DexFile::kDexTypeCodeItem: return 1 << 12; in MapTypeToBitMask()
45 case DexFile::kDexTypeStringDataItem: return 1 << 13; in MapTypeToBitMask()
46 case DexFile::kDexTypeDebugInfoItem: return 1 << 14; in MapTypeToBitMask()
47 case DexFile::kDexTypeAnnotationItem: return 1 << 15; in MapTypeToBitMask()
48 case DexFile::kDexTypeEncodedArrayItem: return 1 << 16; in MapTypeToBitMask()
49 case DexFile::kDexTypeAnnotationsDirectoryItem: return 1 << 17; in MapTypeToBitMask()
56 case DexFile::kDexTypeHeaderItem: in IsDataSectionType()
57 case DexFile::kDexTypeStringIdItem: in IsDataSectionType()
58 case DexFile::kDexTypeTypeIdItem: in IsDataSectionType()
59 case DexFile::kDexTypeProtoIdItem: in IsDataSectionType()
60 case DexFile::kDexTypeFieldIdItem: in IsDataSectionType()
61 case DexFile::kDexTypeMethodIdItem: in IsDataSectionType()
62 case DexFile::kDexTypeClassDefItem: in IsDataSectionType()
103 bool DexFileVerifier::Verify(const DexFile* dex_file, const byte* begin, size_t size) { in Verify()
155 if (header_->endian_tag_ != DexFile::kDexEndianConstant) { in CheckHeader()
160 if (header_->header_size_ != sizeof(DexFile::Header)) { in CheckHeader()
169 …const DexFile::MapList* map = reinterpret_cast<const DexFile::MapList*>(begin_ + header_->map_off_… in CheckMap()
170 const DexFile::MapItem* item = map->list_; in CheckMap()
179 if (!CheckListSize(item, count, sizeof(DexFile::MapItem), "map size")) { in CheckMap()
222 if ((used_bits & MapTypeToBitMask(DexFile::kDexTypeHeaderItem)) == 0) { in CheckMap()
226 if ((used_bits & MapTypeToBitMask(DexFile::kDexTypeMapList)) == 0) { in CheckMap()
230 if ((used_bits & MapTypeToBitMask(DexFile::kDexTypeStringIdItem)) == 0 && in CheckMap()
235 if ((used_bits & MapTypeToBitMask(DexFile::kDexTypeTypeIdItem)) == 0 && in CheckMap()
240 if ((used_bits & MapTypeToBitMask(DexFile::kDexTypeProtoIdItem)) == 0 && in CheckMap()
245 if ((used_bits & MapTypeToBitMask(DexFile::kDexTypeFieldIdItem)) == 0 && in CheckMap()
250 if ((used_bits & MapTypeToBitMask(DexFile::kDexTypeMethodIdItem)) == 0 && in CheckMap()
255 if ((used_bits & MapTypeToBitMask(DexFile::kDexTypeClassDefItem)) == 0 && in CheckMap()
277 bool DexFileVerifier::CheckAndGetHandlerOffsets(const DexFile::CodeItem* code_item, in CheckAndGetHandlerOffsets()
279 const byte* handlers_base = DexFile::GetCatchHandlerData(*code_item, 0); in CheckAndGetHandlerOffsets()
407 uint32_t value_type = header_byte & DexFile::kDexAnnotationValueTypeMask; in CheckEncodedValue()
408 uint32_t value_arg = header_byte >> DexFile::kDexAnnotationValueArgShift; in CheckEncodedValue()
411 case DexFile::kDexAnnotationByte: in CheckEncodedValue()
418 case DexFile::kDexAnnotationShort: in CheckEncodedValue()
419 case DexFile::kDexAnnotationChar: in CheckEncodedValue()
426 case DexFile::kDexAnnotationInt: in CheckEncodedValue()
427 case DexFile::kDexAnnotationFloat: in CheckEncodedValue()
434 case DexFile::kDexAnnotationLong: in CheckEncodedValue()
435 case DexFile::kDexAnnotationDouble: in CheckEncodedValue()
438 case DexFile::kDexAnnotationString: { in CheckEncodedValue()
449 case DexFile::kDexAnnotationType: { in CheckEncodedValue()
460 case DexFile::kDexAnnotationField: in CheckEncodedValue()
461 case DexFile::kDexAnnotationEnum: { in CheckEncodedValue()
472 case DexFile::kDexAnnotationMethod: { in CheckEncodedValue()
483 case DexFile::kDexAnnotationArray: in CheckEncodedValue()
492 case DexFile::kDexAnnotationAnnotation: in CheckEncodedValue()
501 case DexFile::kDexAnnotationNull: in CheckEncodedValue()
507 case DexFile::kDexAnnotationBoolean: in CheckEncodedValue()
594 const DexFile::CodeItem* code_item = reinterpret_cast<const DexFile::CodeItem*>(ptr_); in CheckIntraCodeItem()
636 const DexFile::TryItem* try_items = DexFile::GetTryItems(*code_item, 0); in CheckIntraCodeItem()
637 ptr_ = DexFile::GetCatchHandlerData(*code_item, 0); in CheckIntraCodeItem()
640 if (!CheckListSize(try_items, try_items_size, sizeof(DexFile::TryItem), "try_items size")) { in CheckIntraCodeItem()
796 case DexFile::DBG_END_SEQUENCE: { in CheckIntraDebugInfoItem()
799 case DexFile::DBG_ADVANCE_PC: { in CheckIntraDebugInfoItem()
803 case DexFile::DBG_ADVANCE_LINE: { in CheckIntraDebugInfoItem()
807 case DexFile::DBG_START_LOCAL: { in CheckIntraDebugInfoItem()
829 case DexFile::DBG_END_LOCAL: in CheckIntraDebugInfoItem()
830 case DexFile::DBG_RESTART_LOCAL: { in CheckIntraDebugInfoItem()
838 case DexFile::DBG_START_LOCAL_EXTENDED: { in CheckIntraDebugInfoItem()
867 case DexFile::DBG_SET_FILE: { in CheckIntraDebugInfoItem()
888 case DexFile::kDexVisibilityBuild: in CheckIntraAnnotationItem()
889 case DexFile::kDexVisibilityRuntime: in CheckIntraAnnotationItem()
890 case DexFile::kDexVisibilitySystem: in CheckIntraAnnotationItem()
905 const DexFile::AnnotationsDirectoryItem* item = in CheckIntraAnnotationsDirectoryItem()
906 reinterpret_cast<const DexFile::AnnotationsDirectoryItem*>(ptr_); in CheckIntraAnnotationsDirectoryItem()
912 const DexFile::FieldAnnotationsItem* field_item = in CheckIntraAnnotationsDirectoryItem()
913 reinterpret_cast<const DexFile::FieldAnnotationsItem*>(item + 1); in CheckIntraAnnotationsDirectoryItem()
915 …if (!CheckListSize(field_item, field_count, sizeof(DexFile::FieldAnnotationsItem), "field_annotati… in CheckIntraAnnotationsDirectoryItem()
930 const DexFile::MethodAnnotationsItem* method_item = in CheckIntraAnnotationsDirectoryItem()
931 reinterpret_cast<const DexFile::MethodAnnotationsItem*>(field_item); in CheckIntraAnnotationsDirectoryItem()
933 …if (!CheckListSize(method_item, method_count, sizeof(DexFile::MethodAnnotationsItem), "method_anno… in CheckIntraAnnotationsDirectoryItem()
949 const DexFile::ParameterAnnotationsItem* parameter_item = in CheckIntraAnnotationsDirectoryItem()
950 reinterpret_cast<const DexFile::ParameterAnnotationsItem*>(method_item); in CheckIntraAnnotationsDirectoryItem()
952 if (!CheckListSize(parameter_item, parameter_count, sizeof(DexFile::ParameterAnnotationsItem), in CheckIntraAnnotationsDirectoryItem()
977 case DexFile::kDexTypeClassDataItem: in CheckIntraSectionIterate()
978 case DexFile::kDexTypeStringDataItem: in CheckIntraSectionIterate()
979 case DexFile::kDexTypeDebugInfoItem: in CheckIntraSectionIterate()
980 case DexFile::kDexTypeAnnotationItem: in CheckIntraSectionIterate()
981 case DexFile::kDexTypeEncodedArrayItem: in CheckIntraSectionIterate()
1000 case DexFile::kDexTypeStringIdItem: { in CheckIntraSectionIterate()
1001 if (!CheckPointerRange(ptr_, ptr_ + sizeof(DexFile::StringId), "string_ids")) { in CheckIntraSectionIterate()
1004 ptr_ += sizeof(DexFile::StringId); in CheckIntraSectionIterate()
1007 case DexFile::kDexTypeTypeIdItem: { in CheckIntraSectionIterate()
1008 if (!CheckPointerRange(ptr_, ptr_ + sizeof(DexFile::TypeId), "type_ids")) { in CheckIntraSectionIterate()
1011 ptr_ += sizeof(DexFile::TypeId); in CheckIntraSectionIterate()
1014 case DexFile::kDexTypeProtoIdItem: { in CheckIntraSectionIterate()
1015 if (!CheckPointerRange(ptr_, ptr_ + sizeof(DexFile::ProtoId), "proto_ids")) { in CheckIntraSectionIterate()
1018 ptr_ += sizeof(DexFile::ProtoId); in CheckIntraSectionIterate()
1021 case DexFile::kDexTypeFieldIdItem: { in CheckIntraSectionIterate()
1022 if (!CheckPointerRange(ptr_, ptr_ + sizeof(DexFile::FieldId), "field_ids")) { in CheckIntraSectionIterate()
1025 ptr_ += sizeof(DexFile::FieldId); in CheckIntraSectionIterate()
1028 case DexFile::kDexTypeMethodIdItem: { in CheckIntraSectionIterate()
1029 if (!CheckPointerRange(ptr_, ptr_ + sizeof(DexFile::MethodId), "method_ids")) { in CheckIntraSectionIterate()
1032 ptr_ += sizeof(DexFile::MethodId); in CheckIntraSectionIterate()
1035 case DexFile::kDexTypeClassDefItem: { in CheckIntraSectionIterate()
1036 if (!CheckPointerRange(ptr_, ptr_ + sizeof(DexFile::ClassDef), "class_defs")) { in CheckIntraSectionIterate()
1039 ptr_ += sizeof(DexFile::ClassDef); in CheckIntraSectionIterate()
1042 case DexFile::kDexTypeTypeList: { in CheckIntraSectionIterate()
1043 const DexFile::TypeList* list = reinterpret_cast<const DexFile::TypeList*>(ptr_); in CheckIntraSectionIterate()
1044 const DexFile::TypeItem* item = &list->GetTypeItem(0); in CheckIntraSectionIterate()
1048 !CheckListSize(item, count, sizeof(DexFile::TypeItem), "type_list size")) { in CheckIntraSectionIterate()
1054 case DexFile::kDexTypeAnnotationSetRefList: { in CheckIntraSectionIterate()
1055 const DexFile::AnnotationSetRefList* list = in CheckIntraSectionIterate()
1056 reinterpret_cast<const DexFile::AnnotationSetRefList*>(ptr_); in CheckIntraSectionIterate()
1057 const DexFile::AnnotationSetRefItem* item = list->list_; in CheckIntraSectionIterate()
1061 !CheckListSize(item, count, sizeof(DexFile::AnnotationSetRefItem), in CheckIntraSectionIterate()
1068 case DexFile::kDexTypeAnnotationSetItem: { in CheckIntraSectionIterate()
1069 const DexFile::AnnotationSetItem* set = in CheckIntraSectionIterate()
1070 reinterpret_cast<const DexFile::AnnotationSetItem*>(ptr_); in CheckIntraSectionIterate()
1081 case DexFile::kDexTypeClassDataItem: { in CheckIntraSectionIterate()
1087 case DexFile::kDexTypeCodeItem: { in CheckIntraSectionIterate()
1093 case DexFile::kDexTypeStringDataItem: { in CheckIntraSectionIterate()
1099 case DexFile::kDexTypeDebugInfoItem: { in CheckIntraSectionIterate()
1105 case DexFile::kDexTypeAnnotationItem: { in CheckIntraSectionIterate()
1111 case DexFile::kDexTypeEncodedArrayItem: { in CheckIntraSectionIterate()
1117 case DexFile::kDexTypeAnnotationsDirectoryItem: { in CheckIntraSectionIterate()
1150 case DexFile::kDexTypeStringIdItem: in CheckIntraIdSection()
1154 case DexFile::kDexTypeTypeIdItem: in CheckIntraIdSection()
1158 case DexFile::kDexTypeProtoIdItem: in CheckIntraIdSection()
1162 case DexFile::kDexTypeFieldIdItem: in CheckIntraIdSection()
1166 case DexFile::kDexTypeMethodIdItem: in CheckIntraIdSection()
1170 case DexFile::kDexTypeClassDefItem: in CheckIntraIdSection()
1216 …const DexFile::MapList* map = reinterpret_cast<const DexFile::MapList*>(begin_ + header_->map_off_… in CheckIntraSection()
1217 const DexFile::MapItem* item = map->list_; in CheckIntraSection()
1239 case DexFile::kDexTypeHeaderItem: in CheckIntraSection()
1251 case DexFile::kDexTypeStringIdItem: in CheckIntraSection()
1252 case DexFile::kDexTypeTypeIdItem: in CheckIntraSection()
1253 case DexFile::kDexTypeProtoIdItem: in CheckIntraSection()
1254 case DexFile::kDexTypeFieldIdItem: in CheckIntraSection()
1255 case DexFile::kDexTypeMethodIdItem: in CheckIntraSection()
1256 case DexFile::kDexTypeClassDefItem: in CheckIntraSection()
1262 case DexFile::kDexTypeMapList: in CheckIntraSection()
1272 ptr_ += sizeof(uint32_t) + (map->size_ * sizeof(DexFile::MapItem)); in CheckIntraSection()
1273 offset = section_offset + sizeof(uint32_t) + (map->size_ * sizeof(DexFile::MapItem)); in CheckIntraSection()
1275 case DexFile::kDexTypeTypeList: in CheckIntraSection()
1276 case DexFile::kDexTypeAnnotationSetRefList: in CheckIntraSection()
1277 case DexFile::kDexTypeAnnotationSetItem: in CheckIntraSection()
1278 case DexFile::kDexTypeClassDataItem: in CheckIntraSection()
1279 case DexFile::kDexTypeCodeItem: in CheckIntraSection()
1280 case DexFile::kDexTypeStringDataItem: in CheckIntraSection()
1281 case DexFile::kDexTypeDebugInfoItem: in CheckIntraSection()
1282 case DexFile::kDexTypeAnnotationItem: in CheckIntraSection()
1283 case DexFile::kDexTypeEncodedArrayItem: in CheckIntraSection()
1284 case DexFile::kDexTypeAnnotationsDirectoryItem: in CheckIntraSection()
1319 const DexFile::FieldId& field = dex_file_->GetFieldId(it.GetMemberIndex()); in FindFirstClassDataDefiner()
1324 const DexFile::MethodId& method = dex_file_->GetMethodId(it.GetMemberIndex()); in FindFirstClassDataDefiner()
1328 return DexFile::kDexNoIndex16; in FindFirstClassDataDefiner()
1332 const DexFile::AnnotationsDirectoryItem* item = in FindFirstAnnotationsDirectoryDefiner()
1333 reinterpret_cast<const DexFile::AnnotationsDirectoryItem*>(ptr); in FindFirstAnnotationsDirectoryDefiner()
1335 DexFile::FieldAnnotationsItem* field_items = (DexFile::FieldAnnotationsItem*) (item + 1); in FindFirstAnnotationsDirectoryDefiner()
1336 const DexFile::FieldId& field = dex_file_->GetFieldId(field_items[0].field_idx_); in FindFirstAnnotationsDirectoryDefiner()
1341 DexFile::MethodAnnotationsItem* method_items = (DexFile::MethodAnnotationsItem*) (item + 1); in FindFirstAnnotationsDirectoryDefiner()
1342 const DexFile::MethodId& method = dex_file_->GetMethodId(method_items[0].method_idx_); in FindFirstAnnotationsDirectoryDefiner()
1347 …DexFile::ParameterAnnotationsItem* parameter_items = (DexFile::ParameterAnnotationsItem*) (item + … in FindFirstAnnotationsDirectoryDefiner()
1348 const DexFile::MethodId& method = dex_file_->GetMethodId(parameter_items[0].method_idx_); in FindFirstAnnotationsDirectoryDefiner()
1352 return DexFile::kDexNoIndex16; in FindFirstAnnotationsDirectoryDefiner()
1356 const DexFile::StringId* item = reinterpret_cast<const DexFile::StringId*>(ptr_); in CheckInterStringIdItem()
1359 if (!CheckOffsetToTypeMap(item->string_data_off_, DexFile::kDexTypeStringDataItem)) { in CheckInterStringIdItem()
1365 const DexFile::StringId* prev_item = reinterpret_cast<const DexFile::StringId*>(previous_item_); in CheckInterStringIdItem()
1374 ptr_ += sizeof(DexFile::StringId); in CheckInterStringIdItem()
1379 const DexFile::TypeId* item = reinterpret_cast<const DexFile::TypeId*>(ptr_); in CheckInterTypeIdItem()
1390 const DexFile::TypeId* prev_item = reinterpret_cast<const DexFile::TypeId*>(previous_item_); in CheckInterTypeIdItem()
1398 ptr_ += sizeof(DexFile::TypeId); in CheckInterTypeIdItem()
1403 const DexFile::ProtoId* item = reinterpret_cast<const DexFile::ProtoId*>(ptr_); in CheckInterProtoIdItem()
1406 !CheckOffsetToTypeMap(item->parameters_off_, DexFile::kDexTypeTypeList)) { in CheckInterProtoIdItem()
1432 const DexFile::ProtoId* prev = reinterpret_cast<const DexFile::ProtoId*>(previous_item_); in CheckInterProtoIdItem()
1443 if (prev_idx == DexFile::kDexNoIndex16) { in CheckInterProtoIdItem()
1446 if (curr_idx == DexFile::kDexNoIndex16) { in CheckInterProtoIdItem()
1464 ptr_ += sizeof(DexFile::ProtoId); in CheckInterProtoIdItem()
1469 const DexFile::FieldId* item = reinterpret_cast<const DexFile::FieldId*>(ptr_); in CheckInterFieldIdItem()
1494 const DexFile::FieldId* prev_item = reinterpret_cast<const DexFile::FieldId*>(previous_item_); in CheckInterFieldIdItem()
1511 ptr_ += sizeof(DexFile::FieldId); in CheckInterFieldIdItem()
1516 const DexFile::MethodId* item = reinterpret_cast<const DexFile::MethodId*>(ptr_); in CheckInterMethodIdItem()
1534 const DexFile::MethodId* prev_item = reinterpret_cast<const DexFile::MethodId*>(previous_item_); in CheckInterMethodIdItem()
1551 ptr_ += sizeof(DexFile::MethodId); in CheckInterMethodIdItem()
1556 const DexFile::ClassDef* item = reinterpret_cast<const DexFile::ClassDef*>(ptr_); in CheckInterClassDefItem()
1566 !CheckOffsetToTypeMap(item->interfaces_off_, DexFile::kDexTypeTypeList)) { in CheckInterClassDefItem()
1570 !CheckOffsetToTypeMap(item->annotations_off_, DexFile::kDexTypeAnnotationsDirectoryItem)) { in CheckInterClassDefItem()
1574 !CheckOffsetToTypeMap(item->class_data_off_, DexFile::kDexTypeClassDataItem)) { in CheckInterClassDefItem()
1578 !CheckOffsetToTypeMap(item->static_values_off_, DexFile::kDexTypeEncodedArrayItem)) { in CheckInterClassDefItem()
1582 if (item->superclass_idx_ != DexFile::kDexNoIndex16) { in CheckInterClassDefItem()
1590 const DexFile::TypeList* interfaces = dex_file_->GetInterfacesList(*item); in CheckInterClassDefItem()
1623 if ((data_definer != item->class_idx_) && (data_definer != DexFile::kDexNoIndex16)) { in CheckInterClassDefItem()
1633 …if ((annotations_definer != item->class_idx_) && (annotations_definer != DexFile::kDexNoIndex16)) { in CheckInterClassDefItem()
1639 ptr_ += sizeof(DexFile::ClassDef); in CheckInterClassDefItem()
1644 const DexFile::AnnotationSetRefList* list = in CheckInterAnnotationSetRefList()
1645 reinterpret_cast<const DexFile::AnnotationSetRefList*>(ptr_); in CheckInterAnnotationSetRefList()
1646 const DexFile::AnnotationSetRefItem* item = list->list_; in CheckInterAnnotationSetRefList()
1651 !CheckOffsetToTypeMap(item->annotations_off_, DexFile::kDexTypeAnnotationSetItem)) { in CheckInterAnnotationSetRefList()
1662 const DexFile::AnnotationSetItem* set = reinterpret_cast<const DexFile::AnnotationSetItem*>(ptr_); in CheckInterAnnotationSetItem()
1668 if (*offsets != 0 && !CheckOffsetToTypeMap(*offsets, DexFile::kDexTypeAnnotationItem)) { in CheckInterAnnotationSetItem()
1673 const DexFile::AnnotationItem* annotation = in CheckInterAnnotationSetItem()
1674 reinterpret_cast<const DexFile::AnnotationItem*>(begin_ + *offsets); in CheckInterAnnotationSetItem()
1696 const DexFile::FieldId& field = dex_file_->GetFieldId(it.GetMemberIndex()); in CheckInterClassDataItem()
1704 if (code_off != 0 && !CheckOffsetToTypeMap(code_off, DexFile::kDexTypeCodeItem)) { in CheckInterClassDataItem()
1707 const DexFile::MethodId& method = dex_file_->GetMethodId(it.GetMemberIndex()); in CheckInterClassDataItem()
1719 const DexFile::AnnotationsDirectoryItem* item = in CheckInterAnnotationsDirectoryItem()
1720 reinterpret_cast<const DexFile::AnnotationsDirectoryItem*>(ptr_); in CheckInterAnnotationsDirectoryItem()
1724 !CheckOffsetToTypeMap(item->class_annotations_off_, DexFile::kDexTypeAnnotationSetItem)) { in CheckInterAnnotationsDirectoryItem()
1729 const DexFile::FieldAnnotationsItem* field_item = in CheckInterAnnotationsDirectoryItem()
1730 reinterpret_cast<const DexFile::FieldAnnotationsItem*>(item + 1); in CheckInterAnnotationsDirectoryItem()
1733 const DexFile::FieldId& field = dex_file_->GetFieldId(field_item->field_idx_); in CheckInterAnnotationsDirectoryItem()
1738 if (!CheckOffsetToTypeMap(field_item->annotations_off_, DexFile::kDexTypeAnnotationSetItem)) { in CheckInterAnnotationsDirectoryItem()
1745 const DexFile::MethodAnnotationsItem* method_item = in CheckInterAnnotationsDirectoryItem()
1746 reinterpret_cast<const DexFile::MethodAnnotationsItem*>(field_item); in CheckInterAnnotationsDirectoryItem()
1749 const DexFile::MethodId& method = dex_file_->GetMethodId(method_item->method_idx_); in CheckInterAnnotationsDirectoryItem()
1754 if (!CheckOffsetToTypeMap(method_item->annotations_off_, DexFile::kDexTypeAnnotationSetItem)) { in CheckInterAnnotationsDirectoryItem()
1761 const DexFile::ParameterAnnotationsItem* parameter_item = in CheckInterAnnotationsDirectoryItem()
1762 reinterpret_cast<const DexFile::ParameterAnnotationsItem*>(method_item); in CheckInterAnnotationsDirectoryItem()
1765 const DexFile::MethodId& parameter_method = dex_file_->GetMethodId(parameter_item->method_idx_); in CheckInterAnnotationsDirectoryItem()
1771 DexFile::kDexTypeAnnotationSetRefList)) { in CheckInterAnnotationsDirectoryItem()
1785 case DexFile::kDexTypeClassDataItem: in CheckInterSectionIterate()
1802 case DexFile::kDexTypeStringIdItem: { in CheckInterSectionIterate()
1808 case DexFile::kDexTypeTypeIdItem: { in CheckInterSectionIterate()
1814 case DexFile::kDexTypeProtoIdItem: { in CheckInterSectionIterate()
1820 case DexFile::kDexTypeFieldIdItem: { in CheckInterSectionIterate()
1826 case DexFile::kDexTypeMethodIdItem: { in CheckInterSectionIterate()
1832 case DexFile::kDexTypeClassDefItem: { in CheckInterSectionIterate()
1838 case DexFile::kDexTypeAnnotationSetRefList: { in CheckInterSectionIterate()
1844 case DexFile::kDexTypeAnnotationSetItem: { in CheckInterSectionIterate()
1850 case DexFile::kDexTypeClassDataItem: { in CheckInterSectionIterate()
1856 case DexFile::kDexTypeAnnotationsDirectoryItem: { in CheckInterSectionIterate()
1875 …const DexFile::MapList* map = reinterpret_cast<const DexFile::MapList*>(begin_ + header_->map_off_… in CheckInterSection()
1876 const DexFile::MapItem* item = map->list_; in CheckInterSection()
1886 case DexFile::kDexTypeHeaderItem: in CheckInterSection()
1887 case DexFile::kDexTypeMapList: in CheckInterSection()
1888 case DexFile::kDexTypeTypeList: in CheckInterSection()
1889 case DexFile::kDexTypeCodeItem: in CheckInterSection()
1890 case DexFile::kDexTypeStringDataItem: in CheckInterSection()
1891 case DexFile::kDexTypeDebugInfoItem: in CheckInterSection()
1892 case DexFile::kDexTypeAnnotationItem: in CheckInterSection()
1893 case DexFile::kDexTypeEncodedArrayItem: in CheckInterSection()
1895 case DexFile::kDexTypeStringIdItem: in CheckInterSection()
1896 case DexFile::kDexTypeTypeIdItem: in CheckInterSection()
1897 case DexFile::kDexTypeProtoIdItem: in CheckInterSection()
1898 case DexFile::kDexTypeFieldIdItem: in CheckInterSection()
1899 case DexFile::kDexTypeMethodIdItem: in CheckInterSection()
1900 case DexFile::kDexTypeClassDefItem: in CheckInterSection()
1901 case DexFile::kDexTypeAnnotationSetRefList: in CheckInterSection()
1902 case DexFile::kDexTypeAnnotationSetItem: in CheckInterSection()
1903 case DexFile::kDexTypeClassDataItem: in CheckInterSection()
1904 case DexFile::kDexTypeAnnotationsDirectoryItem: { in CheckInterSection()