bug report, [1.2.10-85]

3 views
Skip to first unread message

yakovenko

unread,
Nov 11, 2010, 7:28:59 AM11/11/10
to pefile
Hello guys,

I've found bug in new version. Function get_memory_mapped_image raises
exception.
Small example:
>>> import pefile
>>> pe = pefile.PE( YOUR_FILENAME , fast_load=True)
>>> pe.get_memory_mapped_image()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-x86_64/egg/pefile.py", line 3474, in
get_memory_mapped_image
TypeError: cannot concatenate 'str' and 'mmap.mmap' objects

Best regards,
Kirill Yakovenko

Ero Carrera

unread,
Nov 11, 2010, 7:36:11 AM11/11/10
to pef...@googlegroups.com

Hi there,

I think it might have been fixed in the recently released 1.2.10-89. Could you try with that version?

cheers,
--
ero

> --
> You received this message because you are subscribed to the Google Groups "pefile" group.
> To post to this group, send email to pef...@googlegroups.com.
> To unsubscribe from this group, send email to pefile+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pefile?hl=en.
>

yakovenko

unread,
Nov 12, 2010, 2:53:22 AM11/12/10
to pefile
Yes, it works, thanks.
Reply all
Reply to author
Forward
0 new messages