// Size of the shadow call stack. This can be small because these stacks only // contain return addresses. This must be a power of 2 so the mask trick works. // See the SCS commentary in pthread_internal.h for more detail. // SCS_SIZE must be a multiple of page size. // We used 8KiB until V but switched to 16KiB in V to experiment with 16KiB pages. #define SCS_SIZE (16 * 1024) #define SCS_MASK (SCS_SIZE - 1)
// The shadow call stack is allocated at an aligned address within a guard region of this size. The // guard region must be large enough that we can allocate an SCS_SIZE-aligned SCS while ensuring // that there is at least one guard page after the SCS so that a stack overflow results in a SIGSEGV // instead of corrupting the allocation that comes after it. #define SCS_GUARD_REGION_SIZE (16 * 1024 * 1024)
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet am 2026-06-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.