v8/test
mikhail.naganov@gmail.com 3d7ce8ac19 CPU profiler: add secure profiles by filtering out functions using security tokens.
As several pages can run in a single V8 instance, it is possible to
have functions from different security contexts intermixed in a single
CPU profile.  To avoid exposing function names from one page to
another, filtering is introduced.

The basic idea is that instead of capturing return addresses from
stack, we're now capturing JSFunction addresses (as we anyway work
only with JS stack frames.)  Each JSFunction can reach out for
context's security token. When providing a profile to a page, the
profile is filtered using the security token of caller page. Any
functions with different security tokens are filtered out (yes, we
only do fast path check for now) and their ticks are attributed to
their parents.

Review URL: http://codereview.chromium.org/2083005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4673 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-05-18 14:19:33 +00:00
..
cctest CPU profiler: add secure profiles by filtering out functions using security tokens. 2010-05-18 14:19:33 +00:00
es5conform Enable Object.create tests since we implement this correctly (since 3786 i guess, it was enabled in 3438 but did not function correctly because DefineOwnProperty was not implemented fully according to spec). 2010-04-28 08:04:39 +00:00
message MIPS port initial commit 2010-02-04 20:36:58 +00:00
mjsunit Add stack traces to mjsunit tests. 2010-05-14 10:00:24 +00:00
mozilla Sort tests to increase predictability of mozilla test runs 2009-11-04 16:55:24 +00:00
sputnik Added ability to remove prototype from function. In this case, [[Construct]] from function will not be allowed. 2010-04-28 12:05:40 +00:00