Skip to content

Commit

Permalink
removed log
Browse files Browse the repository at this point in the history
  • Loading branch information
matbrik committed Jul 16, 2024
1 parent 1cf98b7 commit 6a02f82
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/android.js
Original file line number Diff line number Diff line change
Expand Up @@ -1893,7 +1893,6 @@ function ensureArtKnowsHowToHandleReplacementMethods (vm) {
let mayUseCollector = new NativeFunction(Module.findExportByName('libart.so', "_ZNK3art2gc4Heap15MayUseCollectorENS0_13CollectorTypeE"), "int", ["pointer", "int"])

Check failure on line 1893 in lib/android.js

View workflow job for this annotation

GitHub Actions / eslint

'mayUseCollector' is never reassigned. Use 'const' instead

Check failure on line 1893 in lib/android.js

View workflow job for this annotation

GitHub Actions / eslint

Strings must use singlequote

Check failure on line 1893 in lib/android.js

View workflow job for this annotation

GitHub Actions / eslint

Strings must use singlequote

Check failure on line 1893 in lib/android.js

View workflow job for this annotation

GitHub Actions / eslint

Strings must use singlequote

Check failure on line 1893 in lib/android.js

View workflow job for this annotation

GitHub Actions / eslint

Strings must use singlequote

Check failure on line 1893 in lib/android.js

View workflow job for this annotation

GitHub Actions / eslint

Missing semicolon

if (mayUseCollector !== null && mayUseCollector(api.artHeap, 3)) {
console.log("hooking runflip");
exportName = '_ZN3art6Thread15RunFlipFunctionEPS0_b';
Interceptor.attach(Module.getExportByName('libart.so', exportName), artController.hooks.Gc.runFlip);
} else {
Expand Down

0 comments on commit 6a02f82

Please sign in to comment.