aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorHarold Brenes <harold@hbrenes.com>2025-03-26 19:25:06 -0400
committerHarold Brenes <harold@hbrenes.com>2025-03-26 19:25:06 -0400
commit6fda041e178bf44fae87cc56bef46db418dee0c7 (patch)
treea4c3737c4c7ae6985785a14705a1c21137e2ca1f /src/main.cpp
parent94152ca701929d877d0ca94f922ba29fbafd46f3 (diff)
Add `~{memory}` clobber to syscall intrinsics for platforms where it was not yet added.
This fixes #4972 and #4588. As laytan asserts, there is no guarantee that a syscall will not modify memory that it just obtained from the user, or held onto via a previous syscall. Therefore this constraint should be required for all syscalls.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions