MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / FindTryItem

Method FindTryItem

Bcore/src/main/cpp/dex/code_item_accessors-inl.h:131–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131inline const DexFile::TryItem* CodeItemDataAccessor::FindTryItem(uint32_t try_dex_pc) const {
132 IterationRange<const DexFile::TryItem*> try_items(TryItems());
133 int32_t index = DexFile::FindTryItem(try_items.begin(),
134 try_items.end() - try_items.begin(),
135 try_dex_pc);
136 return index != -1 ? &try_items.begin()[index] : nullptr;
137}
138
139inline const void* CodeItemDataAccessor::CodeItemDataEnd() const {
140 const uint8_t* handler_data = GetCatchHandlerData();

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected