Overriding the GNU C Library

What do you do if you don’t have the source for your application and it’s failing because a GNU Library for C (glibc) function is returning something bad to the application? Override the function of interest with your own version. This can be done without having root permissions and without recompiling the libc source. Imagine the thrill of writing your own version of open()! The article contains sample code.

11 Comments

  1. 2002-06-14 11:47 pm
  2. 2002-06-15 12:07 am
  3. 2002-06-15 1:35 am
  4. 2002-06-15 8:00 am
  5. 2002-06-15 9:56 am
  6. 2002-06-15 9:15 pm
  7. 2002-06-15 9:17 pm
  8. 2002-06-15 9:18 pm
  9. 2002-06-16 5:31 pm
  10. 2002-06-17 5:36 am
  11. 2002-06-20 3:15 am