Skip to content

adrianyy/x64-syscall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

x64-syscall

x64 syscall caller in C++.

Usage examples (indexes from Windows 10, build 1803):

ObjectAttributes.Length = sizeof( OBJECT_ATTRIBUTES );
ClientId.UniqueProcess	= HANDLE( 1000 ); // PID

// NtOpenProcess
Syscall( 0x26, &Handle, PROCESS_TERMINATE, &ObjectAttributes, &ClientId );

// NtTerminateProcess
Syscall( 0x2C, Handle );
// NtQuerySystemInformation
const auto Status = Syscall< NTSTATUS >( 0x36, SystemProcessInformation, QueryBuffer.data( ), 
	( ULONG )QueryBuffer.size( ), &RequiredSize );

About

x64 syscall caller in C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published