delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/06/24/08:54:56

Message-ID: <33AFC44E.6079@bo.dada.it>
Date: Tue, 24 Jun 1997 14:57:50 +0200
From: Diego Zuccato <dz AT bo DOT dada DOT it>
Organization: CyberSpace Software Labs BBS
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Debugging options

Hello All.

Yesterday night I thought : "why can't DJGPP use a different 'segment'
for each malloc()/new to allow bounds checking ?".
Since I never saw it implemented, I don't know if it could be possible.
This way, if someone try to access memory never allocated, he gets a
SIGSEGV. Same technique could be used to catch writing attempts to a
NULL ptr.

Well, I really don't know much about 386 protected mode, but if it's not
possible, could you explain me why ?

Tks,
 Diego.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019