https://github.com/davidbuchanan314/magic-helloworld
A program that prints "Hello World!" by magic, with a single memcpy.
https://github.com/davidbuchanan314/magic-helloworld
Last synced: 2 months ago
JSON representation
A program that prints "Hello World!" by magic, with a single memcpy.
- Host: GitHub
- URL: https://github.com/davidbuchanan314/magic-helloworld
- Owner: DavidBuchanan314
- License: mit
- Created: 2016-05-21T17:34:54.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-21T18:19:59.000Z (almost 9 years ago)
- Last Synced: 2025-02-12T20:48:29.719Z (2 months ago)
- Language: C
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# magic-helloworld
A program that prints "Hello World!" by magic, with a single memcpy.I've only tested this with `gcc (GCC) 6.1.1 20160501`, so it probably won't work with anything else. If you don't have that exact version of GCC, you can just run the included binary.
Compile with `gcc -m32 magic.c -o magic`
The explanation of how it works is left as an exercise for the reader.