Merge remote-tracking branch 'origin/GP-1529_Dan_emuInterruptExtern--SQUASHED'

This commit is contained in:
Ryan Kurtz
2023-03-30 07:59:31 -04:00
25 changed files with 274 additions and 100 deletions
@@ -287,7 +287,7 @@ public abstract class AbstractEmuUnixSyscallUseropLibrary<T>
// TODO: Not ideal to require concrete size. What are the alternatives, though?
// TODO: size should actually be long (size_t)
int size = (int) arithmetic.toLong(count, Purpose.OTHER);
T buf = state.getVar(space, bufPtr, size, true, Reason.EXECUTE);
T buf = state.getVar(space, bufPtr, size, true, Reason.EXECUTE_READ);
// TODO: Write back into state? "write" shouldn't touch the buffer....
return desc.write(buf);
}