Home
last modified time | relevance | path

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

/tools/dexter/slicer/
Dreader.cc222 auto& dex_class_def = ClassDefs()[index]; in ParseClass() local
225 ir_class->type = GetType(dex_class_def.class_idx); in ParseClass()
229 ir_class->access_flags = dex_class_def.access_flags; in ParseClass()
230 ir_class->interfaces = ExtractTypeList(dex_class_def.interfaces_off); in ParseClass()
232 if (dex_class_def.superclass_idx != dex::kNoIndex) { in ParseClass()
233 ir_class->super_class = GetType(dex_class_def.superclass_idx); in ParseClass()
236 if (dex_class_def.source_file_idx != dex::kNoIndex) { in ParseClass()
237 ir_class->source_file = GetString(dex_class_def.source_file_idx); in ParseClass()
240 if (dex_class_def.class_data_off != 0) { in ParseClass()
241 const dex::u1* class_data = dataPtr<dex::u1>(dex_class_def.class_data_off); in ParseClass()
[all …]
Dwriter.cc526 auto dex_class_def = &dex_->class_defs[i]; in CreateClassDataSection() local
527 dex_class_def->class_data_off = WriteClassData(ir_class); in CreateClassDataSection()
541 auto dex_class_def = &dex_->class_defs[i]; in CreateAnnDirectoriesSection() local
542 dex_class_def->annotations_off = WriteClassAnnotations(ir_class); in CreateAnnDirectoriesSection()
555 auto dex_class_def = &dex_->class_defs[i]; in CreateEncodedArrayItemSection() local
556 dex_class_def->static_values_off = WriteClassStaticValues(ir_class); in CreateEncodedArrayItemSection()
614 auto dex_class_def = &dex_->class_defs[i]; in FillClassDefs() local
615 dex_class_def->class_idx = ir_class->type->index; in FillClassDefs()
616 dex_class_def->access_flags = ir_class->access_flags; in FillClassDefs()
617 dex_class_def->superclass_idx = OptIndex(ir_class->super_class); in FillClassDefs()
[all …]