Liste des Groupes | Revenir à cl misc |
John Ames <commodorejohn@gmail.com> writes:On 1 Apr 2024 21:13:42 GMT>
ram@zedat.fu-berlin.de (Stefan Ram) wrote:
>This stack "management" is "limited" in C:>
True enough, although as noted that's an implementation issue as much
as it is a limitation of the language spec. (I'm not sure how you could
handle that in a way that's both robust and reasonably C-ish...)
Modern (64-bit) linux systems leave large buffer zones (unmapped addresses)
on either side of the stack; a stack overflow or underflow will
immediately fault if the RLIMIT_STACK value is exceeded.
Les messages affichés proviennent d'usenet.