|
Ensure that executable pages are properly guarded.
Split executable memory chunks into two pieces: header with all metadata (protection: RW) and body (protection: RWX). Separate header from metadata with a guard page and add a guard page after the page body.
R=erik.corry@gmail.com
BUG=http://crbug.com/115151
Committed: https://code.google.com/p/v8/source/detail?r=10809
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+412 lines, -202 lines) |
Patch |
|
M |
src/deoptimizer.cc
|
View
|
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/heap.h
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
|
22 chunks |
+30 lines, -28 lines |
0 comments
|
Download
|
|
M |
src/heap-inl.h
|
View
|
|
4 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/mark-compact.cc
|
View
|
|
19 chunks |
+62 lines, -48 lines |
1 comment
|
Download
|
|
M |
src/objects-visiting.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/platform.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-cygwin.cc
|
View
|
|
1 chunk |
+11 lines, -0 lines |
1 comment
|
Download
|
|
M |
src/platform-freebsd.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
1 comment
|
Download
|
|
M |
src/platform-linux.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-macos.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-nullos.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-openbsd.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-solaris.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/platform-win32.cc
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/serialize.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/serialize.cc
|
View
|
|
3 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/spaces.h
|
View
|
|
21 chunks |
+61 lines, -44 lines |
0 comments
|
Download
|
|
M |
src/spaces.cc
|
View
|
|
29 chunks |
+143 lines, -35 lines |
0 comments
|
Download
|
|
M |
src/spaces-inl.h
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/store-buffer.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-alloc.cc
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-heap.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-mark-compact.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-serialize.cc
|
View
|
|
6 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-spaces.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|