GOTCHA¶
Gotcha is a library that wraps functions. Tools can use gotcha to install hooks into other libraries, for example putting a wrapper function around libc's malloc. It is similar to LD_PRELOAD, but operates via a programmable API. This enables easy methods of accomplishing tasks like code instrumentation or wholesale replacement of mechanisms in programs without disrupting their source code.
homepage: https://gotcha.readthedocs.io/en/latest/
Available installations¶
| GOTCHA version | Supported CPU targets | Supported GPU targets | EESSI version | Module |
|---|---|---|---|---|
| 1.0.8 | generic: aarch64, x86_64Arm: a64fx, neoverse_n1, neoverse_v1, nvidia/graceAMD: zen2, zen3, zen4Intel: haswell, skylake_avx512, sapphirerapids, icelake, cascadelake |
(none) | 2025.06 | GOTCHA/1.0.8-GCCcore-14.2.0 |