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

Method Init

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

Source from the content-addressed store, hash-verified

55}
56
57void CatchHandlerIterator::Init(const CodeItemDataAccessor& accessor, int32_t offset) {
58 if (offset >= 0) {
59 Init(accessor.GetCatchHandlerData(offset));
60 } else {
61 // Not found, initialize as empty
62 current_data_ = nullptr;
63 remaining_count_ = -1;
64 catch_all_ = false;
65 DCHECK(!HasNext());
66 }
67}
68
69void CatchHandlerIterator::Init(const uint8_t* handler_data) {
70 current_data_ = handler_data;

Callers

nothing calls this directly

Calls 3

DecodeSignedLeb128Function · 0.85
NextFunction · 0.85
GetCatchHandlerDataMethod · 0.45

Tested by

no test coverage detected