Roundup Robot added the comment:
New changeset f6792f734fcc by Nick Coghlan in branch 'default':
Close #18596: Support address sanity checking in clang/GCC
http://hg.python.org/cpython/rev/f6792f734fcc
--
nosy: +python-dev
resolution: - fixed
stage: patch review - committed/rejected
Nick Coghlan added the comment:
Incorporated, but as Charles-François noted, a buildbot running with it enabled
would be nice.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18596
___
halfie added the comment:
I am attaching the latest tested patch against tip.
--
Added file: http://bugs.python.org/file31866/ASAN-compat-35da5d848ffd-v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18596
Changes by Nick Coghlan ncogh...@gmail.com:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18596
___
___
Python-bugs-list
halfie added the comment:
Using,
# define ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS
__attribute__((no_address_safety_analysis)) __attribute__ ((noinline))
instead of,
# define ATTRIBUTE_NO_ADDRESS_SAFETY_ANALYSIS
__attribute__((no_address_safety_analysis))
seems to be a more future-proof
New submission from halfie:
Hi,
When trying to build CPython tip with AddressSanitizer enabled, I get the
following crash,
make Parser/pgen
make[1]: Entering directory `/scratch/repos/cpython'
make[1]: `Parser/pgen' is up to date.
make[1]: Leaving directory `/scratch/repos/cpython'
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +christian.heimes, haypo
stage: - patch review
type: crash - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18596
___
halfie added the comment:
This patch should only be applied if we are sure that the allocator is fine and
doing such things by design.
--
type: enhancement - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18596
Changes by Christian Heimes li...@cheimes.de:
--
type: crash - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18596
___
___
Charles-François Natali added the comment:
The warning is due to the Py_ADDRESS_IN_RANGE() macro: it's a know limitation,
we have the same problem with valgrind.
This would be a nice neature. It would IMO be even nicer to have an
ASAN-enabled buildbot.
--
nosy: +neologix
10 matches
Mail list logo