K
Keith Briggs
How can I trap library calls, say to puts, and get them to call a puts
function I write, which then performs some special action before calling the
real puts from libc?
I tried all kinds of special linker options, but it seems that when my puts
calls the real puts, it actually calls itself and gets into an infinite
loop. Is this kind of thing possible with the standard gcc and GNU ld
tools?
Thanks, Keith
function I write, which then performs some special action before calling the
real puts from libc?
I tried all kinds of special linker options, but it seems that when my puts
calls the real puts, it actually calls itself and gets into an infinite
loop. Is this kind of thing possible with the standard gcc and GNU ld
tools?
Thanks, Keith