I mainly use it to generate unit tests and it frequently makes shit up that clearly won’t work. Like directly invoking non-exported functions that I deliberately choose not to export, because they don’t need to be exported.
If you work where I work, their solution is to just #include"the_file.c" so they have access to all the functions/variables I painstakingly marked static specifically to prevent them from trying to unit test the internals.
If you work where I work, their solution is to just
#include "the_file.c"
so they have access to all the functions/variables I painstakingly markedstatic
specifically to prevent them from trying to unit test the internals.