问题
I'm attempting to write a function that is called at the end of a recursive invocation of foo()
. This function will access the stack frame to display all passed arguments into foo()
at the time of each invocation. I am totally confused as to how I can access the stack frame in this manner. Appreciate any insights on the matter, thank you!
来源:https://stackoverflow.com/questions/33663546/how-to-access-multiple-instances-of-stack-frame-in-c