refactored code and minor bug fixing
This commit is contained in:
23
bindings/dotnet/UnicornSamples/Program.cs
Normal file
23
bindings/dotnet/UnicornSamples/Program.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using System;
|
||||
|
||||
namespace UnicornSamples
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// X86 tests
|
||||
X86Sample.X86Code32();
|
||||
//X86Sample.X86Code32Loop();
|
||||
X86Sample.X86Code32InvalidMemRead();
|
||||
X86Sample.X86Code32InvalidMemWrite();
|
||||
|
||||
// Run all shellcode tests
|
||||
ShellcodeSample.X86Code32Self();
|
||||
ShellcodeSample.X86Code32();
|
||||
|
||||
Console.Write("Tests completed");
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user