| 189 | } mcp_search_cache_t; |
| 190 | |
| 191 | static bool mcp_quarantine_hook_probe(void *context, const char *step) { |
| 192 | mcp_quarantine_hook_probe_t *probe = context; |
| 193 | if (!probe || !step) { |
| 194 | return false; |
| 195 | } |
| 196 | int event = probe->call_count++; |
| 197 | if (event >= 0 && event < 4) { |
| 198 | snprintf(probe->steps[event], sizeof(probe->steps[event]), "%s", step); |
| 199 | } |
| 200 | return !probe->deny_step || strcmp(probe->deny_step, step) != 0; |
| 201 | } |
| 202 | |
| 203 | static bool mcp_command_hook_probe(void *context, const char *command) { |
| 204 | mcp_command_hook_probe_t *probe = context; |
nothing calls this directly
no outgoing calls
no test coverage detected