Skip to content
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

inspector throws exceptions on some clojure code #5

Open
pcallahan-r7 opened this issue Aug 26, 2019 · 0 comments
Open

inspector throws exceptions on some clojure code #5

pcallahan-r7 opened this issue Aug 26, 2019 · 0 comments

Comments

@pcallahan-r7
Copy link

clojure 1.8.0. JDK 8.

there's several exceptions being throw in core clojure classes, 3rd party classes and app classes, here is an example, they are all roughly the same exception:

2019-08-26 14:01:46,280 gadgetinspector.PassthroughDiscovery [ERROR] Exception analyzing clojure/core/rrb_vector/rrbt/Vector
java.lang.ArrayIndexOutOfBoundsException: -1
	at java.util.ArrayList.elementData(ArrayList.java:422)
	at java.util.ArrayList.get(ArrayList.java:435)
	at gadgetinspector.TaintTrackingMethodVisitor.getStackTaint(TaintTrackingMethodVisitor.java:900)
	at gadgetinspector.PassthroughDiscovery$PassthroughDataflowMethodVisitor.visitMethodInsn(PassthroughDiscovery.java:433)
	at org.objectweb.asm.tree.MethodInsnNode.accept(MethodInsnNode.java:116)
	at org.objectweb.asm.tree.InsnList.accept(InsnList.java:145)
	at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:789)
	at org.objectweb.asm.commons.JSRInlinerAdapter.visitEnd(JSRInlinerAdapter.java:150)
	at org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1278)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:679)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
	at gadgetinspector.PassthroughDiscovery.calculatePassthroughDataflow(PassthroughDiscovery.java:87)
	at gadgetinspector.PassthroughDiscovery.discover(PassthroughDiscovery.java:30)
	at gadgetinspector.GadgetInspector.main(GadgetInspector.java:103)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant