Access to DOM implementation in Webkit/Chromium

72 views
Skip to first unread message

sqrt...@googlemail.com

unread,
May 18, 2012, 7:17:50 AM5/18/12
to v8-...@googlegroups.com
Hi guys,

I'm working on a project where I want to achieve taint tracking in Chromium. In essence, I want to be able to identify things coming from the DOM, what might happen to them (concat, substring, etc) and be able to identify variables derived from them. My question in a nutshell is: how and where are calls to the DOM implemented? I gather that v8 is provided a context from the rendering engine and then works on that - couldn't find the corresponding code though.

Your help is very much appreciated
 Ben

Jakob Kummerow

unread,
May 18, 2012, 9:43:16 AM5/18/12
to sqrt...@googlemail.com, v8-...@googlegroups.com
The DOM bindings for V8 are part of WebKit, not part of V8. Start looking here: http://trac.webkit.org/browser/trunk/Source/WebCore/bindings/v8

sqrt...@googlemail.com

unread,
May 18, 2012, 9:58:04 AM5/18/12
to v8-...@googlegroups.com, sqrt...@googlemail.com
I found out this much as well. Thanks for the quick reply though :)

Hossein Siadati

unread,
Oct 4, 2012, 5:13:03 AM10/4/12
to v8-...@googlegroups.com, sqrt...@googlemail.com
Did you find the answer of this?
Similar to what you are trying to do, I would like to intercept all access to DOM elements of the page.
I guess that should be possible in v8, but don't know how.

Thanks!
Reply all
Reply to author
Forward
0 new messages