Skip to content

v0.1.2

Choose a tag to compare

@rotmanjanez rotmanjanez released this 27 Jun 17:01

New: portable getrandom (syscall 318)

Adds a portable getrandom(buf, buflen, flags) handler so newer glibc
(>= 2.36) — which seeds its stack canary / pointer guard via getrandom at
startup — now boots in the simulator instead of dying on an unsupported syscall.

The buffer is filled from a fixed-seed std::mt19937_64 stream: deterministic
and host-independent (no host entropy / std::random_device), matching the
library's other synthetic syscalls. Wired into both the Python glibc=True
chain and the native frontend.