Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

Problem with Windows Kernel Driver

Andreas_S_
Beginner
167 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
167 Views
Thanks As,
Could you tell me which kind of problem you met? any test case I can use to reproduce it?

Thanks,
Wise
ILevi1
Valued Contributor I
167 Views
If I understand correctly, jump tables get stored in a section which is not marked as executable? Or is your problem something else?
Reply