Re:Mac Apps That Use Garbage Collection Must Move to ARC
by gilgoomesh on Sunday February 22, 2015 @03:48AM
(#9088758)
With one difference: the reference count is usually stored inside the Object's pointer (taking advantage of the fact that allocations are 16-byte aligned so the lowest 4 bits are otherwise idle). This means that there's no storage overhead on the reference count.
[ Parent
| on HN ]
Re:Mac Apps That Use Garbage Collection Must Move to ARC
by tomjen3 on Sunday February 22, 2015 @08:00AM
(#9089227)
So if you end up with more than a certain number of allocations you can write a memory pointer to any place you want, then execute the code there?
Because that does not at all sound like a huge exploit.