compare_bytecode_and_analyze
Compare original JAR bytecode against recompiled mavenized source to measure percentage match, business context similarity, and variable readability, outputting a text log report.
Instructions
Performs ASM bytecode analysis comparing the original JAR against the recompiled mavenized source, outputting percentage match, business context similarity, and variable readability scores into a text log.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compare_bytecode_and_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logPath | No | Path to output comparison report file. Defaults to logs/bytecode_comparision.txt. | |
| mavenDir | No | Path to the mavenized project directory. Defaults to mavenized_merged_source. | |
| asmJarPath | No | Path to ASM library JAR file. Defaults to asm-bytecode-analysis/asm-9.10.1.jar. | |
| originalJarPath | No | Path to the original JAR file. Defaults to targeted-jars/commons-io-2.22.0.jar. |