31.12.2012 Views

iOS Kernel Heap Armageddon

iOS Kernel Heap Armageddon

iOS Kernel Heap Armageddon

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Memory Sizes Cheat Sheet<br />

OSArray<br />

OSDictionary<br />

OSData<br />

OSSet<br />

OSNumber<br />

OSString<br />

OSBoolean<br />

in memory size kalloc zone size additional alloc<br />

36 40 + capacity * 4<br />

36 40 + capacity * 8<br />

28 32 + capacity<br />

24 24 + sizeof(OSArray)<br />

24 24<br />

20 24 + strlen + 1<br />

12 16<br />

Stefan Esser • <strong>iOS</strong> <strong>Kernel</strong> <strong>Heap</strong> <strong>Armageddon</strong> • April 2012 •<br />

cannot be generated<br />

by OSUnserializeXML()<br />

83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!