/tools/dexter/slicer/export/slicer/ |
D | reader.h | 59 std::shared_ptr<ir::DexFile> GetIr() const { return dex_ir_; } in GetIr() 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); [all …]
|
D | writer.h | 179 explicit Writer(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in Writer() 210 dex::u4 WriteTypeList(const std::vector<ir::Type*>& types); 211 dex::u4 WriteAnnotationItem(const ir::Annotation* ir_annotation); 212 dex::u4 WriteAnnotationSet(const ir::AnnotationSet* ir_annotation_set); 213 dex::u4 WriteAnnotationSetRefList(const ir::AnnotationSetRefList* ir_annotation_set_ref_list); 214 dex::u4 WriteClassAnnotations(const ir::Class* ir_class); 215 dex::u4 WriteDebugInfo(const ir::DebugInfo* ir_debug_info); 216 dex::u4 WriteCode(const ir::Code* ir_code); 217 dex::u4 WriteClassData(const ir::Class* ir_class); 218 dex::u4 WriteClassStaticValues(const ir::Class* ir_class); [all …]
|
D | debuginfo_encoder.h | 42 void Encode(ir::EncodedMethod* ir_method, std::shared_ptr<ir::DexFile> dex_ir); 45 std::vector<ir::String*>* param_names_ = nullptr; 49 ir::String* source_file_ = nullptr;
|
D | code_ir.h | 189 ir::String* ir_string; 191 String(ir::String* ir_string, dex::u4 index) : IndexedOperand(index), ir_string(ir_string) {} in String() 197 ir::Type* ir_type; 199 Type(ir::Type* ir_type, dex::u4 index) : IndexedOperand(index), ir_type(ir_type) {} in Type() 205 ir::FieldDecl* ir_field; 207 Field(ir::FieldDecl* ir_field, dex::u4 index) : IndexedOperand(index), ir_field(ir_field) {} in Field() 213 ir::MethodDecl* ir_method; 215 Method(ir::MethodDecl* ir_method, dex::u4 index) : IndexedOperand(index), ir_method(ir_method) {} in Method() 353 ir::Type* ir_type = nullptr; 366 std::vector<ir::String*> param_names; [all …]
|
D | dex_ir_builder.h | 24 namespace ir { 49 explicit Builder(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in Builder() 83 std::shared_ptr<ir::DexFile> dex_ir_;
|
D | tryblocks_encoder.h | 39 void Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir);
|
D | bytecode_encoder.h | 38 void Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir);
|
D | index_map.h | 24 namespace ir {
|
D | dex_ir.h | 51 namespace ir {
|
/tools/dexter/dexter/ |
D | experimental.cc | 33 void FullRewrite(std::shared_ptr<ir::DexFile> dex_ir) { in FullRewrite() 49 void StressWrapInvoke(std::shared_ptr<ir::DexFile> dex_ir) { in StressWrapInvoke() 56 ir::Builder builder(dex_ir); in StressWrapInvoke() 90 std::vector<ir::Type*> param_types; in StressWrapInvoke() 139 void StressEntryHook(std::shared_ptr<ir::DexFile> dex_ir) { in StressEntryHook() 146 ir::Builder builder(dex_ir); in StressEntryHook() 149 std::vector<ir::Type*> param_types; in StressEntryHook() 198 void StressExitHook(std::shared_ptr<ir::DexFile> dex_ir) { in StressExitHook() 205 ir::Builder builder(dex_ir); in StressExitHook() 212 std::vector<ir::Type*> param_types; in StressExitHook() [all …]
|
D | dissasembler.h | 29 PrintCodeIrVisitor(std::shared_ptr<ir::DexFile> dex_ir, lir::ControlFlowGraph* cfg) in PrintCodeIrVisitor() 59 std::shared_ptr<ir::DexFile> dex_ir_; 74 explicit DexDissasembler(std::shared_ptr<ir::DexFile> dex_ir, CfgType cfg_type = CfgType::None) 81 void DumpMethod(ir::EncodedMethod* ir_method) const; 84 void Dissasemble(ir::EncodedMethod* ir_method) const; 87 std::shared_ptr<ir::DexFile> dex_ir_;
|
D | experimental.h | 25 void Run(const char* experiment, std::shared_ptr<ir::DexFile> dex_ir);
|
D | dexter.h | 43 bool CreateNewImage(std::shared_ptr<ir::DexFile> dex_ir);
|
D | dissasembler.cc | 26 static std::string MethodDeclaration(const ir::Proto* proto) { in MethodDeclaration() 317 void DexDissasembler::DumpMethod(ir::EncodedMethod* ir_method) const { in DumpMethod() 326 void DexDissasembler::Dissasemble(ir::EncodedMethod* ir_method) const { in Dissasemble()
|
D | dexter.cc | 201 static void PrintDexIrStats(std::shared_ptr<const ir::DexFile> dex_ir) { in PrintDexIrStats() 263 bool Dexter::CreateNewImage(std::shared_ptr<ir::DexFile> dex_ir) { in CreateNewImage()
|
/tools/dexter/slicer/ |
D | reader.cc | 35 dex_ir_ = std::make_shared<ir::DexFile>(); in Reader() 121 ir::Class* Reader::GetClass(dex::u4 index) { in GetClass() 124 auto dummy = reinterpret_cast<ir::Class*>(1); in GetClass() 138 ir::Type* Reader::GetType(dex::u4 index) { in GetType() 141 auto dummy = reinterpret_cast<ir::Type*>(1); in GetType() 155 ir::FieldDecl* Reader::GetFieldDecl(dex::u4 index) { in GetFieldDecl() 158 auto dummy = reinterpret_cast<ir::FieldDecl*>(1); in GetFieldDecl() 172 ir::MethodDecl* Reader::GetMethodDecl(dex::u4 index) { in GetMethodDecl() 175 auto dummy = reinterpret_cast<ir::MethodDecl*>(1); in GetMethodDecl() 189 ir::Proto* Reader::GetProto(dex::u4 index) { in GetProto() [all …]
|
D | instrumentation.cc | 34 ir::Type* type, in BoxValue() 69 ir::Builder builder(code_ir->dex_ir); in BoxValue() 70 std::vector<ir::Type*> param_types; in BoxValue() 114 ir::Builder builder(code_ir->dex_ir); in Apply() 118 std::vector<ir::Type*> param_types; in Apply() 120 ir::Type* this_argument_type; in Apply() 162 ir::Builder builder(code_ir->dex_ir); in InjectArrayParamsHook() 165 …auto param_types = param_types_list != nullptr ? param_types_list->types : std::vector<ir::Type*>(… in InjectArrayParamsHook() 170 needsBoxingReg |= type->GetCategory() != ir::Type::Category::Reference; in InjectArrayParamsHook() 214 std::vector<ir::Type*> types; in InjectArrayParamsHook() [all …]
|
D | tryblocks_encoder.cc | 58 void TryBlocksEncoder::Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir) { in Encode()
|
D | writer.cc | 97 static void WriteEncodedArray(const ir::EncodedArray* ir_array, Section& data); 98 static void WriteAnnotation(const ir::Annotation* ir_annotation, Section& data); 101 static void WriteEncodedValue(const ir::EncodedValue* ir_value, Section& data) { in WriteEncodedValue() 200 static void WriteAnnotation(const ir::Annotation* ir_annotation, Section& data) { in WriteAnnotation() 210 static void WriteEncodedArray(const ir::EncodedArray* ir_array, Section& data) { in WriteEncodedArray() 631 dex::u4 Writer::WriteTypeList(const std::vector<ir::Type*>& types) { in WriteTypeList() 646 dex::u4 Writer::WriteAnnotationItem(const ir::Annotation* ir_annotation) { in WriteAnnotationItem() 657 dex::u4 Writer::WriteAnnotationSet(const ir::AnnotationSet* ir_annotation_set) { in WriteAnnotationSet() 673 const ir::AnnotationSetRefList* ir_annotation_set_ref_list) { in WriteAnnotationSetRefList() 688 dex::u4 Writer::WriteClassAnnotations(const ir::Class* ir_class) { in WriteClassAnnotations() [all …]
|
D | debuginfo_encoder.cc | 121 void DebugInfoEncoder::Encode(ir::EncodedMethod* ir_method, std::shared_ptr<ir::DexFile> dex_ir) { in Encode()
|
D | dex_ir_builder.cc | 22 namespace ir { namespace 45 ir::MethodKey method_key; in FindMethod()
|
D | code_ir.cc | 59 void CodeIr::DissasembleTryBlocks(const ir::Code* ir_code) { in DissasembleTryBlocks() 109 void CodeIr::DissasembleDebugInfo(const ir::DebugInfo* ir_debug_info) { in DissasembleDebugInfo() 117 ir::String* source_file = ir_method->decl->parent->class_def->source_file; in DissasembleDebugInfo() 239 void CodeIr::DissasembleBytecode(const ir::Code* ir_code) { in DissasembleBytecode()
|
D | dex_ir.cc | 30 namespace ir { namespace
|
D | bytecode_encoder.cc | 605 void BytecodeEncoder::Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir) { in Encode()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | StreamUtil.java | 131 try (Reader ir = new BufferedReader(new InputStreamReader(stream))) { in getStringFromStream() argument 133 while ((irChar = ir.read()) != -1) { in getStringFromStream()
|