Implementation Of SysWhispers Direct System Call Technique In D.
$ python gen.py --type direct --functions NtAllocateVirtualMemory,NtProtectVirtualMemory,NtWriteVirtualMemory,NtCreateThreadEx --output syscalls.d
Thanks to SysWhispers2 for alot of ideas for this, SysWhispers2's inline assembly has been used in this project. KlezVirus for the function prototypes JSON file and SysWhispers3 project.
Due to the nature of C and D structs and them being different, Their conversion can be really tedious, Hence why I only made the generator output function definitions.