Commit graph

49 commits

Author SHA1 Message Date
Nikzad
2dfbf46e51 c/cpp files 2026-08-06 21:13:03 +03:30
sina
a24c8c0a91 cleanup for resync serial codes and update CHANGELOG.md
Some checks are pending
vs2026-ci / win-amd64-build (debug, x64) (push) Waiting to run
vs2026-ci / win-amd64-build (release, x64) (push) Waiting to run
vs2026-ci / Deploy release (push) Blocked by required conditions
2026-08-01 20:49:02 +02:00
munraimix
b2b98033ef Resync libhyperdbg's serial receivers on framing overflow too
The debuggee-side hyperkd fix stops the driver flooding, but the same
delimiter-only framing with a blind retry loop also lives in the
user-mode receivers. Mirror the resync there so an unclean disconnect
does not flood the console either: KdReceivePacketFromDebuggee,
KdReceivePacketFromDebugger, and the ListeningSerialPortInDebuggee loop.
On overflow with no end-of-buffer marker, warn once per episode and
discard to the next frame boundary (bounded by SERIAL_RESYNC_MAX_BYTES)
instead of returning into the still-desynced stream.

Refs #661
2026-07-27 22:40:06 +10:00
sina
7911465b93 cleanup ucpuid command codes 2026-07-23 10:03:35 +02:00
Nikzad
b1b9680ce6 cpuid: some changes for improvement 2026-07-22 21:21:17 +03:30
Sina Karvandi
6324c1d718
Merge pull request #650 from nikzad66/feature-cpuid-command
Feature cpuid command
2026-07-21 14:28:37 +02:00
Nikzad
632db21290 user: implement ucpuid command in user mode- Add ucpuid.cpp with leaf/sub-leaf decoding
- Implement CPUID command parser and dispatcher
- Add remote CPUID support via KdSendUserCpuidPacketToDebuggee()
- Implement response handler in kernel-listening.cpp
- Add proper validation for FunctionId and SubFunctionId
- Support hex and decimal input formats
2026-07-19 18:15:43 +03:30
Max Raulea
38a59b795f Some new lib calls and reverted sleep macro to function
Some checks are pending
vs2026-ci / win-amd64-build (debug, x64) (push) Waiting to run
vs2026-ci / win-amd64-build (release, x64) (push) Waiting to run
vs2026-ci / Deploy release (push) Blocked by required conditions
2026-07-17 17:54:05 +02:00
Max Raulea
2a2425dc68 compiling kd.cpp on linux
Some checks failed
vs2026-ci / win-amd64-build (release, x64) (push) Has been cancelled
vs2026-ci / win-amd64-build (debug, x64) (push) Has been cancelled
vs2026-ci / Deploy release (push) Has been cancelled
2026-07-16 15:00:03 +02:00
maxraulea
31b514f8df Interface Linux for the serial port 2026-06-10 16:29:35 +02:00
sina
a6421bec2b add module checks based on command requirements 2026-06-08 23:45:43 +02:00
sina
1e49d3f05c refactor doxygen, variables, function names 5 2026-05-31 18:34:03 +02:00
sina
e31731cd37 remove unused extern variables 2026-05-29 00:34:08 +02:00
sina
d669d93d81 add packet and messaging files 2026-05-29 00:10:44 +02:00
sina
167931fc01 load the vmm module over IOCTL instead of CreateFile 2026-05-26 19:52:04 +02:00
sina
09416e7fe1 add lbrdump command and sdk function 2026-05-04 00:29:54 +02:00
sina
c6b6a8a3a0 add processor trace command 2026-04-25 22:46:55 +02:00
sina
1dd73675e9 apply the LBR and HyperTrace initialization and operations 2026-04-06 01:05:59 +02:00
sina
2329fd3c19 add user mode side of initializing LBR 2026-04-05 22:56:59 +02:00
sina
3f6d837a62
run script for modifying registers in the user debugger 2025-08-31 16:53:09 +02:00
unknown
87f32fb5d0 add user debugger command synchronization event 2025-08-30 03:37:10 +02:00
sina
3961196112
add support for SMI related functionalities 2025-08-02 23:18:18 +02:00
sina
e8e0489a6b
fix removing process from pausing list 2025-06-29 20:22:51 +02:00
Björn Ruytenberg
29cf8e8839 pcicam: Disable querying for BAR sizes
The current method for determining BAR sizes appears to generate unreliable results. For now, do not query devices for BAR sizes.
2025-02-23 20:55:07 +01:00
sina
4ed399e2d6 fix the merging issues (compile error) and updating CHANGELOG.md 2025-02-13 17:28:09 +01:00
Sina Karvandi
ee17e49bfc
Merge branch 'dev' into add-pcie-support 2025-02-13 17:13:19 +01:00
Björn Ruytenberg
bdb2583383 pcicam: Add support for Bridge header type; add initial support for determining BARs and their sizes 2025-01-27 16:14:43 +01:00
Björn Ruytenberg
0931ecb47d pcicam: Add initial support for dumping PCI config space (CAM) 2025-01-14 14:55:01 +01:00
SinaKarvandi
23702ca4f1 add query IDT command 2024-12-30 04:37:15 +01:00
Björn Ruytenberg
3a56de4a14 pcitree: Look up PCI IDs using pciutils PCI ID database 2024-12-10 16:04:06 +01:00
Björn Ruytenberg
453dff9ac4 Merge branch 'dev' into add-pcie-support 2024-12-02 15:49:27 +01:00
SinaKarvandi
1ebe1ada38 change and add links for increasing communication buffer size and EPT hooks in a single page 2024-11-27 14:16:41 +01:00
Björn Ruytenberg
29071cad41 pcitree: Send PCI device tree in one flattened buffer. Add EP Class Code and remove BDF probing limits. 2024-11-17 21:01:03 +01:00
Björn Ruytenberg
9fb0360384 pcitree: Add initial version. Enumerates all PCIe EP's VID-DIDs. 2024-11-17 15:33:10 +01:00
Björn Ruytenberg
14a679a8dc
Merge branch 'dev' into add-pcie-support 2024-11-12 19:18:52 +01:00
Björn Ruytenberg
f0123c8790 pcitree: Initial work to add pcitree command 2024-11-12 19:14:48 +01:00
SinaKarvandi
851375ec15 add local apic command 2024-11-08 21:00:21 +01:00
SinaKarvandi
f09fc83643 store APIC fields in user-mode constructed structures 2024-11-08 18:46:52 +01:00
SinaKarvandi
f587313425 Implemented feature to pause the debuggee immediately upon connection 2024-07-28 16:57:28 +09:00
SinaKarvandi
1e4e8fd6f0 add auto-pause after connecting to debuggee 2024-07-25 17:45:55 +09:00
SinaKarvandi
22ffc4fab5 Fix the problem of repeating commands once kHyperDbg is disconnected 2024-07-13 22:35:09 +09:00
SinaKarvandi
8f1f0f2e74 add SDK API for getting the kernel base address 2024-07-12 18:25:34 +09:00
SinaKarvandi
6197407eb6 add unified memory editing API 2024-07-10 18:36:11 +09:00
SinaKarvandi
386b3e9a10 fix step-over hangs, if process is terminated (#406) 2024-07-10 15:37:45 +09:00
SinaKarvandi
7c3b7a68f9 add register writing function 2024-07-07 21:44:07 +09:00
SinaKarvandi
2d6f657d87 add reading register SDK API 2024-07-07 19:50:01 +09:00
SinaKarvandi
556efd2bd3 add a unified memory reading function 2024-07-06 21:16:45 +09:00
SinaKarvandi
63d09b12f8 fix load vmm SDK exported function 2024-07-03 19:16:14 +09:00
SinaKarvandi
48c362255e build based on new libhyperdbg 2024-06-24 18:05:54 +09:00