forked from hzzheyang/Patchs
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include frida/frida-java-bridge#330, dispose of garbage methods.
- Loading branch information
zer0def
committed
Aug 22, 2024
1 parent
8628f61
commit 3ebd7b5
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/bindings/gumjs/generate-runtime.py b/bindings/gumjs/generate-runtime.py | ||
index 679cad56..5ef88c52 100644 | ||
--- a/bindings/gumjs/generate-runtime.py | ||
+++ b/bindings/gumjs/generate-runtime.py | ||
@@ -14,9 +14,9 @@ RELAXED_DEPS = { | ||
} | ||
|
||
EXACT_DEPS = { | ||
- "frida-java-bridge": "6.3.5", | ||
- "frida-objc-bridge": "7.0.6", | ||
- "frida-swift-bridge": "2.0.8" | ||
+ "git+https://github.com/frida/frida-java-bridge": "0495713823b95acc0ca6bc862f154ef4f5595aba", | ||
+ "git+https://github.com/frida/frida-objc-bridge": "v7.0.6", | ||
+ "git+https://github.com/frida/frida-swift-bridge": "v2.0.8" | ||
} | ||
|
||
|
||
@@ -52,7 +52,7 @@ def generate_runtime(output_dir, priv_dir, input_dir, gum_dir, capstone_incdir, | ||
capture_output=True, | ||
cwd=priv_dir, | ||
check=True) | ||
- subprocess.run([npm, "install", "-E"] + [f"{name}@{version_spec}" for name, version_spec in EXACT_DEPS.items()], | ||
+ subprocess.run([npm, "install", "-E"] + [f"{name}#{version_spec}" for name, version_spec in EXACT_DEPS.items()], | ||
capture_output=True, | ||
cwd=priv_dir, | ||
check=True) |