fix: throwing in case the opcode patterns do not match

This commit is contained in:
oSumAtrIX 2022-04-09 04:50:38 +02:00
parent 3b68d5c65e
commit f72dd68ec5
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -80,7 +80,7 @@ internal class SignatureResolver(
return if (signature.opcodes == null) {
PatternScanResult(0, 0)
} else {
method.implementation?.instructions?.scanFor(signature.opcodes)!!
method.implementation?.instructions?.scanFor(signature.opcodes)
}
}