HF RL Explorer

Repair a verified behavior in sysprog21/rv32emu.

Repair a verified behavior in sysprog21/rv32emu.: a task in OriGent-SFT-Data (Harbor dataset). The guest close() system call is mishandled for the standard file descriptors. If a RISC-V guest calls close() with fd 0, 1, or 2 while it is running, the emulator currently performs no close operation…

The task

The guest close() system call is mishandled for the standard file descriptors. If a RISC-V guest calls close() with fd 0, 1, or 2 while it is running, the emulator currently performs no close operation but still reports success, so the guest can incorrectly conclude that stdin, stdout, or stderr was closed. This is…

Part of henryen/OriGent-SFT-Data.