fix(test): preserve Ghidra interior-label controls on Mach-O (#1640)

* fix(test): preserve Ghidra interior-label controls on Mach-O

* test: preserve selector semantics and accept signaled fixture exits

* test(javascript): exercise deep returns through the public CLI
This commit is contained in:
Ysopwnable
2026-10-11 05:45:00 +08:00
committed by GitHub
parent 69fe5b6010
commit ac9677bd6c
3 changed files with 34 additions and 11 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ volatile int rea_xrefs_data = 17;
__attribute__((used)) volatile int rea_xrefs_unreferenced = 41;
__attribute__((noinline, used)) int rea_alias_target(void) {
__asm__ volatile(".globl " REA_SYMBOL("rea_interior") "\n"
// ARM64 leaf functions may have no prologue; keep the control past entry.
__asm__ volatile("nop\n.globl " REA_SYMBOL("rea_interior") "\n"
REA_SYMBOL("rea_interior") ":");
return rea_xrefs_data;
}