GOTCHA icon indicating copy to clipboard operation
GOTCHA copied to clipboard

GOTCHA is a library for wrapping function calls in shared libraries

Results 21 GOTCHA issues
Sort by recently updated
recently updated
newest added

As of version 2.34 of glibc (which is the latest as of Oct 2021), GOTCHA fails to build. The problem is that GOTCHA uses `_dl_sym` and in v2.34, this is...

- added test_dlopen2 test validating RTLD_DEFAULT and RTLD_NEXT usage - closes #100 @mplegendre I believe this relatively straight-forward solution addresses the issue -- am I missing something here? I separated...

Gotcha is not correctly handling wrapping of functions with IFUNC relocations. We need a different procedure for calcluating the wrappee function of these.

During the release process we discussed this issue with @daboehme, it was first reported in #40. The problem is that Intel's runtimes use many mechanisms that break Gotcha, dlsym with...

Turns out Gotcha internally keeps pointers to the user-provided `gotcha_binding_t` structs in `gotcha_wrap()` and happily accesses them later on, e.g. when someone calls dl_open(). That was new to me! Not...

This bug might be linked to #70 Intel OpenMP breaks Gotcha bug. Intel version used: intel/19.0.3.199 Trying to wrap dgemm_ from mkl I got: [...] [44825/44825][gotcha.c:343] - Gotcha wrap completed...

An initial implementation of interface-independent wrapping, for feedback purposes. Use the new gotcha_sigfree_wrap() to wrap with pre/post wrappers that are independent of a function's signature, as discussed in #55. Before...

In our translations.c, we have the ability to wrap main, in spite of the weirdness of libc_start_main. It would be nice if we had some way to instead of wrapping...