static void Main(string[] args) { // Note: Build config "Fuzz" must be set for debugging in VS // To verify a crash switch to Debug in the configuration manager and uncomment the following lines //var stream = File.OpenRead(@".\findings\crashes\id%3A000001,sig%3A02,src%3A000000,op%3Ahavoc,rep%3A64"); //Base64_Url_Decode(stream); //return; if (args.Length < 1) { Console.WriteLine("Fuzzing method must be given"); Environment.Exit(1); } switch (args[0]) { case "PrintSimdInfo": SimdInfo.PrintSimdInfo(Console.Out); break; case "Base64_Default_Decode": Fuzzer.Run(Base64_Default_Decode); break; case "Base64_Url_Decode": Fuzzer.Run(Base64_Url_Decode); break; default: Console.WriteLine($"Unknown fuzzing function: {args[0]}"); Environment.Exit(2); throw null; } }
static void Main(string[] args) { SimdInfo.PrintSimdInfo(Console.Out); BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args); }
public void OneTimeSetup() => SimdInfo.PrintSimdInfo(TestContext.Progress);