Embedding a File in an Executable, aka Hello World, Version 5967

  2008-06-13 05:30:02
I recently had the need to embed a file in an executable. Since I'm working at the command line with gcc, et al and not with a fancy RAD tool that makes it all happen magically it wasn't immediately obvious to me how to make this happen. A bit of searching on the net found a hack to essentially cat it onto the end of the executable and then decipher where it was based on a bunch of information I didn't want to know about. Seemed like there ought to be a better way... 
  PNG Image  PNG Image  PNG Image
  Related tags  


This particular article has been collected via RSS syndication. We apologize if it's too brief.
If You wish to publish articles on LinuxStreet.net please contact us.


  Similar articles found on LinuxStreet  
ImagePractical Steganography Part-1: Hiding information in Binary Executable File
ImageExamining the compilation process. part 2.
ImageQuickly move an executable between systems with ELF Statifier
ImageHow To Create A Bash Install Script
ImageThe world does not need a"conversion nightmare": a standard office file format a ...
ImageReal World Benchmarks Of The EXT4 File-System
ImageA new way of sleeping in the Linux kernel
ImageKrusader - Advanced Twinpanel File Manager in openSUSE
ImageSIL Open Font License revised
ImageKorn -- an extended shell

Leave a comment on this article


Captcha

  
Check this if the code you see is not readable and resubmit the form.
(Data you entered will be preserved)



  

Comments (0)