mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
Fix 348949 Bogus "ERROR: --ignore-ranges: suspiciously large range"
Patch from Mark Harris git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15333
This commit is contained in:
parent
d771b5cb1d
commit
d6438d2c05
1
NEWS
1
NEWS
@ -236,6 +236,7 @@ where XXXXXX is the bug number as listed below.
|
||||
348728 Fix broken check for VIDIOC_G_ENC_INDEX
|
||||
348748 Fix redundant condition
|
||||
348890 Fix clang warning about unsupported --param inline-unit-growth=900
|
||||
348949 Bogus "ERROR: --ignore-ranges: suspiciously large range"
|
||||
n-i-bz Provide implementations of certain compiler builtins to support
|
||||
compilers who may not provide those
|
||||
n-i-bz Old STABS code is still being compiled, but never used. Remove it.
|
||||
|
||||
@ -5496,11 +5496,11 @@ static Bool mc_process_cmd_line_options(const HChar* arg)
|
||||
gIgnoredAddressRanges, i );
|
||||
tl_assert(key_min <= key_max);
|
||||
UWord limit = 0x4000000; /* 64M - entirely arbitrary limit */
|
||||
if (key_max - key_min > limit) {
|
||||
if (key_max - key_min > limit && val == IAR_CommandLine) {
|
||||
VG_(message)(Vg_DebugMsg,
|
||||
"ERROR: --ignore-ranges: suspiciously large range:\n");
|
||||
VG_(message)(Vg_DebugMsg,
|
||||
" 0x%lx-0x%lx (size %ld)\n", key_min, key_max,
|
||||
" 0x%lx-0x%lx (size %lu)\n", key_min, key_max,
|
||||
key_max - key_min + 1);
|
||||
return False;
|
||||
}
|
||||
|
||||
@ -32,5 +32,5 @@ WARNING: exiting program has the following client-requested
|
||||
WARNING: address error disablement range(s) still in force,
|
||||
WARNING: possibly as a result of some mistake in the use of the
|
||||
WARNING: VALGRIND_{DISABLE,ENABLE}_ERROR_REPORTING_IN_RANGE macros.
|
||||
[1] 0x........-0x........ ClientReq
|
||||
[3] 0x........-0x........ ClientReq
|
||||
[4] 0x........-0x........ ClientReq
|
||||
[6] 0x........-0x........ ClientReq
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
prog: err_disable_arange1
|
||||
vgopts: -q
|
||||
vgopts: -q --ignore-ranges=0x1000-0x1fff,0x0000-0x00ff
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user