Advertisement
Guest User

Untitled

a guest
Aug 28th, 2012
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. static struct _hook hooks[] = {
  2. {"property_get", property_get },
  3. {"property_set", property_set },
  4. {"printf", printf },
  5. {"malloc", malloc },
  6. {"free", free },
  7. {"calloc", calloc },
  8. {"cfree", cfree },
  9. {"realloc", realloc },
  10. {"memalign", memalign },
  11. {"valloc", valloc },
  12. {"pvalloc", pvalloc },
  13. /* string.h */
  14. {"memccpy",memccpy},
  15. {"memchr",memchr},
  16. {"memrchr",memrchr},
  17. {"memcmp",memcmp},
  18. {"memcpy",memcpy},
  19. {"memmove",memmove},
  20. {"memset",memset},
  21. {"memmem",memmem},
  22. // {"memswap",memswap},
  23. {"index",index},
  24. {"rindex",rindex},
  25. {"strchr",strchr},
  26. {"strrchr",strrchr},
  27. {"strlen",strlen},
  28. {"strcmp",strcmp},
  29. {"strcpy",strcpy},
  30. {"strcat",strcat},
  31. {"strcasecmp",strcasecmp},
  32. {"strncasecmp",strncasecmp},
  33. {"strdup",strdup},
  34. {"strstr",strstr},
  35. {"strcasestr",strcasestr},
  36. {"strtok",strtok},
  37. {"strtok_r",strtok_r},
  38. {"strerror",strerror},
  39. {"strerror_r",strerror_r},
  40. {"strnlen",strnlen},
  41. {"strncat",strncat},
  42. {"strndup",strndup},
  43. {"strncmp",strncmp},
  44. {"strncpy",strncpy},
  45. // {"strlcat",strlcat},
  46. // {"strlcpy",strlcpy},
  47. {"strcspn",strcspn},
  48. {"strpbrk",strpbrk},
  49. {"strsep",strsep},
  50. {"strspn",strspn},
  51. {"strsignal",strsignal},
  52. {"strcoll",strcoll},
  53. {"strxfrm",strxfrm},
  54. /* strings.h */
  55. {"bcmp",bcmp},
  56. {"bcopy",bcopy},
  57. {"bzero",bzero},
  58. {"ffs",ffs},
  59. {"index",index},
  60. {"rindex",rindex},
  61. {"strcasecmp",strcasecmp},
  62. {"strncasecmp",strncasecmp},
  63. /* pthread.h */
  64. {"pthread_create", pthread_create},
  65. {"pthread_exit", pthread_exit},
  66. {"pthread_join", pthread_join},
  67. {"pthread_detach", pthread_detach},
  68. {"pthread_self", pthread_self},
  69. {"pthread_equal", pthread_equal},
  70. {"pthread_mutex_init", my_pthread_mutex_init },
  71. {"pthread_mutex_lock", my_pthread_mutex_lock },
  72. {"pthread_mutex_unlock", my_pthread_mutex_unlock },
  73. {"pthread_mutex_destroy", my_pthread_mutex_destroy },
  74. {"pthread_once", pthread_once},
  75. {"pthread_mutexattr_init", pthread_mutexattr_init},
  76. {"pthread_mutexattr_settype", pthread_mutexattr_settype},
  77. {"pthread_mutex_trylock", my_pthread_mutex_trylock},
  78. {"pthread_key_create", pthread_key_create},
  79. {"pthread_setspecific", pthread_setspecific},
  80. {"pthread_getspecific", pthread_getspecific},
  81. {"pthread_cond_init", my_pthread_cond_init},
  82. {"pthread_cond_broadcast", my_pthread_cond_broadcast},
  83. {"pthread_cond_destroy", my_pthread_cond_destroy},
  84. {"pthread_cond_signal", my_pthread_cond_signal},
  85. {"pthread_cond_wait", my_pthread_cond_wait},
  86. {"pthread_cond_timedwait", my_pthread_cond_timedwait},
  87. {"pthread_attr_setstacksize", my_pthread_attr_setstacksize},
  88. {"pthread_attr_destroy", my_pthread_attr_destroy},
  89. {"pthread_attr_setdetachstate", my_pthread_attr_setdetachstate},
  90. {"pthread_attr_init", my_pthread_attr_init},
  91. {NULL, NULL},
  92. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement