From f8168415ec6b7c3c46661790900fff72eab7b674 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 14 Sep 2019 20:14:54 +0000 Subject: nt32/nt64: debug interfaces: defined struct __dbg_module_info. --- include/sys/debug.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include/sys') diff --git a/include/sys/debug.h b/include/sys/debug.h index edeb294..fa285bf 100644 --- a/include/sys/debug.h +++ b/include/sys/debug.h @@ -163,6 +163,21 @@ struct __dbg_event { const char * image_dpath; }; +/* debug loaded module alpha definition */ +struct __dbg_module_info { + void * module_base; + void * module_record; + + char * module_name; + void * module_ctx; + + int module_key; + uint32_t module_flags; + + uint64_t module_qpc; + uint64_t module_reserved; +}; + /* pid (or syspid) --> debug file descriptor */ int __dbg_attach(pid_t); int __dbg_detach(int); -- cgit v1.2.3