Hello Dilyan,

> why doesn't nm report printf? 

gcc optimizes special cases of printf, such as "%s" and "%s\n".

> Any ideas what could be wrong

No... The next things to try is to print the result of strstr using "%p",
or inspect it in a debugger. After that, single-stepping the strstr function
in the debugger would be next.

Bruno

Reply via email to