Intermediate
Assembly Language
Q51 / 100
What is the red zone in x86-64 System V ABI?
Correct! Well done.
Incorrect.
The correct answer is B) A 128-byte area below RSP that leaf functions can use as scratch space without adjusting RSP
B
Correct Answer
A 128-byte area below RSP that leaf functions can use as scratch space without adjusting RSP
Explanation
Signal handlers and interrupt handlers must not use the red zone. Kernel code uses -mno-red-zone. Leaf functions can use [rsp-8] through [rsp-128] without a PUSH.
Progress
51/100