Can you write a no-deps, kernel-only, windows program?
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HelloCLib Initial import Dec 2, 2016
HelloKernel
HelloNative Initial import Dec 2, 2016
HelloWin32
.gitignore
LICENSE.md Create LICENSE.md Dec 2, 2016
README.md Create README.md Dec 2, 2016
hello1.sln Initial import Dec 2, 2016

README.md

HelloKernel

Can you write a no-deps, kernel-only, windows program?

Start with a simple "Hello world" (written in a file), C console application, HelloCLib.

Step 1: remove all dependencies on the CRT (C Runtime library/DLL), use only Win32 functions: HelloWin32

Step 2: remove dependencies on kernel32 etc., and use only the Native API (ntdll.dll) HelloNative

Step 3: remove dependency on ntdll, trap directly into the kernel (ntoskrln): HelloKernel