/tools/dexter/dexter/ |
D | dexter.cc | 201 static void PrintDexIrStats(std::shared_ptr<const ir::DexFile> dex_ir) { in PrintDexIrStats() argument 203 printf(" strings : %zu\n", dex_ir->strings.size()); in PrintDexIrStats() 204 printf(" types : %zu\n", dex_ir->types.size()); in PrintDexIrStats() 205 printf(" protos : %zu\n", dex_ir->protos.size()); in PrintDexIrStats() 206 printf(" fields : %zu\n", dex_ir->fields.size()); in PrintDexIrStats() 207 printf(" encoded_fields : %zu\n", dex_ir->encoded_fields.size()); in PrintDexIrStats() 208 printf(" methods : %zu\n", dex_ir->methods.size()); in PrintDexIrStats() 209 printf(" encoded_methods : %zu\n", dex_ir->encoded_methods.size()); in PrintDexIrStats() 210 printf(" classes : %zu\n", dex_ir->classes.size()); in PrintDexIrStats() 211 printf(" type_lists : %zu\n", dex_ir->type_lists.size()); in PrintDexIrStats() [all …]
|
D | experimental.cc | 33 void FullRewrite(std::shared_ptr<ir::DexFile> dex_ir) { in FullRewrite() argument 34 for (auto& ir_method : dex_ir->encoded_methods) { in FullRewrite() 36 lir::CodeIr code_ir(ir_method.get(), dex_ir); in FullRewrite() 49 void StressWrapInvoke(std::shared_ptr<ir::DexFile> dex_ir) { in StressWrapInvoke() argument 50 for (auto& ir_method : dex_ir->encoded_methods) { in StressWrapInvoke() 55 lir::CodeIr code_ir(ir_method.get(), dex_ir); in StressWrapInvoke() 56 ir::Builder builder(dex_ir); in StressWrapInvoke() 139 void StressEntryHook(std::shared_ptr<ir::DexFile> dex_ir) { in StressEntryHook() argument 140 for (auto& ir_method : dex_ir->encoded_methods) { in StressEntryHook() 145 lir::CodeIr code_ir(ir_method.get(), dex_ir); in StressEntryHook() [all …]
|
D | dissasembler.h | 29 PrintCodeIrVisitor(std::shared_ptr<ir::DexFile> dex_ir, lir::ControlFlowGraph* cfg) in PrintCodeIrVisitor() argument 30 : dex_ir_(dex_ir), cfg_(cfg) {} in PrintCodeIrVisitor() 74 explicit DexDissasembler(std::shared_ptr<ir::DexFile> dex_ir, CfgType cfg_type = CfgType::None) 75 : dex_ir_(dex_ir), cfg_type_(cfg_type) {} in dex_ir_() argument
|
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);
|
/tools/dexter/slicer/ |
D | tryblocks_encoder.cc | 58 void TryBlocksEncoder::Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir) { in Encode() argument 105 dex_ir->AttachBuffer(std::move(tries_)); in Encode() 106 dex_ir->AttachBuffer(std::move(handlers_)); in Encode()
|
D | code_ir.cc | 46 bytecode_encoder.Encode(ir_code, dex_ir); in Assemble() 51 dbginfo_encoder.Encode(ir_method, dex_ir); in Assemble() 56 try_blocks_encoder.Encode(ir_code, dex_ir); in Assemble() 80 handler.ir_type = dex_ir->types_map[type_index]; in DissasembleTryBlocks() 218 : dex_ir->strings_map[name_index]; in DissasembleDebugInfo() 599 return Alloc<String>(dex_ir->strings_map[index], index); in GetIndexedOperand() 602 return Alloc<Type>(dex_ir->types_map[index], index); in GetIndexedOperand() 605 return Alloc<Field>(dex_ir->fields_map[index], index); in GetIndexedOperand() 608 return Alloc<Method>(dex_ir->methods_map[index], index); in GetIndexedOperand() 617 auto ir_type = (index == dex::kNoIndex) ? nullptr : dex_ir->types_map[index]; in GetType() [all …]
|
D | Android.bp | 11 "dex_ir.cc",
|
D | debuginfo_encoder.cc | 121 void DebugInfoEncoder::Encode(ir::EncodedMethod* ir_method, std::shared_ptr<ir::DexFile> dex_ir) { in Encode() argument 152 dex_ir->AttachBuffer(std::move(dbginfo_)); in Encode()
|
D | instrumentation.cc | 23 ir::Builder builder(code_ir->dex_ir); in Apply() 76 ir::Builder builder(code_ir->dex_ir); in Apply() 162 ir::Builder builder(code_ir->dex_ir); in Apply()
|
D | bytecode_encoder.cc | 605 void BytecodeEncoder::Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir) { in Encode() argument 635 dex_ir->AttachBuffer(std::move(bytecode_)); in Encode()
|
/tools/dexter/slicer/export/slicer/ |
D | dex_ir_builder.h | 49 explicit Builder(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in Builder() argument
|
D | instrumentation.h | 142 explicit MethodInstrumenter(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in MethodInstrumenter() argument
|
D | debuginfo_encoder.h | 42 void Encode(ir::EncodedMethod* ir_method, 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 | writer.h | 179 Writer(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in Writer() argument
|