Skip to content

Commit 02c6c87

Browse files
committed
docs: add ESTACK_MIN_ALIGNMENT option to README for user payload alignment
1 parent 4a94cf3 commit 02c6c87

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ Helps detect use-after-free and uninitialized memory usage.
477477
| `ESTACK_NO_AUTO_ALIGN` | *None* | Completely disables user payload alignment (forces 1-byte boundary). Highly recommended for 8/16-bit MCUs to save memory. |
478478
| `ESTACK_NO_ALIGN_HEADER` | *None* | Completely disables context header alignment (forces 1-byte boundary). Automatically enabled on 8/16-bit systems to eliminate padding waste. |
479479
| `ESTACK_DEFAULT_HEADER_ALIGNMENT` | *Auto* | Override the optimal context header alignment boundary (defaults to 64-byte for 64-bit, 32-byte for 32-bit platforms to prevent L1 cache line splits). |
480+
| `ESTACK_MIN_ALIGNMENT` | *Auto* | Override the minimum user payload alignment boundary (defaults to 8-byte for 64-bit, 4-byte for 32-bit platforms). |
480481
| `ESTACK_NO_BRANCH_HINTS` | *None* | Completely disables compiler branch prediction hints (`ESTACK_LIKELY` and `ESTACK_UNLIKELY`). |
481482
| `ESTACK_MAGIC` | `0xDEADBEEF..` | Magic number used for Stack Marker XOR integrity masking. |
482483

0 commit comments

Comments
 (0)