How can I extract an array from an executable file?

Posted by bstpierre on Stack Overflow See other posts from Stack Overflow or by bstpierre
Published on 2010-04-27T14:43:52Z Indexed on 2010/04/27 18:23 UTC
Read the original article Hit count: 191

Filed under:
|
|

I want to do the inverse of this question.

I am embedding a file into an executable as an array, and I would later like to extract the embedded file from the executable.

It seems like objcopy might be useful here but I haven't figured out the proper incantation yet.

(Edit: clarify question, I somehow removed the crux of it in editing originally...)

© Stack Overflow or respective owner

Related posts about objcopy

Related posts about c