static const char function[] = { 0xB8, 0x2A, 0x00, 0x00, 0x00, 0xC3 }; int main() { return ((int(*)())function)(); } // Does not crash!
-
-
You would love this one: const int main = 195 ; or this even better 1984 IOCCC entry for PDP-11: https://stackoverflow.com/questions/32851184/how-can-a-program-with-a-global-variable-called-main-instead-of-a-main-function/32851722#comment79576240_32851722 …pic.twitter.com/KI0jCz1VqL
-
If you like that try Phrack #57, http://phrack.org/issues/57/14.html#article … . Binary code running on 4 platforms without any change.
- Još 1 odgovor
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.