| 1 | #
|
|---|
| 2 | # This is a valgrind suppression file that should be used when using valgrind.
|
|---|
| 3 | #
|
|---|
| 4 | # Here's an example of running valgrind:
|
|---|
| 5 | #
|
|---|
| 6 | # cd python/dist/src
|
|---|
| 7 | # valgrind --tool=memcheck --suppressions=Misc/valgrind-python.supp \
|
|---|
| 8 | # ./python -E -tt ./Lib/test/regrtest.py -u bsddb,network
|
|---|
| 9 | #
|
|---|
| 10 | # You must edit Objects/obmalloc.c and uncomment Py_USING_MEMORY_DEBUGGER
|
|---|
| 11 | # to use the preferred suppressions with Py_ADDRESS_IN_RANGE.
|
|---|
| 12 | #
|
|---|
| 13 | # If you do not want to recompile Python, you can uncomment
|
|---|
| 14 | # suppressions for PyObject_Free and PyObject_Realloc.
|
|---|
| 15 | #
|
|---|
|
|---|