sina
d37352fd7e
fix the error for referencing guest registers twice in both kd and vmx codes
2026-07-19 19:39:33 +02:00
munraimix
7436b35fd0
Fix DRIVER_IRQL_NOT_LESS_OR_EQUAL when reading registers on a manually-halted core
...
In Debugger Mode, breaking the debuggee and then reading registers (e.g. the
'r' command) could bugcheck the debuggee with DRIVER_IRQL_NOT_LESS_OR_EQUAL
(0xD1) at IRQL 0xff.
Root cause: DebuggerCommandReadRegisters() copies GUEST_REGS from
DbgState->Regs, but the per-core DbgState->Regs is only populated on the
event-triggered halt paths. A core halted via a manual break
(DEBUGGER_VMCALL_VM_EXIT_HALT_SYSTEM) or via the NMI broadcast (KdHandleNmi)
never had DbgState->Regs set, so it was NULL and the GUEST_REGS memcpy
dereferenced address 0.
Fix:
- Add VmFuncGetGuestRegs(CoreId) returning g_GuestState[CoreId].Regs (the
guest GP registers saved on the last vm-exit).
- Populate DbgState->Regs from it on the two manual-halt entry points
(DEBUGGER_VMCALL_VM_EXIT_HALT_SYSTEM and KdHandleNmi) so register reads on a
manually-halted core return the correct values.
- Add a defensive NULL check in DebuggerCommandReadRegisters().
2026-07-19 16:53:34 +10:00
sina
5e5f277e21
fix race condition error in pool manager
2026-06-09 19:34:58 +02:00
sina
aa09f9cde3
check to unload the trace module before unloading vmm
2026-06-06 23:45:18 +02:00
sina
0aedc66ed0
add load and unload hyper trace module
2026-06-06 17:18:14 +02:00
Sina Karvandi
67d8d461bd
Merge pull request #603 from HyperDbg/trace-module
...
vs2022-ci / win-amd64-build (debug, x64) (push) Has been cancelled
vs2022-ci / win-amd64-build (release, x64) (push) Has been cancelled
vs2022-ci / Deploy release (push) Has been cancelled
Trace module
2026-06-06 00:34:16 +02:00
sina
5309211043
Fix pool manager corruption of linked lists
2026-06-06 00:33:21 +02:00
jtaw5649
986ef9f085
fix(debugger): unlink actions before free
2026-06-05 14:59:18 +01:00
sina
adfe5f7d14
uninit VMM and KD separately
2026-06-04 00:55:05 +02:00
sina
b6b8320518
moving pool mananger from hyperhv to hyperkd
2026-06-04 00:06:41 +02:00
sina
ef2a482c45
refactor doxygen, variables, function names 6
2026-05-31 18:59:52 +02:00
sina
cb5a83096d
load trace module
2026-05-28 20:26:33 +02:00
sina
e359911d60
add base structure for Intel PT
2026-04-25 21:42:17 +02:00
sina
3cbf328fee
Restructure of the hypertrace project
2026-04-25 18:02:48 +02:00
Sina Karvandi
54c2a9923b
Merge pull request #576 from HyperDbg/LBR
...
Lbr
2026-04-23 16:44:08 +02:00
copilot-swe-agent[bot]
774d61782f
fix: correct typos and one copy-paste error in comments and messages
...
Agent-Logs-Url: https://github.com/HyperDbg/HyperDbg/sessions/0817c887-8808-4080-a701-6a0211b10595
Co-authored-by: SinaKarvandi <13383992+SinaKarvandi@users.noreply.github.com>
2026-04-23 12:38:48 +00:00
sina
f192c194df
initialize the LBR based on hypervisor environment checks
2026-04-22 17:43:23 +02:00
sina
1dd73675e9
apply the LBR and HyperTrace initialization and operations
2026-04-06 01:05:59 +02:00
sina
13f2b63053
fix checks for parameters of the XSETBV extension command
2025-08-21 19:48:37 +02:00
sina
77029f330d
add XSETBV event extension command
2025-08-21 00:17:26 +02:00
sina
e5326f895d
move breakpoint initialization to debugger from kd
2025-06-28 10:06:30 +02:00
SinaKarvandi
b7b2b303d8
add new description for changing script engine constants
2025-01-25 18:37:54 +01:00
xmaple555
211295bf81
update symbol structure and stack buffer in script engine
2024-08-23 22:33:36 +08:00
xmaple555
0aba9b5a1b
update script-engine 1
2024-07-24 21:25:55 +08:00
xmaple555
36b648eac6
update the user-defined function of the script-engine
2024-07-20 11:58:17 +08:00
xmaple555
a0abb047a8
add _SCRIPT_ENGINE_CODEEXEC_DBG_EN and stack buffer overflow check in script-engine
2024-07-19 19:17:46 +08:00
SinaKarvandi
c8113aa796
Fix triggering multiple monitor hooks with different contexts ( #415 )
2024-07-08 17:50:40 +09:00
SinaKarvandi
48c362255e
build based on new libhyperdbg
2024-06-24 18:05:54 +09:00