Commit graph

17 commits

Author SHA1 Message Date
Max Raulea
11c2ea9b7c Kernel mode stubs one line fills
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-09-20 14:01:04 +02:00
Max Raulea
7bcb464fce windows fix 2026-08-24 11:31:33 +02:00
Max Raulea
2f59ad7c70 Kernel Module now Links and compiles!!
The kernel module now links and compiles, there are still a lot of empty
TODOs left, there are empty stubs for hypertrace, assembly files and
kdserial etc. these can be introduced one by one. My first step will be
loading the kernel module from the userspace cli.

Big step forward! :)
2026-08-24 11:20:24 +02:00
Max Raulea
26a6415b70 new platform API functions 2026-08-23 13:04:20 +02:00
Max Raulea
e439fd38d3 Added new platform API functions and changed them in the source code 2026-08-23 13:04:20 +02:00
Max Raulea
ec7e4207c4 New platform functions added for hyperhv compilation 2026-08-23 13:04:20 +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
maxraulea
6c97d86610 Hopefully fix build errors V2 2026-06-10 16:29:35 +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
sina
f1f0e50e08 create empty pch hearder for linux compiler 2026-04-27 23:23:01 +02:00
sina
d3cfd7b5d9 create different headers for basic types in Linux 2026-04-27 21:22:43 +02:00
sina
71fedff180 add basic structure of intrinsics functions 2026-04-27 16:53:36 +02:00
alish14
9e8dcba265 add dummy pch for handling error in linux 2026-02-13 12:25:26 +03:30
alish14
44f79b6bb9 add if condition macro in PlatformMem for including header only in windows 2026-02-13 12:25:26 +03:30
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