commit | 04421d0cecd2b0d41b83d35876619c2e585451c4 | [log] [tgz] |
---|---|---|
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sun Feb 23 03:54:59 2003 +0000 |
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Sun Feb 23 03:54:59 2003 +0000 |
tree | 5e938b3a2606c783fcc5f7ee329495b57d3688cd | |
parent | 669610b305677d01b51d0a7292196fd29a7dba47 [diff] |
Initial rough hack to spot the stack segment at startup by looking for a rwx mapping which contains the startup %esp. Might be better to look for just rw-. Stack might not be executable if there's a noexec patch, and x86-64 actually enforces the x bit distinctly from r. --> Look for just rw-. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1431 a5019735-40e9-0310-863c-91ae7b9d1cf9