This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ntdll_windows.h> | |
#include <ntdll.h> | |
// extern "C" | |
// UINT_PTR | |
// NTAPI | |
// MwGenericCall( | |
// ULONG SyscallNumber, | |
// ULONG ArgumentCount, | |
// va_list ArgumentList |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Reflection; | |
using System.Reflection.Emit; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
public class Program | |
{ | |
static ModuleBuilder modb; | |
static Type type; |