c# - How to check that a DLL or executable was compiled with security cookies enabled? -


i trying figure out way check if specific dll / exe file has security cookies enabled. might don't have source code, , wasn't 1 compiled it. have compiled dll's , executable.

i know there way achieve disassembling file , check if cookie pushed stack before calling function, , check before returning function verification of cookie made. but, method inconvenient , messy.

does know alternative method checking it?

note : code written in c#/.net, , i'm running windows 7 64 bit.

you can guarantee c# code not written /gs because c# not support /gs, feature of c++ compiler, c# compiler not have option.

if use fixed statement in c# responsibility check buffer overflows. managed code not let have buffer overflow.

so guess "safe" code behaves had /gs enabled , pointers used in "unsafe" code blocks behaves not enabled.

finding if program compiled compiler flag /unsafe different enough topic recommend asking new question that.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -