Created
February 1, 2017 02:37
-
-
Save lovasko/ae085678eda7d5aa1b1c24d59e3aa2a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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