debug/pe: support PE files which contain no symbol table (if NumberOfSymbols is equal to 0 in the IMAGE_FILE_HEADER structure).
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 <54ba58c8441b5eff861de6b4e5ee46baf086b142@gmail.com>

dsriram/golang,pombredanne/go-deleteme,pombredanne/go-deleteme,apparentlymart/golang,tv42/old-go,tv42/old-go,apparentlymart/golang,dsriram/golang,apparentlymart/golang,pombredanne/go-deleteme,apparentlymart/golang,gnanderson/go,apparentlymart/golang,gnanderson/go,tv42/old-go,pombredanne/go-deleteme,apparentlymart/golang,gnanderson/go,dsriram/golang,gnanderson/go,apparentlymart/golang,tv42/old-go,gnanderson/go,gnanderson/go,dsriram/golang,pombredanne/go-deleteme,pombredanne/go-deleteme,pombredanne/go-deleteme,tv42/old-go,dsriram/golang,gnanderson/go,dsriram/golang,tv42/old-go,tv42/old-go,dsriram/golang