Re: Function calling

2006-04-05 Thread Nicolas Cormier
On 4/4/06, Lutz Boehne <[EMAIL PROTECTED]> wrote: > Hi, > > > But when the program uses the libc I have more RET than call ... > > What's the good way to find function calls and return ? > > I'm doing something similar at the moment, utilizing the Branch Single > Stepping feature available in most

Re: Function calling

2006-04-04 Thread Lutz Boehne
Hi, > But when the program uses the libc I have more RET than call ... > What's the good way to find function calls and return ? I'm doing something similar at the moment, utilizing the Branch Single Stepping feature available in most x86 CPUs and came across that same problem. While debugging t

Function calling

2006-04-04 Thread Nicolas Cormier
Hello. I'm writing a function tracer on freebsd to know which function the process passes inside. ex: nico > cat toto.c int foo4() { } int foo3() { } int foo2() { foo3(); } int foo1() { foo2(); } int main() { foo1(); foo4(); } nico > will print: 0x80484a8 (foo1)