Contributing to project

32 views
Skip to first unread message

lumpyd

unread,
Jan 2, 2014, 1:44:38 PM1/2/14
to pef...@googlegroups.com
Hi,

Is it possible to allow me contributing code to your project?

There are few changes I would like to add:
1. Allow working from string buffers in addition to file-io (e.g. allow initializing a PE object from string and getting the modified result as a string and not through 'write' to io) - can be done easily

2. Enable section.write (e.g. rewriting section data, and fixing subsequent sections headers) 


Thanks

Ero Carrera

unread,
Jan 2, 2014, 2:12:27 PM1/2/14
to pef...@googlegroups.com
Hi,

Contributions are always welcome.

Regarding 1) I don't know what your exact needs may be but you can
have pefile take a string buffer by invoking it as:

pe = pefile.PE(data=your_buffer)

The pe.write() method will return a string if invoked without a
filename argument.

2) can be usually achieved via set_bytes_at_rva() and
set_bytes_at_offset(). If the RVA of the beginning of section is
provided, the given data will overwrite the section's contents. A more
convenient method may come handy, so feel free to implement it.
Something more elaborate, like automatically resizing and adjusting
all headers and resources (if necessary) is a bit trickier and would
be a great contribution!

Best regards,
--
Ero Carrera
> --
> You received this message because you are subscribed to the Google Groups
> "pefile" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pefile+un...@googlegroups.com.
> To post to this group, send email to pef...@googlegroups.com.
> Visit this group at http://groups.google.com/group/pefile.
> For more options, visit https://groups.google.com/groups/opt_out.

Maxim Braitmaiere

unread,
Oct 7, 2014, 1:07:41 AM10/7/14
to pef...@googlegroups.com
Hi,

I wanted to know  if there is any chance this project can be moved to github to allow more active contribution of features/fixes?

Thnx, Max

The information in this e-mail transmission contains proprietary and business sensitive information.  Unauthorized interception of this e-mail may constitute a violation of law. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. You are also asked to contact the sender by reply email and immediately destroy all copies of the original message.
Reply all
Reply to author
Forward
0 new messages