Skip to content

chaplin89/Keystone.Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keystone.Net

.Net bindings for Keystone

##Usage

using(var keystone = new Keystone(KeystoneArchitecture.KS_ARCH_X86, KeystoneMode.KS_MODE_32, false))
{
   ulong address = 0;
   KeystoneEncoded enc = keystone.Assemble("xor eax, eax; jmp _j1", address);
   
   engine.ResolveSymbol += (string s, ref ulong w) =>
   {
     if (s == "_j1")
     {
       w = 0x1234abcd;
       return true;
     }
     return false;
   };
   
   ...
}

About

.Net bindings for Keystone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published