Searched refs:try_item (Results 1 – 9 of 9) sorted by relevance
43 const DexFile::TryItem* try_item = accessor.FindTryItem(address); in CatchHandlerIterator() local44 offset = try_item != nullptr ? try_item->handler_off_ : -1; in CatchHandlerIterator()52 const DexFile::TryItem& try_item) { in CatchHandlerIterator() argument54 Init(accessor, try_item.handler_off_); in CatchHandlerIterator()
30 CatchHandlerIterator(const CodeItemDataAccessor& accessor, const DexFile::TryItem& try_item);
71 for (const DexFile::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 DexFile::TryItem* try_item, in LinkToCatchBlocks() argument240 for (CatchHandlerIterator it(accessor.GetCatchHandlerData(try_item->handler_off_)); in LinkToCatchBlocks()298 const DexFile::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()351 const DexFile::TryItem* try_item = entry.second; in InsertTryBoundaryBlocks() local354 if (GetTryItem(predecessor, try_block_info) != try_item) { in InsertTryBoundaryBlocks()[all …]
493 for (std::unique_ptr<const dex_ir::TryItem>& try_item : *code_item->Tries()) { in WriteCodeItemPostInstructionData()496 disk_try_item.start_addr_ = try_item->StartAddr(); in WriteCodeItemPostInstructionData()497 disk_try_item.insn_count_ = try_item->InsnCount(); in WriteCodeItemPostInstructionData()498 disk_try_item.handler_off_ = try_item->GetHandlers()->GetListOffset(); in WriteCodeItemPostInstructionData()
811 const dex_ir::TryItem* try_item = (*tries)[i].get(); in DumpCatches() local812 const uint32_t start = try_item->StartAddr(); in DumpCatches()813 const uint32_t end = start + try_item->InsnCount(); in DumpCatches()815 for (auto& handler : *try_item->GetHandlers()->GetHandlers()) { in DumpCatches()
631 TryItem* try_item = new TryItem(start_addr, insn_count, handlers); in DedupeOrCreateCodeItem() local632 tries->push_back(std::unique_ptr<const TryItem>(try_item)); in DedupeOrCreateCodeItem()
97 virtual void Dispatch(TryItem* try_item) = 0;
751 for (const DexFile::TryItem& try_item : accessor.TryItems()) { in dumpCatches() local752 const u4 start = try_item.start_addr_; in dumpCatches()753 const u4 end = start + try_item.insn_count_; in dumpCatches()755 for (CatchHandlerIterator it(accessor, try_item); it.HasNext(); it.Next()) { in dumpCatches()
965 for (const DexFile::TryItem& try_item : code_item_accessor_.TryItems()) { in ScanTryCatchBlocks() local966 const uint32_t start = try_item.start_addr_; in ScanTryCatchBlocks()967 const uint32_t end = start + try_item.insn_count_; in ScanTryCatchBlocks()3518 const DexFile::TryItem* try_item = code_item_accessor_.FindTryItem(work_insn_idx_); in CodeFlowVerifyInstruction() local3519 CHECK(try_item != nullptr); in CodeFlowVerifyInstruction()3520 CatchHandlerIterator iterator(code_item_accessor_, *try_item); in CodeFlowVerifyInstruction()