Sujet : Re: Memory protection between compilation units?
De : Ros (at) *nospam* invalid.invalid (Rosario19)
Groupes : comp.lang.cDate : 16. Jun 2025, 17:14:05
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <9fg05k1okekamj6n4crtpdmjgmh7mn1qp5@4ax.com>
References : 1 2 3 4
User-Agent : Forte Free Agent 1.93/32.576 English (American)
On Thu, 12 Jun 2025 19:15:26 +0100, Richard Heathfield wrote:
Sure. Or some people prefer to single-step with a debugger. Such
people can make their lives a little easier by surrounding the
buffer with sentinel soldiers, setting the sentinel soldiers to a
magic number, and putting a watch on them both - the buffer high
soldier and the buffer low soldier.
I think out of bound of the array many times there is a write of the 2
limit bounds memory... but there are cases where bound are ok but
memory is written out the array the same, in some other places