cpython/Modules
Gregory P. Smith 5f4d05d83f
[3.7] bpo-35214: Initial clang MemorySanitizer support (GH-10479) (GH-10492)
Adds configure flags for msan and ubsan builds to make it easier to enable.
These also encode the detail that address sanitizer and memory sanitizer
should disable pymalloc.

Define MEMORY_SANITIZER when appropriate at build time and adds workarounds
to existing code to mark things as initialized where the sanitizer is otherwise unable to
determine that.  This lets our build succeed under the memory sanitizer.  not all tests
pass without sanitizer failures yet but we're in pretty good shape after this.

(cherry picked from commit 1584a00815)

Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google LLC]
2018-11-12 13:48:24 -08:00
..
_blake2 [3.7] Fix misleading mentions of tp_size in comments. (GH-9136) 2018-09-10 10:22:55 -07:00
_ctypes [3.7] bpo-35214: Initial clang MemorySanitizer support (GH-10479) (GH-10492) 2018-11-12 13:48:24 -08:00
_decimal bpo-35059, libmpdec: Add missing EXTINLINE in mpdecimal.h (GH-10128) 2018-10-26 10:28:26 -07:00
_io bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 06:52:58 -08:00
_multiprocessing
_sha3 [3.7] bpo-34922: Fix integer overflow in the digest() and hexdigest() methods (GH-9751) (GH-9798) 2018-10-11 08:06:36 +03:00
_sqlite bpo-34743: Fix test_database_source_name under SQLite 3.7.9 (GH-9426) 2018-09-20 20:20:32 +03:00
_xxtestfuzz
cjkcodecs bpo-35194: Fix a wrong constant in cp932 codec (GH-10420) 2018-11-08 23:35:05 -08:00
clinic [3.7]bpo-29341: Backport b942707 3.7 (#10298) 2018-11-02 13:56:25 -04:00
expat [3.7] bpo-35011: Restore use of pyexpatns.h in libexpat (GH-9939) (GH-9940) 2018-10-17 19:06:30 -07:00
_abc.c [3.7] Fix misleading mentions of tp_size in comments. (GH-9136) 2018-09-10 10:22:55 -07:00
_asynciomodule.c [3.7] Fix a compiler warning added in bpo-34872. (GH-9722). (GH-9726) 2018-10-05 21:58:15 +03:00
_bisectmodule.c
_bz2module.c bpo-35090: Fix potential division by zero in allocator wrappers (GH-10174) 2018-10-28 13:46:56 -07:00
_codecsmodule.c
_collectionsmodule.c closes bpo-31608: Fix a crash in methods of a subclass of _collections.deque with a bad __new__(). (GH-3788) 2018-09-11 12:08:10 -07:00
_contextvarsmodule.c bpo-34762: Fix contextvars C API to use PyObject* pointer types. (GH-9473) 2018-09-21 12:48:10 -07:00
_cryptmodule.c
_csv.c bpo-34395: Fix memory leaks caused by incautious usage of PyMem_Resize(). (GH-8756) 2018-08-16 00:53:00 -04:00
_curses_panel.c
_cursesmodule.c
_datetimemodule.c bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 06:52:58 -08:00
_dbmmodule.c
_elementtree.c Fix error handling bugs in _elementtree.c. (GH-10060) 2018-10-23 12:45:44 -07:00
_functoolsmodule.c
_gdbmmodule.c
_hashopenssl.c bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873) (GH-9971) 2018-10-20 01:20:56 +02:00
_heapqmodule.c
_json.c bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) 2018-09-13 00:46:40 +03:00
_localemodule.c
_lsprof.c Fix docstring of Profiler class (GH-8651) 2018-08-03 02:30:49 -07:00
_lzmamodule.c bpo-35090: Fix potential division by zero in allocator wrappers (GH-10174) 2018-10-28 13:46:56 -07:00
_math.c
_math.h
_opcode.c
_operator.c
_pickle.c bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 06:52:58 -08:00
_posixsubprocess.c [3.7] bpo-35214: Initial clang MemorySanitizer support (GH-10479) (GH-10492) 2018-11-12 13:48:24 -08:00
_queuemodule.c [3.7] Fix misleading mentions of tp_size in comments. (GH-9136) 2018-09-10 10:22:55 -07:00
_randommodule.c
_scproxy.c closes bpo-31903: Release the GIL when calling into SystemConfiguration (GH-4178) 2018-09-12 08:37:30 -07:00
_sre.c
_ssl.c bpo-34824: Fix a possible NULL pointer dereference in _ssl.c (GH-9606) (GH-9743) 2018-10-20 01:14:42 +02:00
_ssl_data.h
_stat.c
_struct.c
_testbuffer.c Make various internal _testbuffer symbols static. (GH-8160) 2018-07-07 11:37:54 -07:00
_testcapimodule.c Make GenericAlias_Type and Generic_Type static. (GH-8076) 2018-07-03 23:08:57 -07:00
_testimportmultiple.c
_testmultiphase.c Make two PyModuleDef_Slot symbols static in _testmultiphase. (GH-8147) 2018-07-06 21:25:22 -07:00
_threadmodule.c [3.7] Fix misleading mentions of tp_size in comments. (GH-9136) 2018-09-10 10:22:55 -07:00
_tkinter.c bpo-34794: Fix a leak in Tkinter. (GH-10025) (GH-10069) 2018-10-23 23:46:32 +02:00
_tracemalloc.c
_uuidmodule.c
_weakref.c
_winapi.c bpo-34563: Fix for invalid assert on big output of multiprocessing.Process (GH-9027) (GH-9064) 2018-09-04 21:39:54 +02:00
addrinfo.h
arraymodule.c
atexitmodule.c
audioop.c bpo-33781: audioop: enhance rounding double as int (GH-7447) 2018-06-06 07:33:05 -07:00
binascii.c bpo-34736: improve error message for invalid length b64decode inputs (GH-9563) 2018-09-27 23:12:54 -07:00
cmathmodule.c
config.c.in
errnomodule.c
faulthandler.c [3.7] bpo-35214: Initial clang MemorySanitizer support (GH-10479) (GH-10492) 2018-11-12 13:48:24 -08:00
fcntlmodule.c
gc_weakref.txt
gcmodule.c
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c
grpmodule.c [3.7] bpo-34604: Fix possible mojibake in pwd.getpwnam() and grp.getgrnam() (GH-9098) (GH-9104) 2018-09-09 13:27:31 +02:00
hashlib.h
hashtable.c
hashtable.h
itertoolsmodule.c
ld_so_aix.in
main.c bpo-34783: Fix Py_Main() (GH-9526) 2018-09-24 05:03:01 -07:00
makesetup
makexp_aix
mathmodule.c
md5module.c bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873) (GH-9971) 2018-10-20 01:20:56 +02:00
mmapmodule.c [3.7] Fix misleading mentions of tp_size in comments. (GH-9136) 2018-09-10 10:22:55 -07:00
nismodule.c
ossaudiodev.c [3.7] Fix misleading mentions of tp_size in comments. (GH-9136) 2018-09-10 10:22:55 -07:00
overlapped.c
parsermodule.c
posixmodule.c [3.7]bpo-29341: Backport b942707 3.7 (#10298) 2018-11-02 13:56:25 -04:00
posixmodule.h
pwdmodule.c [3.7] bpo-34604: Fix possible mojibake in pwd.getpwnam() and grp.getgrnam() (GH-9098) (GH-9104) 2018-09-09 13:27:31 +02:00
pyexpat.c Fix several reference counting bugs in pyexpat.c. (GH-9955) 2018-10-19 00:16:25 -07:00
readline.c
README
resource.c
rotatingtree.c
rotatingtree.h
selectmodule.c bpo-32568: make select.epoll() and its docs consistent (GH-7840) (GH-8024) 2018-06-30 16:03:19 +03:00
Setup.dist closes bpo-35139: The pyexpat module's macros in Modules/Setup now match setup.py (GH-10289) 2018-11-01 20:09:04 -07:00
sha1module.c bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873) (GH-9971) 2018-10-20 01:20:56 +02:00
sha256module.c bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873) (GH-9971) 2018-10-20 01:20:56 +02:00
sha512module.c bpo-20216: Correct docstrings of digest() methods in hashlib. (GH-9873) (GH-9971) 2018-10-20 01:20:56 +02:00
signalmodule.c
socketmodule.c [3.7] closes bpo-25041: Document AF_PACKET socket address format. (GH-9207) 2018-09-11 18:46:36 -07:00
socketmodule.h closes bpo-34555: Fix incorrectly nested test for HAVE_LINUX_VM_SOCKETS_H (GH-9016) 2018-09-01 18:30:44 -04:00
spwdmodule.c
sre.h
sre_constants.h
sre_lib.h
symtablemodule.c
syslogmodule.c
termios.c Fix a possible "double decref" in termios.tcgetattr(). (GH-10194) 2018-10-28 22:17:45 -07:00
testcapi_long.h
timemodule.c closes bpo-35025: Properly guard the CLOCK_GETTIME et al macros in timemodule.c. (GH-9961) 2018-10-20 17:41:38 -07:00
tkappinit.c
tkinter.h
unicodedata.c bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958) 2018-06-15 05:21:55 -07:00
unicodedata_db.h update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) (GH-7470) 2018-06-07 03:36:22 -04:00
unicodename_db.h update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) (GH-7470) 2018-06-07 03:36:22 -04:00
winreparse.h
xxlimited.c
xxmodule.c
xxsubtype.c
zipimport.c
zlibmodule.c bpo-35090: Fix potential division by zero in allocator wrappers (GH-10174) 2018-10-28 13:46:56 -07:00

Source files for standard library extension modules,
and former extension modules that are now builtin modules.