Possible Duplicate:
Tools to get a pictorial function call graph of code
I wrote a C++ function long time back in a dll (on windows) ... Some wrote api , calling my function using function pointers and some just called it ..
I want to know who all are callers(CODE PATHS) to my function . I want to analyze stack of every api calling into my function .
Is there a way i can do so easily . I mean when i look up callers (CODE PATHS) i would essentially have to manually do a lot of work because of function pointers in the way . So if there is any open source solution for the same , please share ..
i don't wish to use break points or write functions myself to show up stack . The reason is because t his is something like if a call path is hit , it would show up in my results .. but if a call path is NOT hit then what ? So I will know of a function X who calls into me only when function X is called ; but its not always the case