v8/test/cctest
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.cc Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +00:00
cctest.h Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor 2009-11-04 08:51:48 +00:00
cctest.status MIPS simple function calls 2010-03-23 15:04:45 +00:00
gay-fixed.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-fixed.h Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-shortest.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
gay-shortest.h Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
SConscript Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
test-accessors.cc Fixed problem where popping a handle scope after calling an accessor 2009-11-06 11:35:47 +00:00
test-alloc.cc Fix compilation error in r3352 2009-11-24 15:16:02 +00:00
test-api.cc Fixes bug with v8::StackTrace for non-zero script line offsets 2010-05-10 06:24:01 +00:00
test-assembler-arm.cc Merge the partial_snapshots branch back into bleeding_edge. For 2010-03-23 11:40:38 +00:00
test-assembler-ia32.cc Make the C++ tests run without SSE2 support. 2010-03-17 10:28:44 +00:00
test-assembler-mips.cc MIPS simple function calls 2010-03-23 15:04:45 +00:00
test-assembler-x64.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-ast.cc Fix broken test compilation. 2009-07-30 12:25:24 +00:00
test-circular-queue.cc Add multithreading test for SamplingCircularQueue, fix implementation. 2010-03-22 14:23:45 +00:00
test-compiler.cc - Remove function boilerplate objects and use SharedFunctionInfos in 2010-03-23 06:04:44 +00:00
test-conversions.cc StringToDouble rewritten not using String::Get and memory allocations. 2010-03-25 14:39:39 +00:00
test-cpu-profiler.cc CPU profiler: add secure profiles by filtering out functions using security tokens. 2010-05-18 14:19:33 +00:00
test-dataflow.cc Fix BitVector test failure. 2010-03-10 08:31:25 +00:00
test-debug.cc Inlined load of string.length and array.length. 2010-05-06 10:50:22 +00:00
test-decls.cc Fix errors in test-heap.cc and test-decls.cc. Adjust cctest.status. 2009-08-18 12:43:36 +00:00
test-disasm-arm.cc Add support for bkpt instruction 2010-04-08 13:30:48 +00:00
test-disasm-ia32.cc Use direct loop when filling small arrays. 2010-05-17 14:14:34 +00:00
test-diy-fp.cc Rename files containing underscores. 2010-03-19 12:15:24 +00:00
test-double.cc Rename files containing underscores. 2010-03-19 12:15:24 +00:00
test-fast-dtoa.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
test-fixed-dtoa.cc Dtoa for fixed notation. 2010-05-05 13:51:27 +00:00
test-flags.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-func-name-inference.cc - Remove function boilerplate objects and use SharedFunctionInfos in 2010-03-23 06:04:44 +00:00
test-hashmap.cc Make the hash map test run faster by doing less work. 2009-05-15 13:49:00 +00:00
test-heap-profiler.cc Added zone-inl.h to test-heap-profiler to fix test build failure after header file refactoring in revision 4058. 2010-03-09 08:25:22 +00:00
test-heap.cc Fix bugs introduced by r4475: 2010-04-22 16:43:38 +00:00
test-list.cc Remove list copy constructor (for which there was no corresponding 2009-05-22 11:52:24 +00:00
test-liveedit.cc Rename Compare -> Comparator to resolve name conflict in v8::internal 2010-04-27 21:20:02 +00:00
test-lock.cc Added a wait with timeout to the platform semaphore class. 2009-03-18 09:04:24 +00:00
test-log-stack-tracer.cc CPU profiler: add secure profiles by filtering out functions using security tokens. 2010-05-18 14:19:33 +00:00
test-log-utils.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-log.cc C++ profiles processor: wire up to VM. 2010-04-06 10:36:38 +00:00
test-macro-assembler-x64.cc Correct bug with left shift on X64 platform from change 4571 (http://code.google.com/p/v8/source/detail?r=4571). Speed up left shift with a constant left hand side on X64 platform. Add unit test for this bug. Remove unused failure target argument from MacroAssembler::SmiShiftLeft and MacroAssembler::SmiShiftLeftConstant. 2010-05-06 08:15:15 +00:00
test-mark-compact.cc A simple test for map compact. 2010-01-19 16:34:37 +00:00
test-mips.cc MIPS simple function calls 2010-03-23 15:04:45 +00:00
test-parsing.cc Fix warnings on Win64. 2009-11-11 09:50:06 +00:00
test-platform-linux.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-macos.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-nullos.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-platform-win32.cc Changed copyright header from google inc. to v8 project authors. 2008-09-09 20:08:45 +00:00
test-profile-generator.cc CPU profiler: add secure profiles by filtering out functions using security tokens. 2010-05-18 14:19:33 +00:00
test-regexp.cc Make not sucking at regexp the default 2010-04-19 19:30:11 +00:00
test-serialize.cc Changing string length field type from int to SMI. It will make it be a regular field. Code generated in EmitNamedLoad could be patched for faster access to string.length. 2010-05-04 14:49:50 +00:00
test-sockets.cc Fixed some cctest flakiness on mac. 2009-09-25 10:36:00 +00:00
test-spaces.cc Put empty pages discovered during sweeping to the end of the list of pages 2010-04-22 14:42:21 +00:00
test-strings.cc Expose a hint which communicates that string might be written many times. 2010-04-13 17:00:33 +00:00
test-thread-termination.cc Add IsExecutionTerminating api method. 2010-03-04 12:13:04 +00:00
test-threads.cc Clean JS function results cache on each major GC. 2010-05-04 16:42:11 +00:00
test-utils.cc Kill some unused code. 2010-02-18 12:47:17 +00:00
test-version.cc Split nested namespaces declaration in two lines in accordance with C++ Style Guide. 2009-05-25 10:05:56 +00:00
testcfg.py Add verification flags to debug mjsunit test runs. 2009-09-02 12:40:00 +00:00