s1341
s1341
Ok. I'll take a look at this in the next couple of days.
I am able to reproduce on 15.1.27
Ok. I have determined that the issue is that Android 12 ships with PAC-based return address validation (using `PACIASP`, `AUTIASP`), which is enabled if the hardware supports it. @oleavr how...
Note that this PR depends on https://github.com/rust-lang/libc/pull/2748, and will need that to compile (specifically the addition of `PTRACE_GETREGS`/`PTRACE_SETREGS`.
Yes. I just haven’t had time to rebase and squash.
@StackDoubleFlow Did you find a solution to this issue? I am only able to work around it by specifying the equivalent of `-L ` `-lclang_rt.builtins-aarch64-android` via a `build.rs` file.
I got this working by adding the following to my init.lua: ```lua local mason_registry = require("mason-registry") mason_registry:on("package:install:success", function(pkg) pkg:get_receipt():if_present(function(receipt) for _, rel_path in pairs(receipt.links.bin) do local bin_abs_path = pkg:get_install_path() .....
The regex is escaped for inclusion in a lua string. What we actually have to do is figure out where all the executables are in the package and patch them...
What is the actual path to the file you want to patch?