C late binding with unknown arguments

可紊 提交于 2019-11-28 02:17:56
Steve Summit

This is a hard problem without, unfortunately, good or easy answers.

See this former SO question: Run-time parameters in gcc (inverse va_args/varargs)

See this C FAQ question: http://c-faq.com/varargs/invvarargs.html

See this collection of "wacky ideas" by the C FAQ list maintainer: http://c-faq.com/varargs/wacky.html


Addendum: see this former SO question: How to call functions by their pointers passing multiple arguments in C?

...which mentions "libffi": http://sourceware.org/libffi/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!