Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

User exception handler in C (Developers)

posted by RayeR Homepage, CZ, 01.08.2020, 02:13

> (f)printf requires a FILE object, which is at exception time possibly in
> use or not available.

I experimented with printf and it worked in my case.

> those that can't, often can't in the kernel. IMO the kernel/driver is
> supposed to check the arguments for correctness before executing on it.

I do rd/wrmsr in kernel driver so I should handle exception in kernel mode. I know that some windows tool/driver can do it. Checking arguments is no go here as I don't know what MSRs are valid on current CPU and exception handling should prevent falling to BSOD.

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 250 users online (1 registered, 249 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum