ramosian-glider / sanitizers

0 stars 0 forks source link

ASan should support purgeable allocations on Mac #140

Closed ramosian-glider closed 9 years ago

ramosian-glider commented 9 years ago

Originally reported on Google Code with ID 139

For big allocations (at least several pages) allocated from malloc_default_purgeable_zone()
or made such via malloc_make_purgeable() ASan should mark the memory pages as purgeable
to prevent the kernel from swapping them (as requested by the user)
Because in this case any ASan data stored in those pages will be lost, we must not
store headers or stack traces in them.

Reported by ramosian.glider on 2012-12-17 14:40:03

ramosian-glider commented 9 years ago

Reported by ramosian.glider on 2012-12-17 14:40:09

ramosian-glider commented 9 years ago
Why should we bother?

Reported by konstantin.s.serebryany on 2013-02-18 08:40:29

ramosian-glider commented 9 years ago

Reported by ramosian.glider on 2013-02-18 08:46:34

ramosian-glider commented 9 years ago
Marking this bug as WontFix with a FixLater label.
Feel free to reopen if you want to work on this.

Reported by ramosian.glider on 2013-12-26 15:14:21

ramosian-glider commented 9 years ago
Adding Project:AddressSanitizer as part of GitHub migration.

Reported by ramosian.glider on 2015-07-30 09:13:40