fwsGonzo / libriscv

The fastest RISC-V sandbox
BSD 3-Clause "New" or "Revised" License
526 stars 46 forks source link

High-memory binaries are causing issues #119

Closed fwsGonzo closed 6 months ago

fwsGonzo commented 6 months ago

High-memory binaries are causing problems with read-write arena. Needs investigation.

One solution can be to disable the arenas with high-memory executables automatically. But it might be surprising for users.

fwsGonzo commented 6 months ago

This commit should fix it without needing any work-arounds. The memory arena is still there, and should probably just be disabled. Perhaps a future fix is to just disable the entire arena if the image base is higher than memory size.