Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Problem with Windows Kernel Driver

Andreas_S_
Beginner
537 Views
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
Lingfeng_C_Intel
Employee
537 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
levicki
Valued Contributor I
537 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
Reply