"""Query both release ABI tables with the target resolver.""" import subprocess for architecture, expected in (("x86_64", "0"), ("aarch64", "63")): result = subprocess.check_output(["vinix-run", "--library-path", "src/.libs", "tools/.libs/scmp_sys_resolver", "-a", architecture, "read"], text=True) if result.strip() != expected: raise SystemExit(f"incorrect read syscall for {architecture}: {result.strip()}")