How to find if an interrupt generated by the program or not?
Posted: Wed Sep 20, 2017 10:24 am
Is there an fast way to find if an interrupt has been generated by the program, the cpu or the LOCAL APIC?
I thought to "pop" the first stack value and test if the point that the value points (program EIP) is equal to 0xCD (int instruction in binary).
Do there exist also a way to block code that runs on ring 3 execute the specific interrupt (if do to generate #GP)?
I thought to "pop" the first stack value and test if the point that the value points (program EIP) is equal to 0xCD (int instruction in binary).
Do there exist also a way to block code that runs on ring 3 execute the specific interrupt (if do to generate #GP)?