LLVM for DOS/DJGPP? (Developers)
> > Btw it there some exe/asm analyzer that will find what instruction set
> > is required to run this code?
>
> No, it's mostly impossible, esp. with packed or encrypted .EXEs. You'd have
> to run in a debugger (or via disasm) and blindly hope it catches
> everything.
Uncompressing exe is not problem or I can analysed produced ASM code. Trying with debuger or simply run test is problematic because you have no chance to test all code. If it is more complex program than some simple command line utility working on file/stream there are too much branching to test all cases if somewhere it crash on invalid opcode...
> > 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...
---
DOS gives me freedom to unlimited HW access.
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