Lines Matching refs:header_

31   header_ = ptr<dex::Header>(0);  in Reader()
36 dex_ir_->magic = slicer::MemView(header_, sizeof(dex::Header::magic)); in Reader()
40 return section<dex::ClassDef>(header_->class_defs_off, in ClassDefs()
41 header_->class_defs_size); in ClassDefs()
45 return section<dex::StringId>(header_->string_ids_off, in StringIds()
46 header_->string_ids_size); in StringIds()
50 return section<dex::TypeId>(header_->type_ids_off, in TypeIds()
51 header_->type_ids_size); in TypeIds()
55 return section<dex::FieldId>(header_->field_ids_off, in FieldIds()
56 header_->field_ids_size); in FieldIds()
60 return section<dex::MethodId>(header_->method_ids_off, in MethodIds()
61 header_->method_ids_size); in MethodIds()
65 return section<dex::ProtoId>(header_->proto_ids_off, in ProtoIds()
66 header_->proto_ids_size); in ProtoIds()
70 return dataPtr<dex::MapList>(header_->map_off); in DexMapList()
935 SLICER_CHECK(header_->file_size <= size_); in ValidateHeader()
936 SLICER_CHECK(header_->header_size == sizeof(dex::Header)); in ValidateHeader()
937 SLICER_CHECK(header_->endian_tag == dex::kEndianConstant); in ValidateHeader()
938 SLICER_CHECK(header_->data_size % 4 == 0); in ValidateHeader()
943 SLICER_CHECK(header_->string_ids_off % 4 == 0); in ValidateHeader()
944 SLICER_CHECK(header_->type_ids_size < 65536); in ValidateHeader()
945 SLICER_CHECK(header_->type_ids_off % 4 == 0); in ValidateHeader()
946 SLICER_CHECK(header_->proto_ids_size < 65536); in ValidateHeader()
947 SLICER_CHECK(header_->proto_ids_off % 4 == 0); in ValidateHeader()
948 SLICER_CHECK(header_->field_ids_off % 4 == 0); in ValidateHeader()
949 SLICER_CHECK(header_->method_ids_off % 4 == 0); in ValidateHeader()
950 SLICER_CHECK(header_->class_defs_off % 4 == 0); in ValidateHeader()
951 SLICER_CHECK(header_->map_off >= header_->data_off && header_->map_off < size_); in ValidateHeader()
952 SLICER_CHECK(header_->link_size == 0); in ValidateHeader()
953 SLICER_CHECK(header_->link_off == 0); in ValidateHeader()
954 SLICER_CHECK(header_->data_off % 4 == 0); in ValidateHeader()
955 SLICER_CHECK(header_->map_off % 4 == 0); in ValidateHeader()
960 SLICER_WEAK_CHECK(header_->data_off + header_->data_size <= size_); in ValidateHeader()
971 auto map_list = ptr<dex::MapList>(header_->map_off); in ValidateHeader()
975 SLICER_CHECK(header_->map_off + map_section_size <= size_); in ValidateHeader()