eschaton_sanitize_check
Run AddressSanitizer and UndefinedBehaviorSanitizer checks on C/C++ source code to detect buffer overflows, memory leaks, and use-after-free bugs.
Instructions
Sub-20ms AddressSanitizer (ASan) + UndefinedBehaviorSanitizer (UBSan) safety check: detects buffer overflows, memory leaks, and use-after-free bugs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source_code": "<source_code>"
},
"name": "eschaton_sanitize_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stdin | No | Standard input | |
| language_id | No | C or C++ language ID (e.g. 50, 54, 201, 202) | |
| source_code | Yes | C/C++ source code to sanitize |