Searched refs:try_item (Results 1 – 9 of 9) sorted by relevance
44 const dex::TryItem* try_item = accessor.FindTryItem(address); in CatchHandlerIterator() local45 offset = try_item != nullptr ? try_item->handler_off_ : -1; in CatchHandlerIterator()53 const dex::TryItem& try_item) { in CatchHandlerIterator() argument55 Init(accessor, try_item.handler_off_); in CatchHandlerIterator()
36 CatchHandlerIterator(const CodeItemDataAccessor& accessor, const dex::TryItem& try_item);
71 for (const dex::TryItem& try_item : code_item_accessor_.TryItems()) { in CreateBranchTargets() local72 uint32_t dex_pc_start = try_item.start_addr_; in CreateBranchTargets()73 uint32_t dex_pc_end = dex_pc_start + try_item.insn_count_; in CreateBranchTargets()238 const dex::TryItem* try_item, in LinkToCatchBlocks() argument240 for (CatchHandlerIterator it(accessor.GetCatchHandlerData(try_item->handler_off_)); in LinkToCatchBlocks()298 const dex::TryItem* try_item = code_item_accessor_.FindTryItem(block->GetDexPc()); in InsertTryBoundaryBlocks() local299 if (try_item != nullptr) { in InsertTryBoundaryBlocks()301 try_block_info.Put(block->GetBlockId(), try_item); in InsertTryBoundaryBlocks()359 const dex::TryItem* try_item = entry.second; in InsertTryBoundaryBlocks() local362 if (GetTryItem(predecessor, try_block_info) != try_item) { in InsertTryBoundaryBlocks()[all …]
541 for (std::unique_ptr<const dex_ir::TryItem>& try_item : *code_item->Tries()) { in WriteCodeItemPostInstructionData()544 disk_try_item.start_addr_ = try_item->StartAddr(); in WriteCodeItemPostInstructionData()545 disk_try_item.insn_count_ = try_item->InsnCount(); in WriteCodeItemPostInstructionData()546 disk_try_item.handler_off_ = try_item->GetHandlers()->GetListOffset(); in WriteCodeItemPostInstructionData()
797 const dex_ir::TryItem* try_item = (*tries)[i].get(); in DumpCatches() local798 const uint32_t start = try_item->StartAddr(); in DumpCatches()799 const uint32_t end = start + try_item->InsnCount(); in DumpCatches()801 for (auto& handler : *try_item->GetHandlers()->GetHandlers()) { in DumpCatches()
855 TryItem* try_item = new TryItem(start_addr, insn_count, handlers); in DedupeOrCreateCodeItem() local856 tries->push_back(std::unique_ptr<const TryItem>(try_item)); in DedupeOrCreateCodeItem()
99 virtual void Dispatch(TryItem* try_item) = 0;
780 for (const dex::TryItem& try_item : accessor.TryItems()) { in dumpCatches() local781 const u4 start = try_item.start_addr_; in dumpCatches()782 const u4 end = start + try_item.insn_count_; in dumpCatches()784 for (CatchHandlerIterator it(accessor, try_item); it.HasNext(); it.Next()) { in dumpCatches()
1118 for (const dex::TryItem& try_item : code_item_accessor_.TryItems()) { in ScanTryCatchBlocks() local1119 const uint32_t start = try_item.start_addr_; in ScanTryCatchBlocks()1120 const uint32_t end = start + try_item.insn_count_; in ScanTryCatchBlocks()3536 const dex::TryItem* try_item = code_item_accessor_.FindTryItem(work_insn_idx_); in CodeFlowVerifyInstruction() local3537 CHECK(try_item != nullptr); in CodeFlowVerifyInstruction()3538 CatchHandlerIterator iterator(code_item_accessor_, *try_item); in CodeFlowVerifyInstruction()