Commit graph

15 commits

Author SHA1 Message Date
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
90337d37f7 refactoring codes for platform independence of hyperlog and hypertrace and script-eval 2026-05-10 00:58:47 +02:00
sina
b35e0dd43c clearing the headers for Windows and Linux 2026-04-28 01:24:43 +02:00
alish14
f40f1d8183 fix dependecies after changing file names and now it work 2026-02-13 12:25:05 +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
Christian Zimmerer
bb8db803b6 Update C++ standard to C++20 2025-01-17 21:28:13 +01:00
unknown
53059bbac0 add pre-compiled headers for hyperlog and add platform 2024-05-11 22:03:55 +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
0c6ab51ee4 fix unloading problem (#238) 2023-07-06 16:12:28 +09:00
unknown
43c59c8230 share spinlock between kd and hv and hyperlog 2023-01-23 22:58:55 +09:00
unknown
d7058f1d28 make message tracing as hyperlog project 2023-01-15 11:00:18 +09:00