aboutsummaryrefslogtreecommitdiff
path: root/absl/base/internal/poison.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add missing include for Windows ASAN configuration in poison.ccAbseil Team2024-07-181-1/+3
| | | | | | | GetPageSize requires windows include regardless of presence of ASAN or MSAN PiperOrigin-RevId: 653705885 Change-Id: I4c7eec09db6c1a6168dd249cf584f1774d6cead2
* Roll forward poisoned pointer API and fix portability issues.Evan Brown2024-07-101-0/+82
| | | | | | | Also, return the middle of the poisoned block. PiperOrigin-RevId: 651119057 Change-Id: Iae0fc3dcb40e32cd449f469d9b8d62c37f3773f4
* Rollback new poisoned pointer APIDerek Mauro2024-07-011-79/+0
| | | | | | | | | This breaks Chromium due to global constructor and incorrectly assumes page size. https://github.com/abseil/abseil-cpp/pull/1697 PiperOrigin-RevId: 648377066 Change-Id: I19f8b2655971a0c314091e26e62e10a5a9c46e94
* Remove erroneous preprocessor branch on SGX_SIM.Evan Brown2024-06-251-1/+1
| | | | | PiperOrigin-RevId: 646614152 Change-Id: Iee853bdc6f753d758c850a529a6adb05d0d0b1a7
* Add an internal API to get a poisoned pointer.Evan Brown2024-06-241-0/+79
The motivation is to make destroyed/moved-from objects cause crashes when they are accessed. PiperOrigin-RevId: 646229564 Change-Id: I68d9c189b542df0933af08f5ad63dc1f5764d856