Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

LLVM for DOS/DJGPP? (Developers)

posted by RayeR Homepage, CZ, 12.09.2011, 13:30

> > 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:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum