Back to index

glibc  2.9
Functions
testobj.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int preload (int a)
int foo (int)
int obj1func1 (int)
int obj1func2 (int)
int obj2func1 (int)
int obj2func2 (int)
int obj3func1 (int)
int obj3func2 (int)
int obj4func1 (int)
int obj4func2 (int)
int obj5func1 (int)
int obj5func2 (int)
int obj6func1 (int)
int obj6func2 (int)

Function Documentation

int foo ( int  )

Definition at line 16 of file preloadtest.c.

{
  return a;
}
int obj1func1 ( int  )

Definition at line 4 of file testobj1_1.c.

{
  return 42 + obj1func2 (a);
}

Here is the call graph for this function:

Here is the caller graph for this function:

int obj1func2 ( int  )

Definition at line 13 of file testobj1.c.

{
  return foo (a) + 10;
}

Here is the caller graph for this function:

int obj2func1 ( int  )
int obj2func2 ( int  )

Definition at line 14 of file testobj2.c.

{
  return obj1func1 (a) + 10;
}

Here is the call graph for this function:

int obj3func1 ( int  )
int obj3func2 ( int  )

Definition at line 14 of file testobj3.c.

{
  return foo (a) + 42;
}
int obj4func1 ( int  )
int obj4func2 ( int  )

Definition at line 13 of file testobj4.c.

{
  return foo (a) + 43;
}
int obj5func1 ( int  )
int obj5func2 ( int  )

Definition at line 14 of file testobj5.c.

{
  return foo (a) + 44;
}
int obj6func1 ( int  )
int obj6func2 ( int  )

Definition at line 10 of file testobj6.c.

{
  return foo (a) + 46;
}
int preload ( int  a)

Definition at line 19 of file testobj1.c.

{
  int (*fp) (int) = dlsym (RTLD_NEXT, "preload");
  if (fp != NULL)
    return fp (a) + 10;
  return 10;
}

Here is the call graph for this function:

Here is the caller graph for this function: