Re: [cc65] memory corruption?

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-06-03 11:20:48


On Tue, Jun 03, 2003 at 10:20:41AM +0200, MagerValp wrote:
> Yeah, I'm thinking that I should write a test program on the PC. Where
> can I find a malloc debugger and how does it work?

In addition to what Marko already wrote, if you're using a system with
glibc, you can use the builtin malloc checker. To do that, just set the
environment variable MALLOC_CHECK_ (note the underline) to 2. It is not as
good as a separate checker but worth a try.

More comments: efence is a hog, I was not able to use it successfully for
larger programs. Valgrind is x86 only but very good.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-06-03 11:20:58 CEST