wireshark/epan/wmem
Evan Huus 3c1e67c22d Send all alloc and free calls within wmem through wmem_alloc and wmem_free with
a NULL allocator. This gives us a single, central place to handle out-of-memory
errors (by, for example, throwing an exception) for basically all of epan.

The only remaining glib memory that is directly allocated is for the hash tables
used by the simple and strict allocators.

svn path=/trunk/; revision=51627
2013-09-01 13:37:38 +00:00
..
Makefile.am Add empty placeholder wmem test suite. Hopefully my automake skills were 2013-03-20 00:28:36 +00:00
Makefile.common Add wmem queue 'implementation' by wrapping wmem_list and wmem_stack. 2013-07-21 21:13:30 +00:00
Makefile.nmake Added more build artefacts to the clean target 2013-07-28 14:40:56 +00:00
wmem.h Add wmem queue 'implementation' by wrapping wmem_list and wmem_stack. 2013-07-21 21:13:30 +00:00
wmem_allocator.h Rework wmem scoping limits so that users can still get a handle to a pool when 2013-06-19 18:28:13 +00:00
wmem_allocator_block.c Send all alloc and free calls within wmem through wmem_alloc and wmem_free with 2013-09-01 13:37:38 +00:00
wmem_allocator_block.h Minor refactor: make the framework responsible for allocating and freeing the 2013-05-22 15:42:12 +00:00
wmem_allocator_simple.c Send all alloc and free calls within wmem through wmem_alloc and wmem_free with 2013-09-01 13:37:38 +00:00
wmem_allocator_simple.h Minor refactor: make the framework responsible for allocating and freeing the 2013-05-22 15:42:12 +00:00
wmem_allocator_strict.c Send all alloc and free calls within wmem through wmem_alloc and wmem_free with 2013-09-01 13:37:38 +00:00
wmem_allocator_strict.h Minor refactor: make the framework responsible for allocating and freeing the 2013-05-22 15:42:12 +00:00
wmem_array.c Include config.h first; it defines _FILE_OFFSET_BITS, and if some system 2013-08-14 00:31:14 +00:00
wmem_array.h Add wmem_array_sort() which just hands off to the standard library's qsort(). 2013-07-06 17:47:32 +00:00
wmem_core.c Send all alloc and free calls within wmem through wmem_alloc and wmem_free with 2013-09-01 13:37:38 +00:00
wmem_core.h Send all alloc and free calls within wmem through wmem_alloc and wmem_free with 2013-09-01 13:37:38 +00:00
wmem_list.c Replace wmem slist (singly-linked) with wmem list (doubly-linked). 2013-07-20 20:33:38 +00:00
wmem_list.h Replace wmem slist (singly-linked) with wmem list (doubly-linked). 2013-07-20 20:33:38 +00:00
wmem_miscutl.c Resurrect wmem_memdup in its own misc. utilities group. Emem provides it, so we 2013-06-18 21:42:54 +00:00
wmem_miscutl.h Resurrect wmem_memdup in its own misc. utilities group. Emem provides it, so we 2013-06-18 21:42:54 +00:00
wmem_queue.h Add wmem queue 'implementation' by wrapping wmem_list and wmem_stack. 2013-07-21 21:13:30 +00:00
wmem_scopes.c As suggested in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9033 2013-08-13 22:41:34 +00:00
wmem_scopes.h Add the appropriate new WS_DLL_* declarations to the wmem API. 2013-03-09 20:25:44 +00:00
wmem_stack.c Add wmem queue 'implementation' by wrapping wmem_list and wmem_stack. 2013-07-21 21:13:30 +00:00
wmem_stack.h Add wmem queue 'implementation' by wrapping wmem_list and wmem_stack. 2013-07-21 21:13:30 +00:00
wmem_strbuf.c Include config.h first; it defines _FILE_OFFSET_BITS, and if some system 2013-08-14 00:31:14 +00:00
wmem_strbuf.h Add wmem_strbuf_new_label as just a sized new for label lengths. 2013-06-19 17:34:24 +00:00
wmem_strutl.c Include config.h first; it defines _FILE_OFFSET_BITS, and if some system 2013-08-14 00:31:14 +00:00
wmem_strutl.h Add wmem_alloc_array, wmem_strsplit, wmem_strconcat. 2013-06-18 21:25:37 +00:00
wmem_test.c Send all alloc and free calls within wmem through wmem_alloc and wmem_free with 2013-09-01 13:37:38 +00:00
wmem_tree.c Send all alloc and free calls within wmem through wmem_alloc and wmem_free with 2013-09-01 13:37:38 +00:00
wmem_tree.h Add wmem_tree_is_empty(). Also permit lookups on a NULL tree for compatibility 2013-07-31 01:48:47 +00:00
wmem_user_cb.c Send all alloc and free calls within wmem through wmem_alloc and wmem_free with 2013-09-01 13:37:38 +00:00
wmem_user_cb.h Fix (-W)documentation error found by Clang 2013-08-10 21:28:42 +00:00
wmem_user_cb_int.h More callback tweaks, to permit unregistering a callback from the same place 2013-06-16 22:37:55 +00:00