[Bug 1472] malloc_boundary.c:89: warning: left shift count >= width of type

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Jun 25 07:16:36 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1472

Sebastian Huber <sebastian.huber at embedded-brains.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian.huber at embedded-br
                   |                            |ains.de

--- Comment #3 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2010-06-25 02:16:35 CDT ---
(In reply to comment #2)
> I tried to salvage malloc_boundary when I made a lot of malloc behaviour
> confdefs.h configurable.  But this code if was if'0 out for too long
> and horribly bit rotted.  I would be OK with killing it. 
> 
> If we want to add some type of malloc fencing again, we should write it
> up as an open project with design notes.
> 
> So ok to kill if you want.

I have a debug support for the super core heap handler.  It covers boundary
violations, general heap block corruption, double free and usage of freed
memory.  The space overhead is 4 words per heap block.  The time overhead is
minimal for allocations and during free it depends on the allocation size (the
freed memory will be marked with a pattern).

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list