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

Function IsThrowingDexInstruction

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

Source from the content-addressed store, hash-verified

136};
137
138inline bool IsThrowingDexInstruction(const Instruction& instruction) {
139 // Special-case MONITOR_EXIT which is a throwing instruction but the verifier
140 // guarantees that it will never throw. This is necessary to avoid rejecting
141 // 'synchronized' blocks/methods.
142 return instruction.IsThrow() && instruction.Opcode() != Instruction::MONITOR_EXIT;
143}
144
145} // namespace art_lkchan
146

Callers

nothing calls this directly

Calls 2

IsThrowMethod · 0.80
OpcodeMethod · 0.80

Tested by

no test coverage detected