frida 16.4.5 → 16.4.6
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/package.json +1 -1
- package/releng/deps.py +5 -3
- package/releng/deps.toml +3 -3
- package/releng/env.py +1 -1
- package/releng/machine_spec.py +2 -2
- package/releng/meson/mesonbuild/compilers/asm.py +6 -0
- package/releng/meson/mesonbuild/environment.py +2 -0
- package/subprojects/frida-core.wrap +1 -1
package/package.json
CHANGED
package/releng/deps.py
CHANGED
|
@@ -113,8 +113,10 @@ def parse_set_option_value(v: str) -> set[str]:
|
|
|
113
113
|
|
|
114
114
|
def query_toolchain_prefix(machine: MachineSpec,
|
|
115
115
|
cache_dir: Path) -> Path:
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
if machine.os == "windows":
|
|
117
|
+
identifier = "windows-x86" if machine.arch in {"x86", "x86_64"} else machine.os_dash_arch
|
|
118
|
+
else:
|
|
119
|
+
identifier = machine.identifier
|
|
118
120
|
return cache_dir / f"toolchain-{identifier}"
|
|
119
121
|
|
|
120
122
|
|
|
@@ -965,7 +967,7 @@ def compute_bundle_parameters(bundle: Bundle,
|
|
|
965
967
|
machine: MachineSpec,
|
|
966
968
|
version: str) -> tuple[str, str]:
|
|
967
969
|
if bundle == Bundle.TOOLCHAIN and machine.os == "windows":
|
|
968
|
-
os_arch_config = "windows-x86"
|
|
970
|
+
os_arch_config = "windows-x86" if machine.arch in {"x86", "x86_64"} else machine.os_dash_arch
|
|
969
971
|
else:
|
|
970
972
|
os_arch_config = machine.identifier
|
|
971
973
|
filename = f"{bundle.name.lower()}-{os_arch_config}.tar.xz"
|
package/releng/deps.toml
CHANGED
|
@@ -338,7 +338,7 @@ options = [
|
|
|
338
338
|
|
|
339
339
|
[quickjs]
|
|
340
340
|
name = "QuickJS"
|
|
341
|
-
version = "
|
|
341
|
+
version = "b3582307ed491e5efb5e54fe14d6bd5675857b51"
|
|
342
342
|
url = "https://github.com/frida/quickjs.git"
|
|
343
343
|
options = [
|
|
344
344
|
"-Dlibc=false",
|
|
@@ -356,7 +356,7 @@ when = """ \
|
|
|
356
356
|
} \
|
|
357
357
|
"""
|
|
358
358
|
name = "TinyCC"
|
|
359
|
-
version = "
|
|
359
|
+
version = "722c253d8dece3bc9a46b6f510c6682329d838b7"
|
|
360
360
|
url = "https://github.com/frida/tinycc.git"
|
|
361
361
|
|
|
362
362
|
[openssl]
|
|
@@ -375,7 +375,7 @@ when = """ \
|
|
|
375
375
|
and machine.os != 'qnx' \
|
|
376
376
|
"""
|
|
377
377
|
name = "V8"
|
|
378
|
-
version = "
|
|
378
|
+
version = "9492bfc5ca8615be651b85336caafa8f3c730cd7"
|
|
379
379
|
url = "https://github.com/frida/v8.git"
|
|
380
380
|
options = [
|
|
381
381
|
"-Ddebug=false",
|
package/releng/env.py
CHANGED
|
@@ -267,7 +267,7 @@ def can_run_host_binaries(build_machine: MachineSpec,
|
|
|
267
267
|
|
|
268
268
|
if host_os == build_os:
|
|
269
269
|
if build_os == "windows":
|
|
270
|
-
return
|
|
270
|
+
return build_arch == "arm64" or host_arch != "arm64"
|
|
271
271
|
|
|
272
272
|
if build_os == "macos":
|
|
273
273
|
if build_arch == "arm64" and host_arch == "x86_64":
|
package/releng/machine_spec.py
CHANGED
|
@@ -88,7 +88,7 @@ class MachineSpec:
|
|
|
88
88
|
if self.identifier == host_machine.identifier and host_machine.triplet is not None:
|
|
89
89
|
return host_machine
|
|
90
90
|
if self.os == "windows":
|
|
91
|
-
if
|
|
91
|
+
if host_machine.arch in {"x86_64", "x86"}:
|
|
92
92
|
return host_machine
|
|
93
93
|
if self.arch == host_machine.arch:
|
|
94
94
|
return host_machine
|
|
@@ -137,7 +137,7 @@ class MachineSpec:
|
|
|
137
137
|
|
|
138
138
|
@property
|
|
139
139
|
def msvc_platform(self) -> str:
|
|
140
|
-
return "x64" if self.arch == "x86_64" else
|
|
140
|
+
return "x64" if self.arch == "x86_64" else self.arch
|
|
141
141
|
|
|
142
142
|
@property
|
|
143
143
|
def is_apple(self) -> str:
|
|
@@ -208,6 +208,9 @@ class MasmARMCompiler(Compiler):
|
|
|
208
208
|
language = 'masm'
|
|
209
209
|
id = 'armasm'
|
|
210
210
|
|
|
211
|
+
def get_argument_syntax(self) -> str:
|
|
212
|
+
return 'msvc'
|
|
213
|
+
|
|
211
214
|
def needs_static_linker(self) -> bool:
|
|
212
215
|
return True
|
|
213
216
|
|
|
@@ -250,6 +253,9 @@ class MasmARMCompiler(Compiler):
|
|
|
250
253
|
def get_crt_compile_args(self, crt_val: str, buildtype: str) -> T.List[str]:
|
|
251
254
|
return []
|
|
252
255
|
|
|
256
|
+
def get_dependency_compile_args(self, dep: 'Dependency') -> T.List[str]:
|
|
257
|
+
return [arg for arg in super().get_dependency_compile_args(dep) if not arg.startswith("-D")]
|
|
258
|
+
|
|
253
259
|
def depfile_for_object(self, objfile: str) -> T.Optional[str]:
|
|
254
260
|
return None
|
|
255
261
|
|
|
@@ -300,6 +300,8 @@ def detect_windows_arch(compilers: CompilersDict) -> str:
|
|
|
300
300
|
for compiler in compilers.values():
|
|
301
301
|
if compiler.id == 'msvc' and (compiler.target in {'x86', '80x86'}):
|
|
302
302
|
return 'x86'
|
|
303
|
+
if compiler.id == 'msvc' and os_arch == 'arm64' and compiler.target == 'x64':
|
|
304
|
+
return 'x86_64'
|
|
303
305
|
if compiler.id == 'clang-cl' and compiler.target == 'x86':
|
|
304
306
|
return 'x86'
|
|
305
307
|
if compiler.id == 'gcc' and compiler.has_builtin_define('__i386__'):
|