Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2007 17:19:41 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Angus Barrow <angus@aggyb.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: libelf question
Message-ID:  <867ipsnjsi.fsf@dwp.des.no>
In-Reply-To: <467F2411.7070709@aggyb.org> (Angus Barrow's message of "Mon\, 25 Jun 2007 03\:10\:25 %2B0100")
References:  <467F2411.7070709@aggyb.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Angus Barrow <angus@aggyb.org> writes:
> 30   time_t timet=3Darh->ar_date;
> (gdb) n
> 31   strftime(timestring, sizeof(timestring), "%b %e %H:%M %Y",
> gmtime(&timet));
> (gdb) n
> ...
> (gdb) print timet
> $1 =3D -1515870811

(gdb) p/x -1515870811
$1 =3D 0xa5a5a5a5

from malloc(3):

     J       Each byte of new memory allocated by malloc(), realloc() or
             reallocf() will be initialized to 0xa5.  All memory returned by
             free(), realloc() or reallocf() will be initialized to 0x5a.
             This is intended for debugging and will impact performance neg=
a-
             tively.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867ipsnjsi.fsf>