Re: AMD64 14.0-CURRENT memory layout changes
- Reply: Mark Johnston : "Re: AMD64 14.0-CURRENT memory layout changes"
- In reply to: Paul Floyd : "Re: AMD64 14.0-CURRENT memory layout changes"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Oct 2022 12:13:46 UTC
> > How is 14.0 working out what address to use for the stack? > (The above is with ASLR all off) Answering my own question: it's in auxv (from __thr_get_main_stack_base) /usr/include/sys/elf_common.h:#define AT_USRSTACKBASE 35 /* Top of user stack */ I haven't yet added this (or AT_USRSTACKLIM) to the client auxv that Valgrind synthesizes. I'm still not certain that will fix it - I would have expected __thr_get_main_stack_base to fallback to using sysctl. A+ Paul