Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4813)

Issue 6587048: code review 6587048: debug/pe: support PE files which contain no symbol tabl... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by u
Modified:
11 years, 2 months ago
Reviewers:
CC:
golang-dev, brainman, dave_cheney.net, minux1
Visibility:
Public.

Description

debug/pe: support PE files which contain no symbol table (if NumberOfSymbols is equal to 0 in the IMAGE_FILE_HEADER structure). No longer assume that e_lfanew (in the IMAGE_DOS_HEADER strcuture) is always one byte. It is now regarded as a 4 byte uint32. Fixes issue 4177.

Patch Set 1 #

Patch Set 2 : diff -r d1beb5cd107e https://code.google.com/p/go #

Patch Set 3 : diff -r d1beb5cd107e https://code.google.com/p/go #

Total comments: 2

Patch Set 4 : diff -r 03190651924e https://code.google.com/p/go #

Patch Set 5 : diff -r 53a8e1ce580e https://code.google.com/p/go #

Patch Set 6 : diff -r 3d637cc9dff0 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -37 lines) Patch
M src/pkg/debug/pe/file.go View 1 2 3 2 chunks +41 lines, -37 lines 0 comments Download

Messages

Total messages: 14
u
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 6 months ago (2012-09-30 20:15:18 UTC) #1
brainman
Test would be nice. In http://code.google.com/p/go/issues/detail?id=4177 you say, that "... Notepad.exe contains no symbol table ...
11 years, 6 months ago (2012-10-01 02:21:30 UTC) #2
u
Hello golang-dev@googlegroups.com, alex.brainman@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 6 months ago (2012-10-01 08:04:25 UTC) #3
brainman
On 2012/10/01 08:04:25, u wrote: > ... > Please take another look. You didn't create ...
11 years, 6 months ago (2012-10-02 02:41:09 UTC) #4
u
Hello golang-dev@googlegroups.com, alex.brainman@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 6 months ago (2012-10-02 06:27:32 UTC) #5
u
Thank you Alex for helping me with this CL. Added the test file cl-386-exec which ...
11 years, 6 months ago (2012-10-02 06:29:31 UTC) #6
brainman
LGTM But I am concerned about cl-386-exec file - its size and the fact that ...
11 years, 6 months ago (2012-10-02 23:55:56 UTC) #7
dave_cheney.net
-1 to additional binaries in the source repo, I can already see the bug reports ...
11 years, 6 months ago (2012-10-02 23:57:48 UTC) #8
brainman
On 2012/10/02 23:57:48, dfc wrote: > -1 to additional binaries in the source repo, I ...
11 years, 6 months ago (2012-10-03 00:08:36 UTC) #9
u
On 2012/10/03 00:08:36, brainman wrote: > On 2012/10/02 23:57:48, dfc wrote: > > -1 to ...
11 years, 6 months ago (2012-10-03 08:21:44 UTC) #10
u
Hello golang-dev@googlegroups.com, alex.brainman@gmail.com, dave@cheney.net (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 6 months ago (2012-10-03 08:41:08 UTC) #11
minux1
can we build the symbol table-less binary with gcc or just copy and strip (or ...
11 years, 6 months ago (2012-10-03 13:32:03 UTC) #12
brainman
On 2012/10/03 08:21:44, u wrote: > > ... I don't think that using Notepad.exe is ...
11 years, 6 months ago (2012-10-04 00:18:19 UTC) #13
brainman
11 years, 6 months ago (2012-10-09 00:15:59 UTC) #14
*** Submitted as http://code.google.com/p/go/source/detail?r=5a8c4552dd85 ***

debug/pe: support PE files which contain no symbol table (if NumberOfSymbols is
equal to 0 in the IMAGE_FILE_HEADER structure).

No longer assume that e_lfanew (in the IMAGE_DOS_HEADER strcuture) is always one
byte. It is now regarded as a 4 byte uint32.

Fixes issue 4177.

R=golang-dev, alex.brainman, dave, minux.ma
CC=golang-dev
http://codereview.appspot.com/6587048

Committer: Alex Brainman <alex.brainman@gmail.com>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b