Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Beginner
14 Views

Problem with Windows Kernel Driver

Writing kernel drivers for 64 bit Windows with Intel compilers is quite convenient, because of the inline assembler (Microsoft is not supporting inline assembling for 64 Bit, and the intrinsics are very scrappy).
But alas there seems to be a problem with the access to the jump-tables (used by switch/case) in rdata The only work-around until now I could figure out is to completely switch off the use of jump-tables: /Qopt-jump-tables:never.

Does anybody know a better solution?

(using Intel 11.1.065, VS2008SP1 & Win server 2008R2).


regards as
0 Kudos
2 Replies
Highlighted
14 Views

Thanks As,
Could you tell me which kind of problem you met? any test case I can use to reproduce it?

Thanks,
Wise
0 Kudos
Highlighted
Valued Contributor I
14 Views

If I understand correctly, jump tables get stored in a section which is not marked as executable? Or is your problem something else?
0 Kudos