Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sph
56 days ago
|
parent
|
context
|
favorite
| on:
Linear Address Spaces: Unsafe at any speed (2022)
Nothing stops you from having upward growing stacks in RISC-V, for example, as there are no dedicated stack instructions.
Instead of
addi sp, sp, -16 sd a0, 0(sp) sd a1, 8(sp)
Do:
addi sp, sp, 16 sd a0, -8(sp) sd a1, -16(sp)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Instead of
Do: