mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 18:50:43 +00:00
Replace the saturating TEB address with checked arithmetic and reject a stack below address zero, an overflowing TEB range, or a TEB overlapping the stack before the image is parsed. Name the Win64 TEB field offsets and add unit tests for layout validation and field placement. Signed-off-by: Swastick Chowdhury <28708247+Swastickc@users.noreply.github.com>