Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Little project to use a bunch of bytes concatenated to the executable.

Notifications You must be signed in to change notification settings

cirelli94/include_big_bytes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Why

This is a little project to use a bunch of bytes concatenated to the executable, because using include_bytes failed to compile with a file of ~1GB on my machine.

How-to

  • Compile
  • Get program and data size with stat in bytes: stat -c "%s %n" file
  • Concatenate your data to the program: cat data >> program
  • Add this info to the bottom of your program, that will use it: echo "FOOTER;program_size;data_size" >> program

About

Little project to use a bunch of bytes concatenated to the executable.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages