Deutsch   English   Français   Italiano  
<v4eeav$26p06$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Malcolm McLean <malcolm.arthur.mclean@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: "stack smashing detected"
Date: Thu, 13 Jun 2024 10:32:15 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <v4eeav$26p06$1@dont-email.me>
References: <666a10d3$0$973$882e4bbb@reader.netnews.com>
 <87cyolzqb2.fsf@bsb.me.uk> <666a3d62$0$981$882e4bbb@reader.netnews.com>
 <877cetz0h5.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 13 Jun 2024 11:32:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3f1d35f1df29894379c714fe809cf0a2";
	logging-data="2319366"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/2DkVfcYaG4GF50puFUEqXUfGWpYeRGC8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:DP/KsRHQ1XAckGZfqeA+UywRE8g=
Content-Language: en-GB
In-Reply-To: <877cetz0h5.fsf@bsb.me.uk>
Bytes: 1670

On 13/06/2024 09:54, Ben Bacarisse wrote:
> 
>> valgrind is too hardcore for me (for the hobby C programs I write
>> anyway).
> 
> What does "too hardcore" mean?  It's very simple to use and catches more
> problems than gcc's runtime checks can.  Compile with -g (so you get
> line number information) and then run under valgrind:
> 

valgrind is my favourite little utility. It's easy to use, and flushes 
out bugs very effectively. Unfotunately the Mac won't let me run it

-- 
Check out my hobby project.
http://malcolmmclean.github.io/babyxrc