mirror of
https://github.com/morluto/rea.git
synced 2026-12-04 10:04:50 +00:00
* test(ida): compare verifier reads in one database state With IDA Pro 9.5, decompiling a function applies its inferred prototype and can merge adjacent stack slots in the live database. The verifier read the dossier before its first pseudocode, then compared procedure_assembly and read_function_instructions with it after that pseudocode, so the public fixture's rea_fixture_add failed parity. Keep the CLI/MCP dossier comparison, which both read before any decompilation, and compare the later MCP reads with a second dossier read in the same post-decompilation state. Document the behavior and the IDA 9.5 Windows x64 headless run. * test(ida): cover verifier reads after a frame change The verifier fixture always returned the same assembly, so pointing the later assembly or instruction comparison back at the first dossier still passed. The fixture now changes main's assembly once it has been decompiled a chosen number of times: a change after the MCP dossier's decompilation must pass, and a change before the assembly or instruction read must fail in that phase. Drop the second dossier's address, name and pseudocode assertions. procedure_pseudo_code already compares later pseudocode with the first dossier, and a second dossier for another function fails the assembly comparison. * test(ida): check the post-decompilation dossier's identity and pseudocode