mirror of
https://github.com/morluto/rea.git
synced 2026-12-03 13:41:17 -05:00
ff00a77731
trace_native_values reported "Parameter bindings ... are unavailable or omitted" for every call whose callee had no recovered parameter nodes. A Ghidra function with an authored int f(void) signature therefore looked as unresolved as one whose decompiler recovered nothing, and no structured fact distinguished the two or a variadic prototype. The Ghidra bridge now reports native_api.parameter_list: basis "signature" when Ghidra fixes the HighFunction inputs from a non-default signature (an empty one as its void-input lock, otherwise every valid parameter type-locked) and "recovered" otherwise, plus the prototype's varargs flag. The Ghidra adapter requires the fact; the provider-neutral schema keeps it optional so older retained Evidence stays readable with arity unknown. The shared trace omits the unknown only for an analyzed callee whose boundary and value flow have no parameters and whose list has a signature basis and is not variadic. Recovered, variadic or unreported lists, and callees that were not analyzed, keep it. A new Ghidra profile commitment stops replay of snapshots recorded without the fact, and a bridge CI probe checks the basis and varargs flag on real Ghidra decompilations. Fixes #8284 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>