[TS] Add usvm-mcp: MCP server exposing symbolic execution tools#340
[TS] Add usvm-mcp: MCP server exposing symbolic execution tools#340CaelmBleidd wants to merge 2 commits into
13 new alerts
New alerts in code changed by this pull request
- 13 warnings
See annotations below for details.
Annotations
Check warning on line 11 in usvm-mcp/src/main/kotlin/org/usvm/mcp/McpErrors.kt
Code scanning / detekt
If a source file contains only a single non-private top-level class or object, the file name should reflect the case-sensitive name plus the .kt extension. Warning
Check warning on line 30 in usvm-mcp/src/main/kotlin/org/usvm/mcp/McpErrors.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 100 in usvm-mcp/src/main/kotlin/org/usvm/mcp/exec/TsAnalysisRunner.kt
Code scanning / detekt
The `suspend` modifier is only needed for functions that contain suspending calls. Warning
Check warning on line 102 in usvm-mcp/src/main/kotlin/org/usvm/mcp/exec/TsAnalysisRunner.kt
Code scanning / detekt
Don't hardcode dispatchers when creating new coroutines or calling `withContext`. Use dependency injection for dispatchers to make testing easier. Warning
Check warning on line 32 in usvm-mcp/src/main/kotlin/org/usvm/mcp/scene/MethodLookup.kt
Code scanning / detekt
Restrict the number of throw statements in methods. Warning
Check warning on line 40 in usvm-mcp/src/main/kotlin/org/usvm/mcp/scene/MethodLookup.kt
Code scanning / detekt
Braces do not comply with the specified policy Warning
Check warning on line 41 in usvm-mcp/src/main/kotlin/org/usvm/mcp/scene/SceneCache.kt
Code scanning / detekt
The caught exception is swallowed. The original exception could be lost. Warning
Check warning on line 48 in usvm-mcp/src/main/kotlin/org/usvm/mcp/scene/SceneCache.kt
Code scanning / detekt
Unreachable code detected. This code should be removed. Warning
Check warning on line 49 in usvm-mcp/src/main/kotlin/org/usvm/mcp/scene/SceneCache.kt
Code scanning / detekt
Unreachable code detected. This code should be removed. Warning
Check warning on line 50 in usvm-mcp/src/main/kotlin/org/usvm/mcp/scene/SceneCache.kt
Code scanning / detekt
Unreachable code detected. This code should be removed. Warning
Check warning on line 53 in usvm-mcp/src/main/kotlin/org/usvm/mcp/scene/SceneCache.kt
Code scanning / detekt
Restrict the number of throw statements in methods. Warning
Check warning on line 74 in usvm-mcp/src/main/kotlin/org/usvm/mcp/scene/SceneCache.kt
Code scanning / detekt
Restrict the number of throw statements in methods. Warning
Check warning on line 19 in usvm-mcp/src/main/kotlin/org/usvm/mcp/tools/ToolDefinitions.kt
Code scanning / detekt
If a source file contains only a single non-private top-level class or object, the file name should reflect the case-sensitive name plus the .kt extension. Warning