mirror of
https://github.com/morluto/rea.git
synced 2026-12-05 19:51:20 -05:00
5f98047a88
parseMcpJsonOrText returned the raw string whenever JSON.parse failed, so a truncated JSON reply from IDA or JEB became an ordinary string and IDA's legacy decompile_function accepted it as pseudocode. Text blocks are now decoded by the tool's declared reply kind: JSON unless the tool returns plain text (IDA legacy decompile_function). Malformed JSON is a typed protocol failure.