10.01.2015 Views

2014_EN_BrowserFuzzing_RosarioValotta

2014_EN_BrowserFuzzing_RosarioValotta

2014_EN_BrowserFuzzing_RosarioValotta

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

• browsers are event-driven<br />

JS timing model<br />

• alMost every action performed on a browser results in an event being generated and appended to the event queue<br />

• Event loop is a function that takes events from the queue and process them when time permits only one running script at a time<br />

• Most events are processed asynchronously<br />

• Some special events (mutation) and events fired with dispatchEvent are synchronous<br />

Execution queue<br />

myFunction<br />

fn<br />

fn<br />

x<br />

x<br />

Event handler 1<br />

x<br />

Event handler 2 Event handler 1<br />

x<br />

x<br />

Event queue

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

Saved successfully!

Ooh no, something went wrong!