30.07.2014 Views

Attacking the Vista Heap - 2008

Attacking the Vista Heap - 2008

Attacking the Vista Heap - 2008

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Heap</strong> Spray III – <strong>the</strong> <strong>the</strong>ory<br />

• For target application, find average Y of<br />

last reserved page across all heaps<br />

• Y = function of <strong>the</strong> amount of committed<br />

and reserved heap pages 1<br />

• Spray amount Z, with Z > ~16MB<br />

• Y + (Z/2) => your data w/ probability ~= 1<br />

1. with variability approaching 2MB (more when early)

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

Saved successfully!

Ooh no, something went wrong!