Searched refs:ir_code (Results 1 – 8 of 8) sorted by relevance
/tools/dexter/slicer/ |
D | code_ir.cc | 36 auto ir_code = ir_method->code; in Assemble() local 37 SLICER_CHECK_NE(ir_code, nullptr); in Assemble() 45 bytecode_encoder.Encode(ir_code, dex_ir); in Assemble() 48 if (ir_code->debug_info != nullptr) { in Assemble() 55 try_blocks_encoder.Encode(ir_code, dex_ir); in Assemble() 58 void CodeIr::DisassembleTryBlocks(const ir::Code* ir_code) { in DisassembleTryBlocks() argument 60 for (const auto& tryBlock : ir_code->try_blocks) { in DisassembleTryBlocks() 71 ir_code->catch_handlers.ptr<dex::u1>() + tryBlock.handler_off; in DisassembleTryBlocks() 238 void CodeIr::DisassembleBytecode(const ir::Code* ir_code) { in DisassembleBytecode() argument 239 const dex::u2* begin = ir_code->instructions.begin(); in DisassembleBytecode() [all …]
|
D | tryblocks_encoder.cc | 57 void TryBlocksEncoder::Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir) { in Encode() argument 78 ir_code->try_blocks = {}; in Encode() 79 ir_code->catch_handlers = {}; in Encode() 106 ir_code->try_blocks = slicer::ArrayView<const dex::TryBlock>(tries_ptr, tries_count); in Encode() 107 ir_code->catch_handlers = slicer::MemView(handlers_.data(), handlers_.size()); in Encode()
|
D | reader.cc | 710 auto ir_code = dex_ir_->Alloc<ir::Code>(); in ExtractCode() local 712 ir_code->registers = dex_code->registers_size; in ExtractCode() 713 ir_code->ins_count = dex_code->ins_size; in ExtractCode() 714 ir_code->outs_count = dex_code->outs_size; in ExtractCode() 717 ir_code->instructions = in ExtractCode() 722 ParseInstructions(ir_code->instructions); in ExtractCode() 735 ir_code->try_blocks = in ExtractCode() 761 ir_code->catch_handlers = slicer::MemView(handlers_list, ptr - handlers_list); in ExtractCode() 764 ir_code->debug_info = ExtractDebugInfo(dex_code->debug_info_off); in ExtractCode() 766 return ir_code; in ExtractCode()
|
D | bytecode_encoder.cc | 656 void BytecodeEncoder::Encode(ir::Code* ir_code, std::shared_ptr<ir::DexFile> dex_ir) { in Encode() argument 681 ir_code->instructions = slicer::ArrayView<const dex::u2>( in Encode() 683 ir_code->outs_count = outs_count_; in Encode()
|
/tools/dexter/slicer/export/slicer/ |
D | writer.h | 216 dex::u4 WriteCode(const ir::Code* ir_code); 230 void WriteTryBlocks(const ir::Code* ir_code);
|
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 | code_ir.h | 442 void DisassembleBytecode(const ir::Code* ir_code); 443 void DisassembleTryBlocks(const ir::Code* ir_code);
|