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>

bryanxu/go-zh,scirelli/scirelli-go,d0f/go-zh,mhennings/marcohennings-go,rflanagan/reginaldflanagan-project1,webfd/go-zh,mhennings/marcohennings-go,bryanxu/go-zh,rflanagan/reginaldflanagan-project1,scirelli/scirelli-go,rflanagan/reginaldflanagan-project1,rflanagan/reginaldflanagan-project1,mhennings/marcohennings-go,bryanxu/go-zh,mhennings/marcohennings-go,webfd/go-zh,d0f/go-zh,scirelli/scirelli-go,sanjosh/sanjos100-tipc,scirelli/scirelli-go,sanjosh/sanjos100-tipc,webfd/go-zh,rdp/rogerpack2005-golang,d0f/go-zh,scirelli/scirelli-go,rflanagan/reginaldflanagan-project1,d0f/go-zh,d0f/go-zh,mhennings/marcohennings-go,rdp/rogerpack2005-golang,webfd/go-zh,bryanxu/go-zh,webfd/go-zh,rdp/rogerpack2005-golang,bryanxu/go-zh,rdp/rogerpack2005-golang,rflanagan/reginaldflanagan-project1,sanjosh/sanjos100-tipc,rdp/rogerpack2005-golang,glycerine/jeaten-go-arrayof-structof,glycerine/jeaten-go-arrayof-structof,mhennings/marcohennings-go,bryanxu/go-zh,glycerine/jeaten-go-arrayof-structof,glycerine/jeaten-go-arrayof-structof,webfd/go-zh,sanjosh/sanjos100-tipc,bryanxu/go-zh,mhennings/marcohennings-go,scirelli/scirelli-go,bryanxu/go-zh,d0f/go-zh,rflanagan/reginaldflanagan-project1,sanjosh/sanjos100-tipc,glycerine/jeaten-go-arrayof-structof,webfd/go-zh,sanjosh/sanjos100-tipc,rdp/rogerpack2005-golang,d0f/go-zh,rdp/rogerpack2005-golang,sanjosh/sanjos100-tipc,sanjosh/sanjos100-tipc,scirelli/scirelli-go,mhennings/marcohennings-go,scirelli/scirelli-go,rdp/rogerpack2005-golang,d0f/go-zh,rflanagan/reginaldflanagan-project1,glycerine/jeaten-go-arrayof-structof,webfd/go-zh,glycerine/jeaten-go-arrayof-structof,glycerine/jeaten-go-arrayof-structof