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

Method Next

Bcore/src/main/cpp/dex/dex_file_exception_helpers.cc:85–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void CatchHandlerIterator::Next() {
86 if (remaining_count_ > 0) {
87 handler_.type_idx_ = dex::TypeIndex(DecodeUnsignedLeb128(&current_data_));
88 handler_.address_ = DecodeUnsignedLeb128(&current_data_);
89 remaining_count_--;
90 return;
91 }
92
93 if (catch_all_) {
94 handler_.type_idx_ = dex::TypeIndex(DexFile::kDexNoIndex16);
95 handler_.address_ = DecodeUnsignedLeb128(&current_data_);
96 catch_all_ = false;
97 return;
98 }
99
100 // no more handler
101 remaining_count_ = -1;
102}
103
104} // namespace art_lkchan

Callers

nothing calls this directly

Calls 2

TypeIndexClass · 0.85
DecodeUnsignedLeb128Function · 0.85

Tested by

no test coverage detected