-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When Java method doesn't exist, the list of existing methods reported by crucible_jvm_verify is wrong #911
Comments
Yes, I know exactly what's wrong here. Obviously I didn't test this code thoroughly enough. If no matching methods are found in a class, and the class has a superclass, then the search forgets about the original class and calls itself again on the superclass. But if it runs out of superclasses and never finds anything, it only lists the methods for the last class in the chain ( |
Probably the easiest way to get the behavior we want is for the inner function of |
When running
crucible_jvm_verify
on, for example, the method keyadd(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
fromjava.math.BigInteger
, I get the following:It looks like it's perhaps jumping one level too high in the class hierarchy and listing the methods of the parent class (
java.lang.Object
in this case)?The text was updated successfully, but these errors were encountered: