rajeshgangam / pydevtools

Automatically exported from code.google.com/p/pydevtools
Other
0 stars 0 forks source link

devtools.elf.exception.ParseError: The required index is out of the table: (0x1052) +232 (max=208) #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

>>> elf = ELF('./shared.so')

>>> for f in range(0, elf.sect_dict['.text'].symbols.__len__()):
...     print elf.sect_dict['.text'].symbols[f].name
... 

sh
.dyn
tors
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "build/bdist.linux-i686/egg/devtools/elf/structs.py", line 137, in name
  File "build/bdist.linux-i686/egg/devtools/elf/structs.py", line 161, in __getitem__
devtools.elf.exception.ParseError: The required index is out of the table: 
(0x1052) +232 (max=208)

>>> for f in range(0, elf.sect_dict['.text'].symbols.__len__()):
...     print elf.sect_dict['.text'].symbols[f].name_index
... 
0
53
104
155
232

What is the expected output? What do you see instead?

Ths symbol list

What version of the product are you using? On what operating system?

Python 2.6 , Linux 2.6.X , i386.

Original issue reported on code.google.com by niedbalski on 14 Oct 2010 at 8:34

GoogleCodeExporter commented 8 years ago
If you need any additional debug information. please tell me.

Original comment by niedbalski on 14 Oct 2010 at 8:47

GoogleCodeExporter commented 8 years ago
Pretty old issue, so might be fixed already. In case you still have the failing 
object file, please try with the latest version. In case it fails, attach the 
problematic object file if possible.

Original comment by stefan.h...@gmail.com on 21 Jan 2012 at 7:34