Skip to content

Commit

Permalink
todo panic: remove libhyperdbg.dll: Access is denied. [recovered]
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkwork committed Jul 3, 2024
1 parent a160bae commit 3257f9e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 0 deletions.
Binary file removed hyperdbg-cli.exe
Binary file not shown.
Binary file removed hyperhv.dll
Binary file not shown.
Binary file removed hyperkd.sys
Binary file not shown.
Binary file removed hyperlog.dll
Binary file not shown.
Binary file removed kdserial.dll
Binary file not shown.
13 changes: 13 additions & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 3257f9e

Please sign in to comment.