Open ramosian-glider opened 9 years ago
This example is really a buggy program, but ASan should be more verbose about the problem.
For example, NSZombie detects the bug correctly:
$ NSZombieEnabled=YES ./t-native
2012-07-11 16:50:18.581 t-native[94386:903] *** -[CFString description]: message sent
to deallocated instance 0x10010e080
Trace/BPT trap
even with ASan:
$ NSZombieEnabled=YES ./t
2012-07-11 16:53:27.968 t[94894:903] *** -[CFString description]: message sent to deallocated
instance 0x16e0284
Trace/BPT trap
Reported by ramosian.glider
on 2012-07-11 13:06:15
are we going to take any action here?
Reported by konstantin.s.serebryany
on 2013-02-18 08:19:30
Yes, if we want to improve the coverage for ObjC
Reported by ramosian.glider
on 2013-02-18 09:36:28
Reported by ramosian.glider
on 2015-07-30 09:05:30
Adding Project:AddressSanitizer as part of GitHub migration.
Reported by ramosian.glider
on 2015-07-30 09:06:54
Originally reported on Google Code with ID 88
Reported by
ramosian.glider
on 2012-07-11 07:19:25