libriscv
libriscv copied to clipboard
Provided system calls needs improvement
The provided system calls that comes with the emulator needs to be improved upon to handle basic tasks like reading files and such. Unfortunately, there is a stigma to allowing an emulator full system access, and sanitizing files and paths is not an easy task - especially designing the API and not making so that nobody wants to touch it.
That said, the emulator is not a sandbox. It is a reference implementation that should be able to run basic programs. Any isolation and tight integration into other programs falls out of that scope.
Also, the multi-threading needs to be improved so that it can run basic Go programs.
System calls are now part of the library itself, and many filesystem system calls are supported. There is also basic sockets support; enough for a TCP listener and basic read and write.
There is now just enough syscall emulation for a Golang hello world program