add arm64 support to xpcom/build/mach_override.c
Categories
(Core :: XPCOM, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox81 | --- | affected |
People
(Reporter: froydnj, Assigned: glandium)
References
(Blocks 3 open bugs)
Details
Attachments
(1 file)
I really hope some motivated people from upstream have fixed this already.
| Reporter | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
(In reply to Nathan Froyd [:froydnj] from comment #0)
I really hope some motivated people from upstream have fixed this already.
No, upstream is essentially dead.
Copy/paste from me on matrix:
it strikes me that mach_override is essentially the same thing as what we use to intercept function calls on windows (mozglue/misc/interceptor), which already has code for arm64. I wonder how much work it would be to make the mozglue thing cross-platform.
| Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 5•5 years ago
|
||
Forgot to mark leave-open before the merge.
Updated•5 years ago
|
Comment 6•3 years ago
|
||
Switching over to an enhancement.
:glandium, is this something which we should continue tracking? It seems unfortunate to not have the IO interposer on m1 macs (which is what it seems like this might do? I'm unsure)
Comment 7•3 months ago
|
||
I'm unclear if this would still work on modern macOS, regardless of arch: https://stackoverflow.com/questions/51266646/mach-override-function-is-failing-in-mojave-osx-10-14
| Assignee | ||
Comment 8•3 months ago
|
||
(In reply to Gian-Carlo Pascutto [:gcp] from comment #7)
I'm unclear if this would still work on modern macOS, regardless of arch: https://stackoverflow.com/questions/51266646/mach-override-function-is-failing-in-mojave-osx-10-14
Looks like this is talking about a kernel extension, these have different restrictions than userspace.
Description
•