Starts at 3: 0/1/2 are stdio, which emscripten sets up for every instance, so
replaying them would fight the runtime rather than restore anything.
Ported from the restore probe rather than reimplemented -- that code is the only version of this
that has been proven against a real restore, and src/probes/** are frozen instruments that
must not be edited, so the logic is promoted here instead.
Every open descriptor above stdio.
Starts at 3: 0/1/2 are stdio, which emscripten sets up for every instance, so replaying them would fight the runtime rather than restore anything.
Ported from the restore probe rather than reimplemented -- that code is the only version of this that has been proven against a real restore, and
src/probes/**are frozen instruments that must not be edited, so the logic is promoted here instead.