Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File with virtual section table unparseable #50

Open
GoogleCodeExporter opened this issue Mar 31, 2015 · 1 comment
Open

File with virtual section table unparseable #50

GoogleCodeExporter opened this issue Mar 31, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Download testfile virtsectbl.exe from corkami or attachment
2. Execute the code pefile.PE("virtsectbl.exe", fast_load=True)

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

Expected: No exception. 
Instead:
Traceback (most recent call last):
  File "test.py", line 7, in <module>
    pe =  pefile.PE("virtsectbl.exe", fast_load=True)
  File "/usr/local/lib/python2.7/dist-packages/pefile.py", line 1667, in __init__
    self.__parse__(name, data, fast_load)
  File "/usr/local/lib/python2.7/dist-packages/pefile.py", line 1709, in __parse__
    stat = os.stat(fname)
OSError: [Errno 2] No such file or directory: 'virtsectbl.exe'


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

pefile 1.2.10-139
Ubuntu 14.04

Please provide any additional information below.

The section table of this file is in virtual space, which is probably causing 
the exception

Original issue reported on code.google.com by [email protected] on 14 Sep 2014 at 8:43

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 27 Oct 2014 at 3:34

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant