diff options
-rw-r--r-- | include/ntapi/nt_debug.h | 4 | ||||
-rw-r--r-- | include/ntapi/ntapi.h | 4 | ||||
-rw-r--r-- | project/common.mk | 2 | ||||
-rw-r--r-- | src/debug/ntapi_tt_debug_create_object.c (renamed from src/debug/ntapi_tt_create_debug_object.c) | 6 | ||||
-rw-r--r-- | src/internal/ntapi.c | 4 | ||||
-rw-r--r-- | src/internal/ntapi_fnapi.h | 4 | ||||
-rw-r--r-- | src/process/ntapi_tt_spawn_foreign_process.c | 2 |
7 files changed, 13 insertions, 13 deletions
diff --git a/include/ntapi/nt_debug.h b/include/ntapi/nt_debug.h index f5a1d40..7e62af5 100644 --- a/include/ntapi/nt_debug.h +++ b/include/ntapi/nt_debug.h @@ -333,11 +333,11 @@ typedef int32_t __stdcall ntapi_zw_set_debug_filter_state( __in int32_t dbg_state); /* extension interfaces */ -typedef int32_t __stdcall ntapi_tt_create_debug_object( +typedef int32_t __stdcall ntapi_tt_debug_create_object( __out void ** hdbobj, __in uint32_t flags); -typedef int32_t __stdcall ntapi_tt_create_attach_debug_object( +typedef int32_t __stdcall ntapi_tt_debug_create_attach_object( __out void ** hdbgobj, __in void * hprocess, __in uint32_t flags); diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index 96b0974..634dd56 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -667,8 +667,8 @@ typedef struct _ntapi_vtbl { ntapi_log_msg * log_msg; /* nt_debug.h */ - ntapi_tt_create_debug_object * tt_create_debug_object; - ntapi_tt_create_attach_debug_object * tt_create_attach_debug_object; + ntapi_tt_debug_create_object * tt_debug_create_object; + ntapi_tt_debug_create_attach_object * tt_debug_create_attach_object; ntapi_tt_debug_execution_flow * tt_debug_execution_flow; ntapi_tt_debug_break_process * tt_debug_break_process; } ntapi_vtbl; diff --git a/project/common.mk b/project/common.mk index 508cc13..e581e9d 100644 --- a/project/common.mk +++ b/project/common.mk @@ -15,7 +15,7 @@ COMMON_SRCS = \ src/blitter/ntapi_blt_free.c \ src/daemon/ntapi_dsr_init.c \ src/daemon/ntapi_dsr_internal_connection.c \ - src/debug/ntapi_tt_create_debug_object.c \ + src/debug/ntapi_tt_debug_create_object.c \ src/debug/ntapi_tt_debug_break_process.c \ src/debug/ntapi_tt_debug_execution_flow.c \ src/fs/ntapi_tt_get_file_handle_type.c \ diff --git a/src/debug/ntapi_tt_create_debug_object.c b/src/debug/ntapi_tt_debug_create_object.c index b091d37..836943e 100644 --- a/src/debug/ntapi_tt_create_debug_object.c +++ b/src/debug/ntapi_tt_debug_create_object.c @@ -71,7 +71,7 @@ static void __dbg_sd_init(nt_sd_common_buffer * sd) } -int32_t __stdcall __ntapi_tt_create_debug_object( +int32_t __stdcall __ntapi_tt_debug_create_object( __out void ** hdbgobj, __in uint32_t flags) { @@ -98,7 +98,7 @@ int32_t __stdcall __ntapi_tt_create_debug_object( &oa,flags); } -int32_t __stdcall __ntapi_tt_create_attach_debug_object( +int32_t __stdcall __ntapi_tt_debug_create_attach_object( __out void ** hdbgobj, __in void * hprocess, __in uint32_t flags) @@ -106,7 +106,7 @@ int32_t __stdcall __ntapi_tt_create_attach_debug_object( int32_t status; void * hdebug; - if ((status = __ntapi_tt_create_debug_object(&hdebug,flags))) + if ((status = __ntapi_tt_debug_create_object(&hdebug,flags))) return status; if ((status = __ntapi->zw_debug_active_process(hprocess,hdebug))) { diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c index eff7eb1..94b6604 100644 --- a/src/internal/ntapi.c +++ b/src/internal/ntapi.c @@ -444,8 +444,8 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl) __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; + __ntapi->tt_debug_create_object = __ntapi_tt_debug_create_object; + __ntapi->tt_debug_create_attach_object = __ntapi_tt_debug_create_attach_object; __ntapi->tt_debug_execution_flow = __ntapi_tt_debug_execution_flow; __ntapi->tt_debug_break_process = __ntapi_tt_debug_break_process; diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h index 2f79a57..5d5f0f6 100644 --- a/src/internal/ntapi_fnapi.h +++ b/src/internal/ntapi_fnapi.h @@ -335,8 +335,8 @@ NTAPI_UFN(log_fn_call); NTAPI_UFN(log_msg); /* debug */ -NTAPI_UFN(tt_create_debug_object); -NTAPI_UFN(tt_create_attach_debug_object); +NTAPI_UFN(tt_debug_create_object); +NTAPI_UFN(tt_debug_create_attach_object); NTAPI_UFN(tt_debug_execution_flow); NTAPI_UFN(tt_debug_break_process); diff --git a/src/process/ntapi_tt_spawn_foreign_process.c b/src/process/ntapi_tt_spawn_foreign_process.c index 6f12f6a..1b63c23 100644 --- a/src/process/ntapi_tt_spawn_foreign_process.c +++ b/src/process/ntapi_tt_spawn_foreign_process.c @@ -384,7 +384,7 @@ int32_t __stdcall __ntapi_tt_spawn_foreign_process(nt_spawn_process_params * spa /* debug */ if (sparams->spawnflags & NT_PROCESS_SPAWN_FLAG_DEBUG_MASK) - if ((status = __ntapi->tt_create_attach_debug_object( + if ((status = __ntapi->tt_debug_create_attach_object( &sparams->hdbgobj, cparams.hprocess, NT_DEBUG_KILL_ON_EXIT))) |