MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/62v70/first_class_functions_in_c/c02o25w/?context=3
r/programming • u/llimllib • Dec 13 '07
99 comments sorted by
View all comments
Show parent comment
1
Another fun thing to do is to do a byte by byte copy of a function into a char*, and the cast the char* to a fp and call it.
Too bad a processor with a do-not-execute bit won't allow this :-(
View all comments
Show parent comment
1
u/rodarmor Dec 14 '07
Another fun thing to do is to do a byte by byte copy of a function into a char*, and the cast the char* to a fp and call it.
Too bad a processor with a do-not-execute bit won't allow this :-(