/art/dexlayout/ |
dex_ir_builder.h | 22 #include "dex_ir.h" 25 namespace dex_ir { namespace in namespace:art 27 dex_ir::Header* DexIrBuilder(const DexFile& dex_file); 29 } // namespace dex_ir
|
dex_verify.h | 24 #include "dex_ir.h" 29 bool VerifyOutputDexFile(dex_ir::Header* orig_header, 30 dex_ir::Header* output_header, 37 bool VerifyId(dex_ir::StringId* orig, dex_ir::StringId* output, std::string* error_msg); 38 bool VerifyId(dex_ir::TypeId* orig, dex_ir::TypeId* output, std::string* error_msg); 39 bool VerifyId(dex_ir::ProtoId* orig, dex_ir::ProtoId* output, std::string* error_msg); 40 bool VerifyId(dex_ir::FieldId* orig, dex_ir::FieldId* output, std::string* error_msg) [all...] |
dex_visualize.h | 32 namespace dex_ir { namespace in namespace:art 34 } // namespace dex_ir 36 void VisualizeDexLayout(dex_ir::Header* header, 41 void ShowDexSectionStatistics(dex_ir::Header* header, size_t dex_file_index);
|
dex_writer.h | 23 #include "dex_ir.h" 31 DexWriter(dex_ir::Header* header, MemMap* mem_map) : header_(header), mem_map_(mem_map) { } 33 static void Output(dex_ir::Header* header, MemMap* mem_map); 41 size_t WriteEncodedValue(dex_ir::EncodedValue* encoded_value, size_t offset); 43 size_t WriteEncodedArray(dex_ir::EncodedValueVector* values, size_t offset); 44 size_t WriteEncodedAnnotation(dex_ir::EncodedAnnotation* annotation, size_t offset); 45 size_t WriteEncodedFields(dex_ir::FieldItemVector* fields, size_t offset); 46 size_t WriteEncodedMethods(dex_ir::MethodItemVector* methods, size_t offset); 67 dex_ir::Header* const header_;
|
dexlayout.h | 30 #include "dex_ir.h" 75 dex_ir::Header* 82 dex_ir::Header* GetHeader() const { return header_; } 83 void SetHeader(dex_ir::Header* header) { header_ = header; } 92 void DumpAnnotationSetItem(dex_ir::AnnotationSetItem* set_item); 93 void DumpBytecodes(uint32_t idx, const dex_ir::CodeItem* code, uint32_t code_offset); 94 void DumpCatches(const dex_ir::CodeItem* code); 98 void DumpCode(uint32_t idx, const dex_ir::CodeItem* code, uint32_t code_offset); 99 void DumpEncodedAnnotation(dex_ir::EncodedAnnotation* annotation); 100 void DumpEncodedValue(const dex_ir::EncodedValue* data) [all...] |
dex_visualize.cc | 32 #include "dex_ir.h" 47 explicit Dumper(dex_ir::Header* header) 50 dex_ir::GetSortedDexFileSections(header, dex_ir::SortDirection::kSortDescending)) { } 66 for (const dex_ir::DexFileSection& s : sorted_sections_) { 84 for (const dex_ir::DexFileSection& file_section : sorted_sections_) { 105 void DumpAddressRange(const dex_ir::Item* item, int class_index) { 111 void DumpStringData(const dex_ir::StringData* string_data, int class_index) { 115 void DumpStringId(const dex_ir::StringId* string_id, int class_index) { 123 void DumpTypeId(const dex_ir::TypeId* type_id, int class_index) [all...] |
dex_verify.cc | 31 bool VerifyOutputDexFile(dex_ir::Header* orig_header, 32 dex_ir::Header* output_header, 34 dex_ir::Collections& orig = orig_header->GetCollections(); 35 dex_ir::Collections& output = output_header->GetCollections(); 69 bool VerifyId(dex_ir::StringId* orig, dex_ir::StringId* output, std::string* error_msg) { 81 bool VerifyId(dex_ir::TypeId* orig, dex_ir::TypeId* output, std::string* error_msg) { 93 bool VerifyId(dex_ir::ProtoId* orig, dex_ir::ProtoId* output, std::string* error_msg) [all...] |
dexlayout.cc | 245 static std::string GetSignatureForProtoId(const dex_ir::ProtoId* proto) { 251 const dex_ir::TypeList* type_list = proto->Parameters(); 253 for (const dex_ir::TypeId* type_id : *type_list->GetTypeList()) { 363 static std::unique_ptr<char[]> IndexString(dex_ir::Header* header, 434 dex_ir::MethodId* method_id = header->GetCollections().GetMethodId(index); 446 dex_ir::FieldId* field_id = header->GetCollections().GetFieldId(index); 467 dex_ir::MethodId* method_id = header->GetCollections().GetMethodId(index); 474 dex_ir::ProtoId* proto_id = header->GetCollections().GetProtoId(secondary_index); 502 void DexLayout::DumpEncodedAnnotation(dex_ir::EncodedAnnotation* annotation) { 515 void DexLayout::DumpEncodedValue(const dex_ir::EncodedValue* data) [all...] |
dex_writer.cc | 124 size_t DexWriter::WriteEncodedValue(dex_ir::EncodedValue* encoded_value, size_t offset) { 198 size_t DexWriter::WriteEncodedArray(dex_ir::EncodedValueVector* values, size_t offset) { 201 for (std::unique_ptr<dex_ir::EncodedValue>& value : *values) { 207 size_t DexWriter::WriteEncodedAnnotation(dex_ir::EncodedAnnotation* annotation, size_t offset) { 211 for (std::unique_ptr<dex_ir::AnnotationElement>& annotation_element : 219 size_t DexWriter::WriteEncodedFields(dex_ir::FieldItemVector* fields, size_t offset) { 222 for (std::unique_ptr<dex_ir::FieldItem>& field : *fields) { 231 size_t DexWriter::WriteEncodedMethods(dex_ir::MethodItemVector* methods, size_t offset) { 234 for (std::unique_ptr<dex_ir::MethodItem>& method : *methods) { 247 for (std::unique_ptr<dex_ir::StringId>& string_id : header_->GetCollections().StringIds()) [all...] |
dex_ir.cc | 23 #include "dex_ir.h" 28 namespace dex_ir { namespace in namespace:art [all...] |
dexdiag.cc | 32 #include "dex_ir.h" 177 const std::vector<dex_ir::DexFileSection>& sections) { 197 const std::vector<dex_ir::DexFileSection>& sections, 225 const std::vector<dex_ir::DexFileSection>& sections, 241 const dex_ir::DexFileSection& section = sections[i - 1]; 290 std::vector<dex_ir::DexFileSection> sections; 292 std::unique_ptr<dex_ir::Header> header(dex_ir::DexIrBuilder(*dex_file)); 293 sections = dex_ir::GetSortedDexFileSections(header.get(), 294 dex_ir::SortDirection::kSortDescending) [all...] |
dex_ir_builder.cc | 25 namespace dex_ir { namespace in namespace:art 168 } // namespace dex_ir
|
dex_ir.h | 32 namespace dex_ir { namespace in namespace:art [all...] |