Visual studio 用于分析的自定义prolog/epilog函数
使用Visual Studio编译器,是否可以在调用其他函数之前和函数执行之后编写两个被调用的函数?在gcc中,您可以使用Visual studio 用于分析的自定义prolog/epilog函数,visual-studio,profiling,kernel,Visual Studio,Profiling,Kernel,使用Visual Studio编译器,是否可以在调用其他函数之前和函数执行之后编写两个被调用的函数?在gcc中,您可以使用\uuuucyg\uprofile\ufunc.*()函数来实现这一点: void __cyg_profile_func_enter(void *func_address, void *call_site ) __attribute__ ((no_instrument_function)); void __cy
\uuuucyg\uprofile\ufunc.*()
函数来实现这一点:
void __cyg_profile_func_enter(void *func_address, void *call_site )
__attribute__ ((no_instrument_function));
void __cyg_profile_func_exit (void *func_address, void *call_site )
__attribute__ ((no_instrument_function));
我需要一个适用于内核模式软件的解决方案。我想这可能会有所帮助,但免费版只有32位,我的驱动程序是纯64位的
我想为特定的代码生成
谢谢
2.1
2.2
非常感谢/生长激素/生长激素正是我需要的。