LLVM for DOS/DJGPP? (Developers)
> > > BTW do you know if LLVM/Clang support runtime array bound check?
> >
> > I don't think C (language proper) ever wants to support that because of
> > speed reasons. There were some semi-related 3rd-party patches to older
> GCCs
>
> I search and it seems that's not supported here. Only by some external
> tools, as you said, I also read about valgrind but didn't tried...
http://gcc.gnu.org/extensions.html
http://www.doc.ic.ac.uk/~phjk/BoundsChecking.html
http://williambader.com/bounds/example.html#download
http://sourceforge.net/projects/boundschecking/
"These patches add a -fbounds-checking flag that adds bounds checking tests to pointer and array accesses. Richard Jones developed the patches against gcc 2.7 in 1995. Herman ten Brugge is the current maintainer and has updated the patches for GCC 2.95.2 and later. William Bader has patches as well.
You may freely mix object modules compiled with and without bounds checking. The bounds checker also includes replacements for mem* and str* routines and can detect invalid calls against checked memory objects, even from modules compiled without bounds checking."
http://hobbes.nmsu.edu/h-browse.php?dir=/pub/os2/dev/emx/
"The emx port of GCC includes Richard W.M. Jones's bounds checking patches. See the GCC manual and \emx\gnu\doc\bounds\README for details."
http://bellard.org/tcc/
"SAFE! tcc includes an optional memory and bound checker. Bound checked code can be mixed freely with standard code."
Complete thread:
- LLVM for DOS/DJGPP? - RayeR, 08.09.2011, 22:41 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- LLVM for DOS/DJGPP? - Rugxulo, 08.09.2011, 23:01
- LLVM for DOS/DJGPP? - RayeR, 09.09.2011, 01:29
- LLVM for DOS/DJGPP? - RayeR, 09.09.2011, 01:34
- LLVM for DOS/DJGPP? - Rugxulo, 09.09.2011, 05:44
- LLVM for DOS/DJGPP? - marcov, 09.09.2011, 19:07
- LLVM for DOS/DJGPP? - RayeR, 09.09.2011, 19:44
- LLVM for DOS/DJGPP? - Rugxulo, 10.09.2011, 23:34
- LLVM for DOS/DJGPP? - marcov, 11.09.2011, 02:33
- LLVM for DOS/DJGPP? - RayeR, 12.09.2011, 13:46
- LLVM for DOS/DJGPP? - Rugxulo, 13.09.2011, 01:53
- LLVM for DOS/DJGPP? - RayeR, 12.09.2011, 13:30
- LLVM for DOS/DJGPP? - Rugxulo, 13.09.2011, 02:00
- LLVM for DOS/DJGPP? - RayeR, 14.09.2011, 01:25
- LLVM for DOS/DJGPP? - Rugxulo, 13.09.2011, 02:00
- LLVM for DOS/DJGPP? - marcov, 11.09.2011, 02:33
- LLVM for DOS/DJGPP? - marcov, 09.09.2011, 19:07
- LLVM for DOS/DJGPP? - Rugxulo, 09.09.2011, 05:44
- LLVM for DOS/DJGPP? - RayeR, 09.09.2011, 01:34
- LLVM for DOS/DJGPP? - RayeR, 09.09.2011, 01:29
- LLVM for DOS/DJGPP? | DEATH of GCC - DOS386, 09.09.2011, 18:41
- LLVM for DOS/DJGPP? | DEATH of GCC - RayeR, 09.09.2011, 19:38
- LLVM for DOS/DJGPP? | DEATH of GCC - DOS386, 11.09.2011, 08:13
- LLVM for DOS/DJGPP? | DEATH of GCC - RayeR, 12.09.2011, 13:16
- LLVM for DOS/DJGPP? | DEATH of GCC - DOS386, 13.09.2011, 07:34
- LLVM for DOS/DJGPP? | DEATH of GCC - RayeR, 13.09.2011, 19:50
- LLVM for DOS/DJGPP? | DEATH of GCC - RayeR, 14.09.2011, 10:36
- LLVM for DOS/DJGPP? | DEATH of GCC - RayeR, 13.09.2011, 19:50
- LLVM for DOS/DJGPP? | DEATH of GCC - DOS386, 13.09.2011, 07:34
- LLVM for DOS/DJGPP? | DEATH of GCC - RayeR, 12.09.2011, 13:16
- LLVM for DOS/DJGPP? | DEATH of GCC - DOS386, 11.09.2011, 08:13
- LLVM for DOS/DJGPP? | DEATH of GCC - RayeR, 09.09.2011, 19:38
- LLVM for DOS/DJGPP? - Rugxulo, 08.09.2011, 23:01
Mix view