Lines Matching refs:dex
28 namespace dex {
39 Reader(const dex::u1* image, size_t size);
48 const dex::Header* Header() const { return header_; } in Header()
49 const char* GetStringMUTF8(dex::u4 index) const;
50 slicer::ArrayView<const dex::ClassDef> ClassDefs() const;
51 slicer::ArrayView<const dex::StringId> StringIds() const;
52 slicer::ArrayView<const dex::TypeId> TypeIds() const;
53 slicer::ArrayView<const dex::FieldId> FieldIds() const;
54 slicer::ArrayView<const dex::MethodId> MethodIds() const;
55 slicer::ArrayView<const dex::ProtoId> ProtoIds() const;
56 const dex::MapList* DexMapList() const;
61 void CreateClassIr(dex::u4 index);
62 dex::u4 FindClassIndex(const char* class_descriptor) const;
66 ir::Class* GetClass(dex::u4 index);
67 ir::Type* GetType(dex::u4 index);
68 ir::FieldDecl* GetFieldDecl(dex::u4 index);
69 ir::MethodDecl* GetMethodDecl(dex::u4 index);
70 ir::Proto* GetProto(dex::u4 index);
71 ir::String* GetString(dex::u4 index);
74 ir::AnnotationsDirectory* ExtractAnnotations(dex::u4 offset);
75 ir::Annotation* ExtractAnnotationItem(dex::u4 offset);
76 ir::AnnotationSet* ExtractAnnotationSet(dex::u4 offset);
77 ir::AnnotationSetRefList* ExtractAnnotationSetRefList(dex::u4 offset);
78 ir::FieldAnnotation* ParseFieldAnnotation(const dex::u1** pptr);
79 ir::MethodAnnotation* ParseMethodAnnotation(const dex::u1** pptr);
80 ir::ParamAnnotation* ParseParamAnnotation(const dex::u1** pptr);
81 ir::EncodedField* ParseEncodedField(const dex::u1** pptr, dex::u4* baseIndex);
82 ir::Annotation* ParseAnnotation(const dex::u1** pptr);
85 ir::EncodedValue* ParseEncodedValue(const dex::u1** pptr);
86 ir::EncodedArray* ParseEncodedArray(const dex::u1** pptr);
87 ir::EncodedArray* ExtractEncodedArray(dex::u4 offset);
90 ir::Class* ParseClass(dex::u4 index);
91 ir::EncodedMethod* ParseEncodedMethod(const dex::u1** pptr, dex::u4* baseIndex);
92 ir::Type* ParseType(dex::u4 index);
93 ir::FieldDecl* ParseFieldDecl(dex::u4 index);
94 ir::MethodDecl* ParseMethodDecl(dex::u4 index);
95 ir::TypeList* ExtractTypeList(dex::u4 offset);
96 ir::Proto* ParseProto(dex::u4 index);
97 ir::String* ParseString(dex::u4 index);
100 ir::DebugInfo* ExtractDebugInfo(dex::u4 offset);
101 ir::Code* ExtractCode(dex::u4 offset);
102 void ParseInstructions(slicer::ArrayView<const dex::u2> code);
126 const dex::u1* GetStringData(dex::u4 index) const { in GetStringData()
128 return dataPtr<dex::u1>(stringId.string_data_off); in GetStringData()
135 const dex::u1* image_;
139 const dex::Header* header_;
145 std::map<dex::u4, ir::TypeList*> type_lists_;
146 std::map<dex::u4, ir::Annotation*> annotations_;
147 std::map<dex::u4, ir::AnnotationSet*> annotation_sets_;
148 std::map<dex::u4, ir::AnnotationsDirectory*> annotations_directories_;
149 std::map<dex::u4, ir::EncodedArray*> encoded_arrays_;