DTdev
DTdev

Reputation: 562

Modify section header in VS2012

I am having a Windows driver based solution and working on Visual Studio 2012. I want to modify section the permission flag of section header. I tried to do it with properties->linker but it did not modify the section header when i browser section header using CFF explorer.

I want to remove the write permission from INIT section header(needed for Win10). Can anyone help with that?

Upvotes: -1

Views: 38

Answers (1)

DTdev
DTdev

Reputation: 562

I got a workaround for this. We can remove the "/driver" option from linked and then change the section header value in linker option from "init,d" to init,RE!W . Worked as expected for me.

Upvotes: 0

Related Questions