Home
last modified time | relevance | path

Searched refs:dex_ir (Results 1 – 16 of 16) sorted by relevance

/tools/dexter/dexter/
Ddexter.cc201 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 …]
Dexperimental.cc33 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 …]
Ddissasembler.h29 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
Dexperimental.h25 void Run(const char* experiment, std::shared_ptr<ir::DexFile> dex_ir);
Ddexter.h43 bool CreateNewImage(std::shared_ptr<ir::DexFile> dex_ir);
/tools/dexter/slicer/
Dtryblocks_encoder.cc58 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()
Dcode_ir.cc46 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 …]
DAndroid.bp11 "dex_ir.cc",
Ddebuginfo_encoder.cc121 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()
Dinstrumentation.cc23 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()
Dbytecode_encoder.cc605 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/
Ddex_ir_builder.h49 explicit Builder(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in Builder() argument
Dinstrumentation.h142 explicit MethodInstrumenter(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in MethodInstrumenter() argument
Ddebuginfo_encoder.h42 void Encode(ir::EncodedMethod* ir_method, std::shared_ptr<ir::DexFile> dex_ir);
Dbytecode_encoder.h38 void Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir);
Dwriter.h179 Writer(std::shared_ptr<ir::DexFile> dex_ir) : dex_ir_(dex_ir) {} in Writer() argument