Mail Archives: djgpp/2000/11/20/16:21:35
In article <2593-Sat18Nov2000092507+0200-eliz AT is DOT elta DOT co DOT il>,
djgpp AT delorie DOT com wrote:
> > From: dcasale AT my-deja DOT com
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Fri, 17 Nov 2000 22:04:09 GMT
> >
> > I want to be able to check the integrity of allocated buffers _on
> > the fly_. Since I've _finally_ been able to locate the malloc
> > source code, buried several levels deep in the gnu directory
> > structure
> I don't understand about what ``gnu directory structure'' are you
> talking about; I hope you are looking at the right sources, since the
> DJGPP library has nothing to do with GNU. Our malloc source is on
> src/libc/ansi/stdlib/malloc.c in djlsr203.zip.
Noted. I was looking at a coworker's DJGPP installation. I downloaded
the module you mentioned above and checked to see if the malloc.c in
there was the same as the one I had. It was.
> > I might decide to try my hand at a heap walker, like Eric was
> > talking about.
>
> Please go ahead, I think it would be a nice addition to the library.
I just noticed that the malloc data structures are all declared
static. That means I'll have to change them to non-static and
recompile the library so that the heap walker will have access to them.
Darn. Well, I gotta do what I gotta do. :-/
Damon Casale, damon AT WRONG DOT redshift DOT com (remove the obvious)
Use BOUNCE to reduce static cling!
Sent via Deja.com http://www.deja.com/
Before you buy.
- Raw text -