#include "substitute.h" #include "substitute-internal.h" #include #include #include int main(int argc, char **argv) { if (argc <= 2) { printf("usage: test-inject \n"); return 1; } int pid = atoi(argv[1]); char *error = NULL; int ret = substitute_dlopen_in_pid(pid, argv[2], 0, &error); printf("ret=%d err=%s\n", ret, error); }