PolyHook
PolyHook copied to clipboard
Example of hook variadic function.
Hi,
I am wondering how to hook variadic function. For example int printf(char const* const format, ...)
in the standard library or VALUE rb_funcall(VALUE, ID, int, ...)
in the ruby c api.
There is no such examples in the test.
Is it even possible to do this?
Thanks, Han