ncurses.supp 4.8 KB

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