Ter*_*nus 4 profiling kernel visual-studio
使用Visual Studio编译器,是否可以编写在调用其他函数之前和函数执行之后调用的2个函数?在gcc中你可以用__cyg_profile_func_*()函数做到这一点:
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));
Run Code Online (Sandbox Code Playgroud)
我需要一个适用于内核模式软件的解决方案.我认为微软Detours可能会有所帮助,但免费版只有32位,我的驱动程序是纯64位.
我想为特定代码生成调用图.
谢谢.
| 归档时间: |
|
| 查看次数: |
1428 次 |
| 最近记录: |