MCPcopy Create free account
hub / github.com/Youlor/unpacker / readCatchHandlers

Method readCatchHandlers

dexfixer/src/com/android/dex/Dex.java:507–516  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

505 }
506
507 private CatchHandler[] readCatchHandlers() {
508 int baseOffset = data.position();
509 int catchHandlersSize = readUleb128();
510 CatchHandler[] result = new CatchHandler[catchHandlersSize];
511 for (int i = 0; i < catchHandlersSize; i++) {
512 int offset = data.position() - baseOffset;
513 result[i] = readCatchHandler(offset);
514 }
515 return result;
516 }
517
518 private Try[] readTries(int triesSize, CatchHandler[] catchHandlers) {
519 Try[] result = new Try[triesSize];

Callers 1

readCodeMethod · 0.95

Calls 2

readUleb128Method · 0.95
readCatchHandlerMethod · 0.95

Tested by

no test coverage detected