Add to Memcheck a flag --ignore-range-below-sp=<offset>-<offset>, for

ignoring accesses on the stack below SP.  Serves as a more modern
replacement for --workaround-gcc296-bugs, which is now deprecated.
Fixes #360571.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16073
This commit is contained in:
Julian Seward
2016-10-18 17:16:11 +00:00
parent d752f54716
commit 766292973d
14 changed files with 234 additions and 9 deletions

View File

@@ -101,11 +101,15 @@ extern HChar* VG_(strtok_r) (HChar* s, const HChar* delim, HChar** saveptr
extern HChar* VG_(strtok) (HChar* s, const HChar* delim);
/* Parse a 32- or 64-bit hex number, including leading 0x, from string
starting at *ppc, putting result in *result, and return True. Or
fail, in which case *ppc and *result are undefined, and return
False. */
starting at *ppc, putting result in *result, advance *ppc past the
characters used, and return True. Or fail, in which case *ppc and
*result are undefined, and return False. */
extern Bool VG_(parse_Addr) ( const HChar** ppc, Addr* result );
/* Parse an unsigned 32 bit number, written using decimals only.
Calling conventions are the same as for VG_(parse_Addr). */
extern Bool VG_(parse_UInt) ( const HChar** ppc, UInt* result );
/* Parse an "enum set" made of one or more words comma separated.
The allowed word values are given in 'tokens', separated by comma.
If a word in 'tokens' is found in 'input', the corresponding bit