Does anybody know how variable arguments are passed in classic C? I did some debugging today and most regular arguments are passed via stack. However it seems that this does not apply for variable arguments. Are those parameters stored somewhere else like constant strings?
Thanks in advance!
They are very often passed on the stack. What you are looking for is ABI specifications for the platform you are using.
For the AMD64 platform, have a look for example here.