Comment by rwmj

10 months ago

Shadow stacks have been proposed as an alternative, although it's my understanding that in current CPUs they hold only a limited number of frames, like 16 or 32?

You may be thinking of the return stack buffer. The shadow stack holds every return address.