__test_attach_api
__test_attach_api(binary, pattern, opts, NULL);
__test_attach_api(binary, pattern, opts, &child);