frida-java-bridge 7.0.11 → 7.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/class-model.js +2 -2
- package/package.json +1 -1
package/lib/class-model.js
CHANGED
|
@@ -1321,7 +1321,7 @@ function ensureInitialized (env) {
|
|
|
1321
1321
|
|
|
1322
1322
|
function compileModule (env) {
|
|
1323
1323
|
const api = getApi();
|
|
1324
|
-
const { jvmti } = api;
|
|
1324
|
+
const { jvmti = null } = api;
|
|
1325
1325
|
|
|
1326
1326
|
const { pointerSize } = Process;
|
|
1327
1327
|
|
|
@@ -1343,7 +1343,7 @@ function compileModule (env) {
|
|
|
1343
1343
|
const field = env.javaLangReflectField();
|
|
1344
1344
|
let j = javaApi;
|
|
1345
1345
|
[
|
|
1346
|
-
jvmti,
|
|
1346
|
+
(jvmti !== null) ? jvmti : NULL,
|
|
1347
1347
|
getDeclaredMethods, getDeclaredFields,
|
|
1348
1348
|
method.getName, method.getModifiers,
|
|
1349
1349
|
field.getName, field.getModifiers
|