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

Issue 1662633002: [Courgette] Add ELF-ARM test binary. (Closed)

Created:
4 years, 10 months ago by huangs
Modified:
4 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Courgette] Add ELF-ARM test binary. Adding ELF ARM (v7) test binary that fails Courgette-dis. The binary has a non-code .bad section that if parsed, yields an invalid RVA that fails check latter. The commands to create the file are: echo -e 'int main(){return 0;}' | arm-linux-gnueabi-g++ -xc++ -march=armv7-a -mtune=generic-armv7-a - echo '00 20 00 0A 00 00 00 00' | xxd -r -p - bad_section arm-linux-gnueabihf-objcopy a.out elf-armv7 --add-section .bad=bad_section rm a.out bad_section The problematic code is 00000000: 00 20 00 0A => beq loc_00008008 The target RVA (00008008) is valid, but the site RVA (00000000) is bad. BUG=579206 NOPRESUBMIT=true Committed: https://crrev.com/5dd21d43c6da1cd24f80131811158fada2fc8610 Cr-Commit-Position: refs/heads/master@{#373162}

Patch Set 1 #

Patch Set 2 : chmod 750 #

Patch Set 3 : Retry from Linux. #

Patch Set 4 : Use git update-index --chmod=+x #

Patch Set 5 : Use git update-index --chmod=+x -- on Windows this time. #

Patch Set 6 : Sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -0 lines) Patch
A courgette/testdata/elf-armv7 View 1 2 Binary file 0 comments Download

Messages

Total messages: 44 (21 generated)
huangs
Test case for http://crrev.com/1658463002/. Keeping binary file by itself. Will add test code in the ...
4 years, 10 months ago (2016-02-02 21:06:45 UTC) #3
Will Harris
lgtm discussed offline reasons for separate commit. This can go in now, test will follow.
4 years, 10 months ago (2016-02-02 21:40:33 UTC) #5
huangs
Thanks, submitting! Will add the test and new fix tomorrow.
4 years, 10 months ago (2016-02-02 21:42:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1662633002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1662633002/1
4 years, 10 months ago (2016-02-02 21:48:27 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/141789)
4 years, 10 months ago (2016-02-02 22:05:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1662633002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1662633002/20001
4 years, 10 months ago (2016-02-02 22:31:35 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/141819)
4 years, 10 months ago (2016-02-02 22:49:44 UTC) #15
Will Harris
On 2016/02/02 22:49:44, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 10 months ago (2016-02-02 22:53:09 UTC) #17
huangs
Okay. I was using Windows, using Cygwin chmod. "git cl patch" on Linux machine failed ...
4 years, 10 months ago (2016-02-02 22:54:56 UTC) #19
Will Harris
On 2016/02/02 22:54:56, huangs wrote: > Okay. I was using Windows, using Cygwin chmod. "git ...
4 years, 10 months ago (2016-02-02 22:56:38 UTC) #22
huangs
Have problem uploading it from Linux; getting Issue creation errors: {'user': ["You (huangs@google.com) don't own ...
4 years, 10 months ago (2016-02-03 00:12:49 UTC) #23
huangs (corp)
Heh, got upload to work by digging into /depot_tools/third_party/upload.py: GetRpcServer() and pretend auth_config.use_oauth2 == false.
4 years, 10 months ago (2016-02-03 01:08:49 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1662633002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1662633002/40001
4 years, 10 months ago (2016-02-03 01:11:20 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/16525) android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, ...
4 years, 10 months ago (2016-02-03 01:24:20 UTC) #29
huangs
Going to use NOPRESUBMIT=true .
4 years, 10 months ago (2016-02-03 03:26:16 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1662633002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1662633002/80001
4 years, 10 months ago (2016-02-03 03:28:15 UTC) #34
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-03 03:51:14 UTC) #36
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/5dd21d43c6da1cd24f80131811158fada2fc8610 Cr-Commit-Position: refs/heads/master@{#373162}
4 years, 10 months ago (2016-02-03 03:52:39 UTC) #38
vabr (Chromium)
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1663033002/ by vabr@chromium.org. ...
4 years, 10 months ago (2016-02-03 10:26:19 UTC) #39
huangs
Thanks for reverting this. I think there's an infrastructure bug regarding EXE bit not being ...
4 years, 10 months ago (2016-02-03 15:32:35 UTC) #40
huangs
Filed http://crbug.com/583679 .
4 years, 10 months ago (2016-02-03 16:07:44 UTC) #41
huangs
Going to retry with "git cl land", this time from Linux.
4 years, 10 months ago (2016-02-03 21:42:07 UTC) #43
huangs
4 years, 10 months ago (2016-02-04 15:27:09 UTC) #44
That didn't work.  So wfh@ committed for me in http://crrev.com/1661723004/ . 
Closing issue.

Powered by Google App Engine
This is Rietveld 408576698