Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions