Article View: gnu.gcc.help
Article #49486Improper memory references
From: Ed Butler
Date: Tue, 25 Jan 1994 19:19
Date: Tue, 25 Jan 1994 19:19
12 lines
1066 bytes
1066 bytes
Does GNU have a debug aid to help locate improper uses of memory such as array indexes out of bounds, referenced freed memory, freeing memory twice, Not freeing memory, etc. It would be nice if the compiler had a flag to add this kind of error. Only the compiler could catch the following: int a[3][3]; a[0][4] = 1; A flag would allow optimizing the code after debugging by removing the check. Ed Butler elb@ppco.com
Technical Details
Message-ID:
<9401251917.AA20929@ppco.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ppco.com!elbShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,571362d16e5b3d52,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-25 23:20:46 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ppco.com!elb From: elb@ppco.com (Ed Butler) Newsgroups: gnu.gcc.help Subject: Improper memory references Date: 25 Jan 1994 14:19:37 -0500 Organization: GNUs Not Usenet Lines: 12 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <9401251917.AA20929@ppco.com>