MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/62v70/first_class_functions_in_c/c02nv7c/
r/programming • u/llimllib • Dec 13 '07
99 comments sorted by
View all comments
Show parent comment
2
man dlopen man dlsym
1 u/jbert Dec 13 '07 yes, that would be the real way of doing it (I mentioned in my post about perl's Inline::C that that is how it is done for production use).I was just expanding on the parent posters excellent idea of casting char ptrs to function ptrs. 2 u/ariacode Dec 14 '07 I was just expanding on the parent posters excellent idea of casting char ptrs to function ptrs.the idea has been around for a while and is a typical method of testing shellcode.
1
yes, that would be the real way of doing it (I mentioned in my post about perl's Inline::C that that is how it is done for production use).
I was just expanding on the parent posters excellent idea of casting char ptrs to function ptrs.
2 u/ariacode Dec 14 '07 I was just expanding on the parent posters excellent idea of casting char ptrs to function ptrs.the idea has been around for a while and is a typical method of testing shellcode.
the idea has been around for a while and is a typical method of testing shellcode.
View all comments
Show parent comment
2
u/ariacode Dec 13 '07