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.Guy Harris1-1/+1
2010-02-07From Alex Lindberg via bug 4463:Stig Bjørlykke1-0/+29
2010-02-04Reversion of SVN 30488 as suggested in https://bugs.wireshark.org/bugzilla/sh...Anders Broman1-2/+10
2010-01-28Fix various gcc -Wshadow warnings.Bill Meier1-8/+8
2010-01-20From Jakub Zawadzki:Anders Broman1-5/+11
2010-01-20From Jakub Zawadzki:Anders Broman1-8/+4
2010-01-20remove an unusued variableRonnie Sahlberg1-1/+0
2010-01-19From Jakub Zawadzki:Anders Broman1-57/+69
2010-01-19From Jakub Zawadzki:Anders Broman1-9/+6
2010-01-19From Jakub Zawadzki:Anders Broman1-25/+19
2009-11-30From Jakub Zawadzki via bug 4274:Gerald Combs1-1/+1
2009-11-23Guard #include <sys/types.h> with HAVE_SYS_TYPES_H.Stig Bjørlykke1-0/+2
2009-10-23Add a comment about using memcpy for scrubbing.Gerald Combs1-0/+5
2009-10-20Add emem_init() which initializes both the ep_ and se_ allocators; have allJeff Morriss1-22/+32
2009-10-20Don't call xx_init_chunk() in ep_free_all() and se_free_all() if we're notJeff Morriss1-9/+7
2009-10-19From Jakub Zawadzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4...Jeff Morriss1-204/+254
2009-10-16Introduce an optional (ep_ and se_) memory scrubber. When activated (exportJeff Morriss1-20/+86
2009-10-11Use G_MEM_ALIGN when we have to determine the amount of padding needed instea...Kovarththanan Rajaratnam1-1/+1
2009-10-11Rename emem_canary => emem_canary_init to make it clear that the function ini...Kovarththanan Rajaratnam1-4/+4
2009-10-11Only check to see if 'free_list' is empty when we've just moved over a chunk ...Kovarththanan Rajaratnam1-3/+3
2009-10-11Tighten scope of some variables in emem_alloc()Kovarththanan Rajaratnam1-4/+3
2009-10-11Change EMEM_PACKET_CHUNK_SIZE to (10 * 1024 * 1024) to make it easier to see ...Kovarththanan Rajaratnam1-1/+1
2009-10-11Use g_strlcpy instead of providing our own string copy implementationKovarththanan Rajaratnam1-10/+2
2009-10-11Use memcpy when we already know the length of the stringKovarththanan Rajaratnam1-8/+3
2009-10-09Print statistics to stderr so we can see (only) them when using tshark.Jeff Morriss1-53/+60
2009-10-09Unify the stats output regardless of whether we're using canaries or not. Fix...Jeff Morriss1-43/+27
2009-10-08Call emem_canary() immediatelyKovarththanan Rajaratnam1-7/+5
2009-10-08From Harald Welte via bug 4106:Kovarththanan Rajaratnam1-1/+5
2009-10-08Remove debug g_warning()Kovarththanan Rajaratnam1-4/+3
2009-10-08Dont use canaries for SE allocated memory as a default the owerheadAnders Broman1-9/+98
2009-10-06Add some SE allocation statistics (if SHOW_MEM_STATS is defined).Jeff Morriss1-0/+135
2009-10-06Increase EMEM_ALLOCS_PER_CHUNK to avoid memory waist.Anders Broman1-1/+1
2009-10-05Use g_free() (should have been part of r30342)Kovarththanan Rajaratnam1-2/+2
2009-10-05Use g_malloc()Kovarththanan Rajaratnam1-4/+4
2009-09-29Ensure we don't dereference a null pointer.Stig Bjørlykke1-1/+5
2009-09-24Make sure that we also traverse the free_list while looking for valid pointersKovarththanan Rajaratnam1-8/+17
2009-09-21Add unsigned int type castKovarththanan Rajaratnam1-1/+1
2009-09-21Make sure that we track the amount allocated when we're doling out memory fro...Kovarththanan Rajaratnam1-0/+4
2009-09-20Add ep_verify_pointer()/se_verify_pointer() which checks whether the given po...Kovarththanan Rajaratnam1-0/+26
2009-09-20Remove unused/dead codeKovarththanan Rajaratnam1-28/+0
2009-09-20Make se_trees static in emem.cKovarththanan Rajaratnam1-5/+3
2009-09-20Use g_new()Kovarththanan Rajaratnam1-3/+3
2009-09-06Avoid calling emem_create_chunk() needlesslyKovarththanan Rajaratnam1-67/+70
2009-09-04Include "proto.h" instead of <proto.h>Jörg Mayer1-1/+1
2009-08-11We now expose the following environment variables:Kovarththanan Rajaratnam1-111/+110
2009-08-10Use ! defined(EP_DEBUG_FREE) && ! defined(SE_DEBUG_FREE) to guard canary code...Kovarththanan Rajaratnam1-12/+18
2009-08-09Add unsigned int typecastKovarththanan Rajaratnam1-1/+1
2009-08-09g_error() requires a string literal.Kovarththanan Rajaratnam1-6/+6
2009-08-09Split common parts of ep_free_all and se_free_all into emem_free_all.Kovarththanan Rajaratnam1-74/+48
2009-08-09Split common parts of se_alloc and ep_alloc into emem_alloc.Kovarththanan Rajaratnam1-117/+61