Skip to content

Commit

Permalink
fix mgr
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkwork committed Jul 3, 2024
1 parent d1a3023 commit 67a81c4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 13 deletions.
Binary file modified libhyperdbg.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion libhyperdbg.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 10 additions & 12 deletions libhyperdbg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import (
"testing"
"unsafe"

"github.com/ddkwork/app/ms/driverTool/driver"

"github.com/ddkwork/golibrary/mylog"
"github.com/stretchr/testify/assert"
)
Expand All @@ -36,16 +34,16 @@ func TestSdk(t *testing.T) {
mylog.Call(func() {
assert.True(t, VmxSupportDetection())

Dependencies := []string{
"C:\\Windows\\System32\\drivers\\hyperhv.dll",
"C:\\Windows\\system32\\drivers\\hyperlog.dll",
"C:\\Windows\\system32\\drivers\\kdserial.dll",
}
d := driver.NewObject("HyperdbgHypervisorDevice", "C:\\Windows\\System32\\drivers\\hyperkd.sys")
d.SetDependencies(Dependencies)
d.Load("C:\\Windows\\System32\\drivers\\hyperkd.sys")
d.Unload()
return
//Dependencies := []string{
// "C:\\Windows\\System32\\drivers\\hyperhv.dll",
// "C:\\Windows\\system32\\drivers\\hyperlog.dll",
// "C:\\Windows\\system32\\drivers\\kdserial.dll",
//}
//d := driver.NewObject("HyperdbgHypervisorDevice", "C:\\Windows\\System32\\drivers\\hyperkd.sys")
//d.SetDependencies(Dependencies)
//d.Load("C:\\Windows\\System32\\drivers\\hyperkd.sys")
//d.Unload()
//return

mylog.Trace("InstallVmmDriver", InstallVmmDriver())
ConnectLocalDebugger()
Expand Down
Binary file modified pdbex.dll
Binary file not shown.
Binary file modified script-engine.dll
Binary file not shown.
Binary file modified symbol-parser.dll
Binary file not shown.

0 comments on commit 67a81c4

Please sign in to comment.