stevemk14ebr / PolyHook

x86/x64 C++ Hooking Library
MIT License
886 stars 172 forks source link

Example of hook variadic function. #33

Open saedrna opened 3 years ago

saedrna commented 3 years ago

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