ncurses.supp 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. # $Id: ncurses.supp,v 1.7 2008/09/20 18:43:42 tom Exp $
  2. ##############################################################################
  3. # Copyright (c) 2008 Free Software Foundation, Inc. #
  4. # #
  5. # Permission is hereby granted, free of charge, to any person obtaining a #
  6. # copy of this software and associated documentation files (the "Software"), #
  7. # to deal in the Software without restriction, including without limitation #
  8. # the rights to use, copy, modify, merge, publish, distribute, distribute #
  9. # with modifications, sublicense, and/or sell copies of the Software, and to #
  10. # permit persons to whom the Software is furnished to do so, subject to the #
  11. # following conditions: #
  12. # #
  13. # The above copyright notice and this permission notice shall be included in #
  14. # all copies or substantial portions of the Software. #
  15. # #
  16. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
  17. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
  18. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
  19. # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
  20. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
  21. # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
  22. # DEALINGS IN THE SOFTWARE. #
  23. # #
  24. # Except as contained in this notice, the name(s) of the above copyright #
  25. # holders shall not be used in advertising or otherwise to promote the sale, #
  26. # use or other dealings in this Software without prior written #
  27. # authorization. #
  28. ##############################################################################
  29. #
  30. # This is a warning-suppression file for valgrind and ncurses.
  31. #
  32. # ncurses can also be configured using the --disable-leaks option, which
  33. # allows an application to call _nc_freeall() or _nc_free_and_exit(), to
  34. # free all of ncurses' "permanent" memory.
  35. #
  36. # Some of these leaks can be freed if the application does its own cleanup,
  37. # for example:
  38. # delscreen(SP);
  39. # del_curterm(cur_term);
  40. # However, few applications do this.
  41. {
  42. ncurses_leak__nc_add_to_try
  43. Memcheck:Leak
  44. fun:*alloc
  45. fun:_nc_add_to_try
  46. }
  47. {
  48. ncurses_leak__nc_home_terminfo
  49. Memcheck:Leak
  50. fun:malloc
  51. fun:_nc_home_terminfo
  52. }
  53. {
  54. ncurses_leak__nc_init_wacs
  55. Memcheck:Leak
  56. fun:calloc
  57. fun:_nc_init_wacs
  58. }
  59. {
  60. ncurses_leak__nc_keyname
  61. Memcheck:Leak
  62. fun:calloc
  63. fun:_nc_keyname
  64. }
  65. {
  66. ncurses_leak__nc_keyname_2
  67. Memcheck:Leak
  68. fun:malloc
  69. fun:strdup
  70. fun:_nc_keyname
  71. }
  72. {
  73. ncurses_leak__nc_printf_string
  74. Memcheck:Leak
  75. fun:malloc
  76. fun:_nc_doalloc
  77. fun:_nc_printf_string
  78. }
  79. {
  80. ncurses_leak__nc_read_termtype
  81. Memcheck:Leak
  82. fun:*alloc
  83. fun:_nc_read_termtype
  84. fun:_nc_read_file_entry
  85. }
  86. {
  87. ncurses_leak__nc_read_termtype_2
  88. Memcheck:Leak
  89. fun:*alloc
  90. fun:_nc_doalloc
  91. fun:_nc_read_termtype
  92. fun:_nc_read_file_entry
  93. }
  94. {
  95. ncurses_leak__nc_scroll_optimize
  96. Memcheck:Leak
  97. fun:*alloc
  98. fun:_nc_hash_map
  99. fun:_nc_scroll_optimize
  100. }
  101. {
  102. ncurses_leak__nc_scroll_optimize_2
  103. Memcheck:Leak
  104. fun:*alloc
  105. fun:_nc_doalloc
  106. fun:_nc_scroll_optimize
  107. }
  108. {
  109. ncurses_leak__nc_setupscreen
  110. Memcheck:Leak
  111. fun:calloc
  112. fun:_nc_setupscreen
  113. fun:newterm
  114. }
  115. {
  116. ncurses_leak__nc_setupscreen_2
  117. Memcheck:Leak
  118. fun:calloc
  119. fun:newwin
  120. fun:_nc_setupscreen
  121. }
  122. {
  123. ncurses_leak__nc_setupterm_1
  124. Memcheck:Leak
  125. fun:malloc
  126. fun:strdup
  127. fun:_nc_setupterm
  128. }
  129. {
  130. ncurses_leak__nc_setupterm
  131. Memcheck:Leak
  132. fun:calloc
  133. fun:_nc_setupterm
  134. }
  135. {
  136. ncurses_leak__nc_setupscreen_3
  137. Memcheck:Leak
  138. fun:calloc
  139. fun:_nc_makenew
  140. fun:newwin
  141. fun:_nc_setupscreen
  142. }
  143. {
  144. ncurses_leak__nc_set_buffer
  145. Memcheck:Leak
  146. fun:malloc
  147. fun:_nc_set_buffer
  148. }
  149. {
  150. ncurses_leak__nc_tparm_analyze
  151. Memcheck:Leak
  152. fun:*alloc
  153. fun:_nc_doalloc
  154. fun:_nc_tparm_analyze
  155. }
  156. {
  157. ncurses_leak__nc_trace_alloc
  158. Memcheck:Leak
  159. fun:*alloc
  160. fun:_nc_doalloc
  161. fun:_nc_trace_alloc
  162. }
  163. {
  164. ncurses_leak_start_color
  165. Memcheck:Leak
  166. fun:calloc
  167. fun:start_color
  168. }
  169. {
  170. ncurses_leak_tparm
  171. Memcheck:Leak
  172. fun:realloc
  173. fun:_nc_doalloc
  174. fun:tparm
  175. }
  176. {
  177. ncurses_leak_tparam_internal
  178. Memcheck:Leak
  179. fun:realloc
  180. fun:_nc_doalloc
  181. fun:get_space
  182. fun:save_number
  183. fun:tparam_internal
  184. }