4 ms·
Tangentially related but in gcc and clang you can jump to or call machine language embedded within string literals. https://stackoverflow.com/questions/4859373
by basementcat 7y ago
Tangentially related but in gcc and clang you can jump to or call machine language embedded within string literals.
https://stackoverflow.com/questions/48593734/calling-goto-on-a-wide-char-string-in-c-gcc/49063073#49063073 https://stackoverflow.com/questions/48593734/calling-goto-on...
https://codegolf.stackexchange.com/questions/2203/tips-for-golfing-in-c/104999#104999 https://codegolf.stackexchange.com/questions/2203/tips-for-g...
This is not recommended for anything in production but is an amusing parlor trick.
Edit: Recent toolchains may require the -zexecstack flag to avoid a segfault.