Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Issue 12600034: Provide metadata to validator to allow faster caching. (Closed)

Created:
7 years, 9 months ago by Nick Bray (chromium)
Modified:
7 years, 8 months ago
Reviewers:
bsy, bsy_cr, sehr, Sam Clegg, JF
CC:
native-client-reviews_googlegroups.com, noelallen1
Visibility:
Public.

Description

Provide metadata to validator to allow faster caching. This change allows hashless validation caching for the IRT. BUG= http://code.google.com/p/chromium/issues/detail?id=224434 Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=11112

Patch Set 1 #

Patch Set 2 : Edits #

Patch Set 3 : Details #

Patch Set 4 : Windows fix #

Patch Set 5 : Windows fix 2 #

Patch Set 6 : Windows, again #

Total comments: 2

Patch Set 7 : First fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -32 lines) Patch
M site_scons/site_tools/library_deps.py View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M src/tools/validator_tools/ncstubout.c View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M src/trusted/service_runtime/elf_util.h View 2 chunks +6 lines, -3 lines 0 comments Download
M src/trusted/service_runtime/elf_util.c View 1 2 3 4 5 6 3 chunks +10 lines, -4 lines 0 comments Download
M src/trusted/service_runtime/nacl_text.h View 2 chunks +8 lines, -4 lines 0 comments Download
M src/trusted/service_runtime/nacl_text.c View 1 3 chunks +5 lines, -3 lines 0 comments Download
M src/trusted/service_runtime/sel_ldr.h View 3 chunks +7 lines, -3 lines 0 comments Download
M src/trusted/service_runtime/sel_ldr.c View 1 chunk +1 line, -1 line 0 comments Download
M src/trusted/service_runtime/sel_ldr_standard.c View 2 chunks +5 lines, -3 lines 0 comments Download
M src/trusted/service_runtime/sel_main.c View 1 chunk +2 lines, -1 line 0 comments Download
M src/trusted/service_runtime/sel_main_chrome.c View 1 2 3 4 5 6 4 chunks +32 lines, -1 line 0 comments Download
M src/trusted/service_runtime/sel_validate_image.c View 6 chunks +8 lines, -2 lines 0 comments Download
M src/trusted/validator/build.scons View 1 chunk +2 lines, -0 lines 0 comments Download
M src/trusted/validator/ncvalidate.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/trusted/validator/validation_cache.h View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
A src/trusted/validator/validation_cache.c View 1 2 3 4 5 6 1 chunk +54 lines, -0 lines 0 comments Download
M src/trusted/validator/validation_cache_test.cc View 9 chunks +25 lines, -2 lines 0 comments Download
A src/trusted/validator/validation_metadata.h View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
M src/trusted/validator/validator.gyp View 1 2 chunks +23 lines, -0 lines 1 comment Download
M src/trusted/validator/x86/32/ncvalidate.c View 2 chunks +2 lines, -1 line 0 comments Download
M src/trusted/validator/x86/64/ncvalidate.c View 2 chunks +2 lines, -1 line 0 comments Download
M src/trusted/validator/x86/validate_x86.gyp View 3 chunks +3 lines, -0 lines 0 comments Download
M src/trusted/validator_arm/ncvalidate.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/trusted/validator_mips/ncvalidate.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/trusted/validator_ragel/dfa_validate_32.c View 1 chunk +2 lines, -0 lines 0 comments Download
M src/trusted/validator_ragel/dfa_validate_64.c View 1 chunk +2 lines, -0 lines 0 comments Download
M src/trusted/validator_x86/ncenuminsts_x86_32.c View 1 chunk +1 line, -1 line 0 comments Download
M src/trusted/validator_x86/ncenuminsts_x86_64.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Nick Bray (chromium)
7 years, 9 months ago (2013-03-27 21:24:01 UTC) #1
bsy
comments so far. https://codereview.chromium.org/12600034/diff/55004/src/trusted/service_runtime/elf_util.c File src/trusted/service_runtime/elf_util.c (right): https://codereview.chromium.org/12600034/diff/55004/src/trusted/service_runtime/elf_util.c#newcode684 src/trusted/service_runtime/elf_util.c:684: if (metadata) { NULL != metadata ...
7 years, 9 months ago (2013-03-28 00:11:49 UTC) #2
bsy
lgtm. thx!
7 years, 8 months ago (2013-03-31 22:04:47 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/ncbray@chromium.org/12600034/100001
7 years, 8 months ago (2013-04-01 21:06:48 UTC) #4
commit-bot: I haz the power
Presubmit check for 12600034-100001 failed and returned exit status 1. INFO:root:Found 28 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-01 21:07:13 UTC) #5
Nick Bray (chromium)
Adding OWNERS for validator_arm - need rubber stamp, change only affects the validator interface, not ...
7 years, 8 months ago (2013-04-01 21:09:52 UTC) #6
JF
ARM change lgtm, I didn't look at the rest.
7 years, 8 months ago (2013-04-01 21:16:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/ncbray@chromium.org/12600034/100001
7 years, 8 months ago (2013-04-01 21:19:06 UTC) #8
commit-bot: I haz the power
Change committed as 11112
7 years, 8 months ago (2013-04-01 23:34:37 UTC) #9
Sam Clegg
7 years, 8 months ago (2013-04-03 16:27:06 UTC) #10
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/12600034/diff/100001/src/trusted/valid...
File src/trusted/validator/validator.gyp (right):

https://chromiumcodereview.appspot.com/12600034/diff/100001/src/trusted/valid...
src/trusted/validator/validator.gyp:68: },
I think this change breaks the chrome win64 build:

http://build.chromium.org/p/tryserver.chromium/builders/win_x64_rel/builds/6421

I was trying to roll deps and ran into this issue.

It seems that the platform64 target only exists on ia32.  I think this whole
block (all the 64 targets) should now be
conditional on ia32.

Is that the correct fix here noel?

Powered by Google App Engine
This is Rietveld 408576698