athenavm / athena

Athena monorepo
https://www.athenavm.org/
Apache License 2.0
21 stars 2 forks source link

CALL syscall returns data #175

Closed poszu closed 3 weeks ago

poszu commented 1 month ago

Add functionality of returning data from the program executed via a CALL syscall. The syscall helper supports returning up to 1024B for now. It allocates a buffer for the (possible) returned data on the caller's heap, which is populated (if needed) by the VM syscall handler (if the call returns any data).

Closes #36

Other changes: