Ignore:
Timestamp:
Jan 16, 2007, 3:36:33 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • Got rid of the *_load() functions. Now each diverted function is supposed to check that the *_orig() functions it calls are properly loaded.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/load-mem.c

    r1649 r1679  
    8282                                     vm_size_t numbytes);
    8383#endif
    84 
    85 void _zz_load_mem(void)
    86 {
    87     LOADSYM(calloc);
    88     LOADSYM(malloc);
    89     LOADSYM(free);
    90     LOADSYM(realloc);
    91     LOADSYM(valloc);
    92 #ifdef HAVE_MEMALIGN
    93     LOADSYM(memalign);
    94 #endif
    95 #ifdef HAVE_POSIX_MEMALIGN
    96     LOADSYM(posix_memalign);
    97 #endif
    98 
    99     LOADSYM(mmap);
    100 #ifdef HAVE_MMAP64
    101     LOADSYM(mmap64);
    102 #endif
    103     LOADSYM(munmap);
    104 #ifdef HAVE_MAP_FD
    105     LOADSYM(map_fd);
    106 #endif
    107 }
    10884
    10985/* We need a static memory buffer because some functions call memory
Note: See TracChangeset for help on using the changeset viewer.