Skip to content

Commit 69607b4

Browse files
bpo-32889: update valgrind suppressions (GH-5779)
Py_ADDRESS_IN_RANGE was renamed address_in_range in 3.6 (commit 3924f93). (cherry picked from commit ba51880) Co-authored-by: Paul Price <[email protected]>
1 parent e5d38de commit 69607b4

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Update Valgrind suppression list to account for the rename of
2+
``Py_ADDRESS_IN_RANG`` to ``address_in_range``.

Misc/valgrind-python.supp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# ./python -E ./Lib/test/regrtest.py -u gui,network
99
#
1010
# You must edit Objects/obmalloc.c and uncomment Py_USING_MEMORY_DEBUGGER
11-
# to use the preferred suppressions with Py_ADDRESS_IN_RANGE.
11+
# to use the preferred suppressions with address_in_range.
1212
#
1313
# If you do not want to recompile Python, you can uncomment
1414
# suppressions for PyObject_Free and PyObject_Realloc.
@@ -19,25 +19,25 @@
1919
{
2020
ADDRESS_IN_RANGE/Invalid read of size 4
2121
Memcheck:Addr4
22-
fun:Py_ADDRESS_IN_RANGE
22+
fun:address_in_range
2323
}
2424

2525
{
2626
ADDRESS_IN_RANGE/Invalid read of size 4
2727
Memcheck:Value4
28-
fun:Py_ADDRESS_IN_RANGE
28+
fun:address_in_range
2929
}
3030

3131
{
3232
ADDRESS_IN_RANGE/Invalid read of size 8 (x86_64 aka amd64)
3333
Memcheck:Value8
34-
fun:Py_ADDRESS_IN_RANGE
34+
fun:address_in_range
3535
}
3636

3737
{
3838
ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
3939
Memcheck:Cond
40-
fun:Py_ADDRESS_IN_RANGE
40+
fun:address_in_range
4141
}
4242

4343
#

0 commit comments

Comments
 (0)