HF RL Explorer

Repair a verified behavior in apache/nuttx.

Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). The simulated USB device controller driver for the sim architecture (arch/sim/src/sim/sim usbdev.c) guards its device-wide and endpoint state with the global critical section (enter critical section()/leave…

The task

The simulated USB device controller driver for the sim architecture (arch/sim/src/sim/sim_usbdev.c) guards its device-wide and endpoint state with the global critical section (enter_critical_section()/leave_critical_section()). On the sim platform this does not make the protected region atomic with respect to task…

Part of henryen/OriGent-RL-Data.