aboutsummaryrefslogtreecommitdiffstats
path: root/epan/emem.c
AgeCommit message (Expand)AuthorFilesLines
2010-04-08In C, foo() isn't a function with no arguments, foo(void) is.guy1-1/+1
2010-02-07From Alex Lindberg via bug 4463:stig1-0/+29
2010-02-04Reversion of SVN 30488 as suggested in https://bugs.wireshark.org/bugzilla/sh...etxrab1-2/+10
2010-01-28Fix various gcc -Wshadow warnings.wmeier1-8/+8
2010-01-20From Jakub Zawadzki:etxrab1-5/+11
2010-01-20From Jakub Zawadzki:etxrab1-8/+4
2010-01-20remove an unusued variablesahlberg1-1/+0
2010-01-19From Jakub Zawadzki:etxrab1-57/+69
2010-01-19From Jakub Zawadzki:etxrab1-9/+6
2010-01-19From Jakub Zawadzki:etxrab1-25/+19
2009-11-30From Jakub Zawadzki via bug 4274:gerald1-1/+1
2009-11-23Guard #include <sys/types.h> with HAVE_SYS_TYPES_H.stig1-0/+2
2009-10-23Add a comment about using memcpy for scrubbing.gerald1-0/+5
2009-10-20Add emem_init() which initializes both the ep_ and se_ allocators; have allmorriss1-22/+32
2009-10-20Don't call xx_init_chunk() in ep_free_all() and se_free_all() if we're notmorriss1-9/+7
2009-10-19From Jakub Zawadzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4...morriss1-204/+254
2009-10-16Introduce an optional (ep_ and se_) memory scrubber. When activated (exportmorriss1-20/+86
2009-10-11Use G_MEM_ALIGN when we have to determine the amount of padding needed instea...krj1-1/+1
2009-10-11Rename emem_canary => emem_canary_init to make it clear that the function ini...krj1-4/+4
2009-10-11Only check to see if 'free_list' is empty when we've just moved over a chunk ...krj1-3/+3
2009-10-11Tighten scope of some variables in emem_alloc()krj1-4/+3
2009-10-11Change EMEM_PACKET_CHUNK_SIZE to (10 * 1024 * 1024) to make it easier to see ...krj1-1/+1
2009-10-11Use g_strlcpy instead of providing our own string copy implementationkrj1-10/+2
2009-10-11Use memcpy when we already know the length of the stringkrj1-8/+3
2009-10-09Print statistics to stderr so we can see (only) them when using tshark.morriss1-53/+60
2009-10-09Unify the stats output regardless of whether we're using canaries or not. Fix...morriss1-43/+27
2009-10-08Call emem_canary() immediatelykrj1-7/+5
2009-10-08From Harald Welte via bug 4106:krj1-1/+5
2009-10-08Remove debug g_warning()krj1-4/+3
2009-10-08Dont use canaries for SE allocated memory as a default the owerheadetxrab1-9/+98
2009-10-06Add some SE allocation statistics (if SHOW_MEM_STATS is defined).morriss1-0/+135
2009-10-06Increase EMEM_ALLOCS_PER_CHUNK to avoid memory waist.etxrab1-1/+1
2009-10-05Use g_free() (should have been part of r30342)krj1-2/+2
2009-10-05Use g_malloc()krj1-4/+4
2009-09-29Ensure we don't dereference a null pointer.stig1-1/+5
2009-09-24Make sure that we also traverse the free_list while looking for valid pointerskrj1-8/+17
2009-09-21Add unsigned int type castkrj1-1/+1
2009-09-21Make sure that we track the amount allocated when we're doling out memory fro...krj1-0/+4
2009-09-20Add ep_verify_pointer()/se_verify_pointer() which checks whether the given po...krj1-0/+26
2009-09-20Remove unused/dead codekrj1-28/+0
2009-09-20Make se_trees static in emem.ckrj1-5/+3
2009-09-20Use g_new()krj1-3/+3
2009-09-06Avoid calling emem_create_chunk() needlesslykrj1-67/+70
2009-09-04Include "proto.h" instead of <proto.h>jmayer1-1/+1
2009-08-11We now expose the following environment variables:krj1-111/+110
2009-08-10Use ! defined(EP_DEBUG_FREE) && ! defined(SE_DEBUG_FREE) to guard canary code...krj1-12/+18
2009-08-09Add unsigned int typecastkrj1-1/+1
2009-08-09g_error() requires a string literal.krj1-6/+6
2009-08-09Split common parts of ep_free_all and se_free_all into emem_free_all.krj1-74/+48
2009-08-09Split common parts of se_alloc and ep_alloc into emem_alloc.krj1-117/+61