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

Method GetDexPcForIndex

Bcore/src/main/cpp/dex/bytecode_utils.h:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 uint32_t GetDexPcForIndex(size_t index) const {
61 CheckIndex(index);
62 return dex_pc_ +
63 (reinterpret_cast<const int16_t*>(values_ + index) -
64 reinterpret_cast<const int16_t*>(&instruction_));
65 }
66
67 // Index of the first value in the table.
68 size_t GetFirstValueIndex() const {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected