Commit graph

49 commits

Author SHA1 Message Date
Max Raulea
9a1db34a4d fix build 2026-08-23 14:29:04 +02:00
Max Raulea
a02a0a25fd Port hyperlog to the Linux kernel module
Logging.c and UnloadDll.c compile and link into HyperDbg.ko, along with
the two components that were waiting on the logging layer (BinarySearch,
OptimizationsExamples).

- new PlatformStr.{h,c}: PlatformVsnprintf/Sprintf/Strnlen replace
  vsprintf_s/sprintf_s/strnlen_s; PlatformSprintf moved here out of
  PlatformMem so both spellings return -1 on truncation
- BasicTypes.h: IRP/IO_STACK_LOCATION/IO_STATUS_BLOCK/UNICODE_STRING
  grow the members shared code touches, plus the NT status and access
  constants the notify path needs
- Environment.h: RTL_NUMBER_OF, _Analysis_assume_, ASSERT -> WARN_ON
- PlatformEvent: ExEventObjectType placeholder token
- HyperLogCallback.c stays out of the module: it defines the same
  LogCallback* entry points as Logging.c (it is the per-DLL forwarding
  shim on Windows), so in one link unit it is a duplicate symbol
2026-08-14 16:25:37 +02:00
Max Raulea
a7d6535442 Add files to the build files
Hopefully fixes build issue
2026-08-14 15:41:00 +02:00
sina
5a0fad4901 add WDK and SDK NuGet packages and Fix CI/CD
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-06-21 03:02:49 +02:00
sina
ff1f499b9f refactor doxygen, variables, function names 1 2026-05-30 20:58:09 +02:00
sina
6eca8c6c85 refactor code convention in hyperlog 2026-05-30 15:54:20 +02:00
sina
90337d37f7 refactoring codes for platform independence of hyperlog and hypertrace and script-eval 2026-05-10 00:58:47 +02:00
sina
de0c56b466 create platform independent intrinsics functions 2026-05-05 21:25:20 +02:00
sina
c5ba5ccd89 compile HyperDbg SDK for Linux 2026-04-28 14:39:54 +02:00
sina
b35e0dd43c clearing the headers for Windows and Linux 2026-04-28 01:24:43 +02:00
sina
dc085fbe2a remove PlatformTypes and merge it to GeneralTypes 2026-04-27 23:55:04 +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
alish14
f40f1d8183 fix dependecies after changing file names and now it work 2026-02-13 12:25:05 +03:30
alish14
0ffe8c714c change arch and file names 2026-02-13 12:12:44 +03:30
alish14
5f00c98583 updates cmakes 2026-02-13 12:12:44 +03:30
sina
2fdf0f59de
Restore release build optimizations and fix CPUID register restoration 2025-07-26 01:53:43 +02:00
Björn Ruytenberg
30201f6435 Temporarily work around Visual Studio 17.14.8 compiler optimization bug 2025-07-23 18:14:36 +02:00
sina
3d73a95b8f
check for uninitializing memory pools for the debugger 2025-07-15 00:02:11 +02:00
sina
04e3e1e6f5
update versioning and changelog 2025-06-04 20:10:20 +02:00
unknown
0d5ee6ab60 implement microsleep function 2025-06-02 11:26:48 +02:00
Christian Zimmerer
bb8db803b6 Update C++ standard to C++20 2025-01-17 21:28:13 +01:00
Admin
2a2283de1d fix cmake 2024-08-07 14:58:16 +08:00
SinaKarvandi
a9ba979abc change SDK folders to lowercase 2024-07-28 20:42:48 +09:00
SinaKarvandi
5e26626f91 rename SDK folders 2024-07-28 19:55:51 +09:00
SinaKarvandi
1e3f8f385c create global SDK example directory for APIs 2024-07-28 19:44:53 +09:00
Admin
d336d66a80 auto generated CMakeLists.txt files for all the projects 2024-07-01 19:01:04 +08:00
SinaKarvandi
b165f56a7b add date and time pseudo-registers (#397) 2024-06-30 20:59:41 +09:00
SinaKarvandi
c4cd890f85 divide user/kernel exported headers 2024-06-24 21:06:23 +09:00
SinaKarvandi
0dad558ef0 fix GO binding issues 2024-06-24 20:41:43 +09:00
unknown
f1247d1b74 fix Windows environment headers for kernel drivers 2024-05-12 15:30:04 +09:00
unknown
53059bbac0 add pre-compiled headers for hyperlog and add platform 2024-05-11 22:03:55 +09:00
Sinaei
1dbc3430af fix spelling typos 4 2024-03-17 18:49:51 +09:00
Sinaei
696fb551db fix spelling typos 3 2024-03-17 18:17:38 +09:00
Sinaei
769eddf1bd fix linker warnings for kernel modules 2024-03-11 12:47:41 +09:00
Sinaei
af61569f87 fix hyperlog warnings 2024-03-03 22:12:23 +09:00
Sinaei
957136ac44 unifying core count and current cores 2024-03-03 16:27:16 +09:00
Sinaei
a11e4c58c7 fix warnings 1 2024-02-29 19:26:14 +09:00
Sinaei
773bec33b3 check if clearing priority buffer is full or not 2023-11-08 14:45:57 +09:00
Sinaei
3860ecc0fd fix warnings of scripts 2023-09-11 22:32:30 +09:00
Sinaei
cc1f835ac0 update KeGetCurrentProcessorNumber to KeGetCurrentProcessorNumberEx (thanks to @Air14 for mentioning it) 2023-09-05 18:04:21 +09:00
Sinaei
0c6ab51ee4 fix unloading problem (#238) 2023-07-06 16:12:28 +09:00
Sinaei
1fa06c0b5a fix buffer overlap in VMX-root in hyperlog 2023-06-11 19:30:30 +09:00
unknown
51854f1aa9 add track command to trace function calls and rets 2023-05-05 22:03:00 +09:00
unknown
67c744affa avoid using stack in hyperlogger 2023-04-26 12:36:25 +09:00
unknown
2358accfaa add ioctl for mode based hooks 2023-03-23 18:42:33 +09:00
unknown
32d30ff3df standardize logging callbacks 2023-01-29 07:12:19 +09:00
unknown
43c59c8230 share spinlock between kd and hv and hyperlog 2023-01-23 22:58:55 +09:00
unknown
05aa51aad0 add intrinsics to export logging functions 2023-01-15 12:04:20 +09:00
unknown
d7058f1d28 make message tracing as hyperlog project 2023-01-15 11:00:18 +09:00