Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/om/standalone-oracles/red.c # CUDApp CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / om / standalone-oracles / red.c` 11 lines · 531 bytes Raw Blame History 1 /* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ 2 /* Verification-only corruption at the strong Omega ABI. */ 3 #include 4 #include 5 uint32_t __real_omega_so_oracles(uint64_t *,uint64_t,uint64_t,uint64_t,uint64_t,uint64_t); 6 uint32_t __wrap_omega_so_oracles(uint64_t *out,uint64_t op,uint64_t a,uint64_t b,uint64_t c,uint64_t d) { 7 uint32_t rc=__real_omega_so_oracles(out,op,a,b,c,d); 8 const char *red=getenv("SO_RED_OP"); 9 if(!rc && red && op==strtoul(red,NULL,0))*out=!*out; 10 return rc; 11 }