aboutsummaryrefslogtreecommitdiff
path: root/CRT
Commit message (Collapse)AuthorAge
* Added MmMapIoSpaceEx.Toni Uhlig2024-05-28
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added basic CXX string obfuscation via constexpr.Toni Uhlig2023-12-23
| | | | | | | * obfuscate functions names retrieved via MmGetSystemRoutineAddress * add two new static libs: libcnative (C-only) and libcxxnative (CXX-only) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added MmCopyVirtualMemory. Fixed ZwProtectVirtualMemory.Toni Uhlig2023-12-22
| | | | | | * Note: only Win10 x64 supported at the moment Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Partial SEH support.Toni Uhlig2023-11-15
| | | | | | | * Removed linker script; .edata *and* .pdata required by MingW for SEH. * Removed buggy `-fdata-sections` and `-ffunction-sections`. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added ObOpenObjectByPointer, MmCopyMemory, RtlLookupFunctionEntry, ↵Toni Uhlig2023-11-15
| | | | | | | | ZwProtectVirtualMemory wrapper. * Improved wrapper generator script. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added `::to_string_hex()`.Toni Uhlig2023-09-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added ZwQueryVirtualMemory / ZwQuerySystemInformation to Zw wrapper.Toni Uhlig2023-09-26
| | | | | | * ExAllocatePoolWithTag allocates paged memory if size is greater than page size Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added ::from_unicode to convert unicode strings to ansi string in kernel mode.Toni Uhlig2023-09-15
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Vsnprintf's a warning into the buffer if eastl::to_string is used.Toni Uhlig2023-09-15
| | | | | | * unfortunately, a compile time warning is not feasable w/o modifying EASTL sources Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added `nanoprintf.h` header only library to implement `::to_string` functions.Toni Uhlig2023-09-15
| | | | | | * `eastl::to_string` does not work for now Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added ThreadArgs, Event, WorkItem.Toni Uhlig2023-09-12
| | | | | | | * added/modified WorkQueue example * enable additional EASTL features in user space Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved WorkQueue / WorkItem.Toni Uhlig2023-07-21
| | | | | | * make use of C++ paradigms instead of C Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added wrapper generator for functions that require an import library.Toni Uhlig2023-07-04
| | | | | | | * generate wrapper functions that can be retrieved via `MmGetSystemRoutineAddress` * for now, only ZwTraceControl and ZwTraceEvent from ntdll are used Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added _enable()/_disable() intrinsic functions to enable/disable maskable ↵Toni Uhlig2023-06-02
| | | | | | interrupts. Fixes #3. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Implemented WorkQueue's as they are pretty common in WDK.Toni Uhlig2022-09-10
| | | | | | * added calloc() symbol Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Circle-CIToni Uhlig2021-08-01
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Set DriverUnload callback after DriverEntry called. Added appropriate README ↵Toni Uhlig2021-07-29
| | | | | | advisory. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed ctor/dtor issue allowing use of static qualifiers for non primitives.Toni Uhlig2021-07-28
* split CRT in a C and C++ part * use "fake" entry point to init CRT and set a DriverUnload routine for de-init * added -Wl,--exclude-all-symbols to DRIVER_LDFLAGS Signed-off-by: Toni Uhlig <matzeton@googlemail.com>