Re: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ?

2008-05-20 Thread guy keren
Gilad Ben-Yossef wrote: guy keren wrote: when you can use valgrind - most other things are pretty useless. did you encounter a memory-handling bug that valgrind failed to catch, while another tool (such as libsafe) did catch? note: i never used libsafe, so i might be missing something - i

Re: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ?

2008-05-20 Thread Gilad Ben-Yossef
Hi Guy, guy keren wrote: AFAIK Valgrind does not detect neither stack nor static buffer overflows at all. [EMAIL PROTECTED]:~$ cat c2.c #include stdio.h void f(char* p_i ) { char i[1024]; f(i); } int main() { f((char*)NULL); return 0; } [EMAIL PROTECTED]:~$ gcc -Wall

Re: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ?

2008-05-19 Thread Gilad Ben-Yossef
guy keren wrote: when you can use valgrind - most other things are pretty useless. did you encounter a memory-handling bug that valgrind failed to catch, while another tool (such as libsafe) did catch? note: i never used libsafe, so i might be missing something - i simply compared

Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ?

2008-05-18 Thread Lev Olshvang
Hi people, I am fighting with stack corruption problem in my appilcation I wanted to use libsafe , but debian/ubuntu packages are not accessible, so I built libsafe manually from source tar distribution And now, I see from trace ouput that altough my calls are indeed intercepted in preloaded

Re: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ?

2008-05-18 Thread Valery Reznic
You can try to use valgrind. Valery --- On Sun, 5/18/08, Lev Olshvang [EMAIL PROTECTED] wrote: From: Lev Olshvang [EMAIL PROTECTED] Subject: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ? To: linux-il linux-il@cs.huji.ac.il Date: Sunday, May 18, 2008

Re: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ?

2008-05-18 Thread Lev Olshvang
wrote: You can try to use valgrind. Valery --- On Sun, 5/18/08, Lev Olshvang [EMAIL PROTECTED] wrote: From: Lev Olshvang [EMAIL PROTECTED] Subject: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ? To: linux-il linux-il@cs.huji.ac.il Date: Sunday, May 18

Re: Corrupted stack - Why Ubuntu 7.10 does not have libsafe; does not show errors in ?

2008-05-18 Thread guy keren
- Why Ubuntu 7.10 does not have libsafe; does not show errors in ? To: linux-il linux-il@cs.huji.ac.il Date: Sunday, May 18, 2008, 4:47 PM Hi people, I am fighting with stack corruption problem in my appilcation I wanted to use libsafe , but debian/ubuntu packages are not accessible, so I built