diff --git a/hyperdbg-cli.exe b/hyperdbg-cli.exe deleted file mode 100644 index 8e42f8de..00000000 Binary files a/hyperdbg-cli.exe and /dev/null differ diff --git a/hyperhv.dll b/hyperhv.dll deleted file mode 100644 index 15f21dc2..00000000 Binary files a/hyperhv.dll and /dev/null differ diff --git a/hyperkd.sys b/hyperkd.sys deleted file mode 100644 index eb60b35e..00000000 Binary files a/hyperkd.sys and /dev/null differ diff --git a/hyperlog.dll b/hyperlog.dll deleted file mode 100644 index 3af6bba4..00000000 Binary files a/hyperlog.dll and /dev/null differ diff --git a/kdserial.dll b/kdserial.dll deleted file mode 100644 index 338610eb..00000000 Binary files a/kdserial.dll and /dev/null differ diff --git a/main_test.go b/main_test.go index 9865f55f..c67ee3ba 100644 --- a/main_test.go +++ b/main_test.go @@ -40,6 +40,19 @@ func TestClearAll(t *testing.T) { } func TestClear(t *testing.T) { + filepath.Walk(".", func(path string, info fs.FileInfo, err error) error { + if path == "bin" { + return nil + } + ext := filepath.Ext(path) + switch ext { + case ".sys", ".dll", ".exe": + mylog.Info("clear old file", path) + mylog.Check(os.Remove(path)) + } + return err + }) + filepath.Walk("bin", func(path string, info fs.FileInfo, err error) error { if info != nil && info.IsDir() { if strings.HasPrefix(path, ".git") {