Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
"use strict";
/* Check if a Java/Dalvik/ART VM is available */
if (Java.available) {
//FIX - Need to be inside perform
Java.perform(function() {
/* enumerate loaded classes */
/* when a class is found send it to the client */
onMatch: function(className) {
/* when we are done enumerating classes send "done" to the client */
onComplete: function() {
/* if a Java/Dalvik/ART VM is not available */
} else {
send("Java not available in this process");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment