perf(hopper): stop repeating Hopper replies as raw_result (#1405)
HopperProvider passed the bridge reply as rawResult and, for every operation except address_to_file_offset, the same object as the result. Every Hopper Evidence record (decompilation, procedure and string listings, xrefs, ...) therefore carried its complete result twice, and an MCP response four times counting its text copy. raw_result is now null unless REA transformed the reply, which only the file-offset mapping does; that case keeps Hopper's original reply. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
7623e21ff0
commit
1f0f728c63
@@ -249,7 +249,8 @@ export class HopperProvider implements AnalysisProviderCandidate {
|
||||
? {
|
||||
ok: true,
|
||||
value: createAnalysisExecution(mapped.value, executionProvider, {
|
||||
rawResult: result.value,
|
||||
// Only the file-offset mapping differs from Hopper's reply.
|
||||
rawResult: mapped === result ? null : result.value,
|
||||
...(profile === undefined ? {} : { analysisProfile: profile }),
|
||||
limitations: [
|
||||
...(preparedImage === undefined
|
||||
|
||||
Reference in New Issue
Block a user