aboutsummaryrefslogtreecommitdiffstats
path: root/epan/emem.c
Commit message (Expand)AuthorAgeFilesLines
* Convert SLAB_-s, to sl_-API.Jakub Zawadzki2011-05-091-9/+12
* Initial commit of slab allocator (sl_* API) Jakub Zawadzki2011-05-091-17/+109
* Cleanup emem_verify_pointer()Jakub Zawadzki2011-04-221-15/+11
* Either the buf argument to emem_scrub_memory() is properly aligned or itGuy Harris2011-04-221-3/+3
* Fix ep_check_canary_integrity to use proper variable.Jakub Zawadzki2011-04-211-2/+2
* Introduce ep_strconcat (copied from the glib version)Jeff Morriss2011-03-261-0/+37
* Remove some duplicated string manipulation code.Jeff Morriss2011-03-261-88/+83
* Clean up comments: canaries are also used to pad allocations to an 8-byte bou...Jeff Morriss2011-02-251-9/+16
* Add a comment explaining what the canary between allocations looks like.Jeff Morriss2011-02-251-0/+10
* Fix some dead code and zero division issues found by Clang scan-build.Gerald Combs2011-02-181-1/+0
* Fix bug #5463 (and likely others) so that ep_strbuf_new() no longerStephen Fisher2010-12-061-1/+1
* Introduce 2 new environment variables: WIRESHARK_EP_VERIFY_POINTERS andJeff Morriss2010-09-021-3/+19
* In C, foo() isn't a function with no arguments, foo(void) is.Guy Harris2010-04-081-1/+1
* From Alex Lindberg via bug 4463:Stig Bjørlykke2010-02-071-0/+29
* Reversion of SVN 30488 as suggested in https://bugs.wireshark.org/bugzilla/sh...Anders Broman2010-02-041-2/+10
* Fix various gcc -Wshadow warnings.Bill Meier2010-01-281-8/+8
* From Jakub Zawadzki:Anders Broman2010-01-201-5/+11
* From Jakub Zawadzki:Anders Broman2010-01-201-8/+4
* remove an unusued variableRonnie Sahlberg2010-01-201-1/+0
* From Jakub Zawadzki:Anders Broman2010-01-191-57/+69
* From Jakub Zawadzki:Anders Broman2010-01-191-9/+6
* From Jakub Zawadzki:Anders Broman2010-01-191-25/+19
* From Jakub Zawadzki via bug 4274:Gerald Combs2009-11-301-1/+1
* Guard #include <sys/types.h> with HAVE_SYS_TYPES_H.Stig Bjørlykke2009-11-231-0/+2
* Add a comment about using memcpy for scrubbing.Gerald Combs2009-10-231-0/+5
* Add emem_init() which initializes both the ep_ and se_ allocators; have allJeff Morriss2009-10-201-22/+32
* Don't call xx_init_chunk() in ep_free_all() and se_free_all() if we're notJeff Morriss2009-10-201-9/+7
* From Jakub Zawadzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4...Jeff Morriss2009-10-191-204/+254
* Introduce an optional (ep_ and se_) memory scrubber. When activated (exportJeff Morriss2009-10-161-20/+86
* Use G_MEM_ALIGN when we have to determine the amount of padding needed instea...Kovarththanan Rajaratnam2009-10-111-1/+1
* Rename emem_canary => emem_canary_init to make it clear that the function ini...Kovarththanan Rajaratnam2009-10-111-4/+4
* Only check to see if 'free_list' is empty when we've just moved over a chunk ...Kovarththanan Rajaratnam2009-10-111-3/+3
* Tighten scope of some variables in emem_alloc()Kovarththanan Rajaratnam2009-10-111-4/+3
* Change EMEM_PACKET_CHUNK_SIZE to (10 * 1024 * 1024) to make it easier to see ...Kovarththanan Rajaratnam2009-10-111-1/+1
* Use g_strlcpy instead of providing our own string copy implementationKovarththanan Rajaratnam2009-10-111-10/+2
* Use memcpy when we already know the length of the stringKovarththanan Rajaratnam2009-10-111-8/+3
* Print statistics to stderr so we can see (only) them when using tshark.Jeff Morriss2009-10-091-53/+60
* Unify the stats output regardless of whether we're using canaries or not. Fix...Jeff Morriss2009-10-091-43/+27
* Call emem_canary() immediatelyKovarththanan Rajaratnam2009-10-081-7/+5
* From Harald Welte via bug 4106:Kovarththanan Rajaratnam2009-10-081-1/+5
* Remove debug g_warning()Kovarththanan Rajaratnam2009-10-081-4/+3
* Dont use canaries for SE allocated memory as a default the owerheadAnders Broman2009-10-081-9/+98
* Add some SE allocation statistics (if SHOW_MEM_STATS is defined).Jeff Morriss2009-10-061-0/+135
* Increase EMEM_ALLOCS_PER_CHUNK to avoid memory waist.Anders Broman2009-10-061-1/+1
* Use g_free() (should have been part of r30342)Kovarththanan Rajaratnam2009-10-051-2/+2
* Use g_malloc()Kovarththanan Rajaratnam2009-10-051-4/+4
* Ensure we don't dereference a null pointer.Stig Bjørlykke2009-09-291-1/+5
* Make sure that we also traverse the free_list while looking for valid pointersKovarththanan Rajaratnam2009-09-241-8/+17
* Add unsigned int type castKovarththanan Rajaratnam2009-09-211-1/+1
* Make sure that we track the amount allocated when we're doling out memory fro...Kovarththanan Rajaratnam2009-09-211-0/+4