windows XP 下的DTRACE 跟踪 学习

时间:2023-03-09 03:04:10
windows  XP 下的DTRACE 跟踪 学习

windows  XP 下的DTRACE 跟踪 学习

https://github.com/prash-wghats/DTrace-win32

1.

dtrace_loader.exe -l //to load dtrace drivers

2. C:\DTrace\bin\i386>dtrace -q -s xx.d -c ./test.exe

输出:

main
begin_RTC_CheckEsp
printf
_stbuf
_isatty
_malloc_dbg
_nh_malloc_dbg
_heap_alloc_dbg
_CrtDefaultAllocHook
_heap_alloc_base
memset
memset
memset
_output
get_int_arg
write_multi_char
write_string
write_string
write_char
write_char
write_char
write_char
write_char
__security_check_cookie
_ftbuf
_flush
_write
__security_check_cookie
test1
end_RTC_CheckEsp
printf
_stbuf
_isatty
_output
get_int_arg
write_multi_char
write_string
write_string
write_char
write_char
write_char
__security_check_cookie
_ftbuf
_flush
_write
__security_check_cookie
_RTC_CheckEsp
exit
doexit
_RTC_Terminate
_RTC_Shutdown
_CRT_RTC_INIT
_initterm
__endstdio
_flushall
flsall
fflush
_flush
fflush
_flush
fflush
_flush
_initterm
_CrtSetDbgFlag
__crtExitProcess