HF RL Explorer

Repair a verified behavior in enjoy-digital/litex.

Repair a verified behavior in enjoy-digital/litex.: a task in OriGent-RL-Data (Harbor dataset). The BIOS/libbase implementation of memcpy is not architecture-width agnostic. On a 64-bit RISC-V (RV64) build, when both the source and destination are word-aligned, a requested length of 4 through 8…

The task

The BIOS/libbase implementation of `memcpy` is not architecture-width agnostic. On a 64-bit RISC-V (RV64) build, when both the source and destination are word-aligned, a requested length of 4 through 8 bytes copies more than the requested number of bytes and overwrites destination bytes beyond the requested range.

Part of henryen/OriGent-RL-Data.