Browsing All posts tagged under »blob«

Linking a binary blob with GCC

February 19, 2012

18

There’s a simple way to include binary data inside an executable, when using a GCC toolchain. The trick relies on using objcopy to transform the binary blob of data into an object file that can be linked. In this example I am creating a binary blob of 16 bytes of random data in file “blob.bin“: […]

Follow

Get every new post delivered to your Inbox.

Join 451 other followers