Skip to content

Backtrace parsing exports of a DLL #60

@GoogleCodeExporter

Description

@GoogleCodeExporter
When using pefile through peframe I get the following backtrace:

$ peframe.py --export tmp/module.1136.9c90da0.2df0000.dll 
Traceback (most recent call last):
  File "/usr/local/bin/peframe.py", line 380, in <module>
    show_exported_functions(filename); sys.exit(0)
  File "/usr/local/bin/peframe.py", line 193, in show_exported_functions
    exported = pecore.get_exported_functions(filename)
  File "/usr/local/bin/modules/pecore.py", line 405, in get_exported_functions
    for exp in pe.DIRECTORY_ENTRY_EXPORT.symbols:
AttributeError: PE instance has no attribute 'DIRECTORY_ENTRY_EXPORT'

---

For reference, LordPE can parse the export table of this DLL. I can provide the 
DLL if needed. 

System info:

$ python -V
Python 2.7.3

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.2 LTS
Release:    12.04
Codename:   precise


Original issue reported on code.google.com by [email protected] on 11 Dec 2014 at 7:55

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions