Skip to content

Instantly share code, notes, and snippets.

@lovasko
Created February 1, 2017 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lovasko/ae085678eda7d5aa1b1c24d59e3aa2a2 to your computer and use it in GitHub Desktop.
Save lovasko/ae085678eda7d5aa1b1c24d59e3aa2a2 to your computer and use it in GitHub Desktop.
import Codec.ELF
main :: IO ()
main = B.writeFile "hello_world" (E.write result)
where
result = Elf header program
header = ElfHeader stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment