allewwaly / pdbparse

Automatically exported from code.google.com/p/pdbparse
1 stars 0 forks source link

Tool dosn't handle pdb file #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
./print_ctypes.py /tmp/3/sy55gkj5l0gk4/BUGSLAYERUTIL.PDB

What is the expected output? What do you see instead?
================================================================================
Debugging exception of Struct('type'):
  File "/usr/lib/python2.5/site-packages/construct/debug.py", line 111, in
_parse
    return self.subcon._parse(stream, context)
  File "/usr/lib/python2.5/site-packages/construct/core.py", line 522, in
_parse
    subobj = sc._parse(stream, context)
  File "/usr/lib/python2.5/site-packages/construct/core.py", line 700, in
_parse
    obj = self.cases.get(key, self.default)._parse(stream, context)
  File "/usr/lib/python2.5/site-packages/construct/core.py", line 522, in
_parse
    subobj = sc._parse(stream, context)
  File "/usr/lib/python2.5/site-packages/construct/core.py", line 996, in
_parse
    stream2.close()
  File "/usr/lib/python2.5/site-packages/construct/lib/bitstream.py", line
13, in close
    self.total_size)
ValueError: ('total size of read data must be a multiple of 8', 28)

(you can set the value of 'self.retval', which will be returned)
> /usr/lib/python2.5/site-packages/construct/lib/bitstream.py(13)close()
-> self.total_size)
(Pdb)

What version of the product are you using? On what operating system?
Last version on linux.

Please provide any additional information below.

Original issue reported on code.google.com by yaroslav...@gmail.com on 20 Mar 2010 at 4:10

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by moo...@gmail.com on 19 Aug 2010 at 12:26

GoogleCodeExporter commented 9 years ago
It looks like the handling for LF_VTSHAPE entries is broken. I'll see if I can 
figure out what's going on and fix it.

Original comment by moo...@gmail.com on 14 Mar 2012 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by moo...@gmail.com on 14 Mar 2012 at 9:11

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r86.

Original comment by moo...@gmail.com on 15 Mar 2012 at 12:40