diff options
author | midipix <writeonce@midipix.org> | 2019-05-27 21:58:54 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-05-28 00:00:09 +0000 |
commit | e20eeb3eb159688c1417b4bb6f0371dbed7ec8e6 (patch) | |
tree | 8e78826807cb412ec8e5400a1c179b3a67cac494 /src/internal | |
parent | c95ea049e306f41476ba040f8d89e953d60bac30 (diff) | |
download | ntapi-e20eeb3eb159688c1417b4bb6f0371dbed7ec8e6.tar.bz2 ntapi-e20eeb3eb159688c1417b4bb6f0371dbed7ec8e6.tar.xz |
debug helpers: added __ntapi_tt_create_{attach_}debug_object().
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/ntapi.c | 4 | ||||
-rw-r--r-- | src/internal/ntapi_fnapi.h | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c index c96c62b..2bd5299 100644 --- a/src/internal/ntapi.c +++ b/src/internal/ntapi.c @@ -443,6 +443,10 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl) __ntapi->log_fn_call = __ntapi_log_fn_call; __ntapi->log_msg = __ntapi_log_msg; + /* nt_debug.h */ + __ntapi->tt_create_debug_object = __ntapi_tt_create_debug_object; + __ntapi->tt_create_attach_debug_object = __ntapi_tt_create_attach_debug_object; + /* OS version dependent functions */ if (__ntapi->zw_create_user_process) { diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h index f1a6792..1ee52ed 100644 --- a/src/internal/ntapi_fnapi.h +++ b/src/internal/ntapi_fnapi.h @@ -329,11 +329,15 @@ NTAPI_UFN(tt_guid_compare); NTAPI_UFN(tt_guid_to_string_utf16); NTAPI_UFN(tt_string_to_guid_utf16); -/* debug */ +/* log */ NTAPI_UFN(log_write); NTAPI_UFN(log_fn_call); NTAPI_UFN(log_msg); +/* debug */ +NTAPI_UFN(tt_create_debug_object); +NTAPI_UFN(tt_create_attach_debug_object); + /* csrss */ NTAPI_VFN(tt_get_csr_port_handle_addr_by_logic,i386); NTAPI_VFN(tt_get_csr_port_handle_addr_by_logic,x86_64); |