forked from HyperDbg/gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.go
43 lines (37 loc) · 916 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package main
import (
"github.com/ddkwork/HyperDbg/ux"
"github.com/ddkwork/app"
"github.com/ddkwork/unison"
)
// RtlGenRandom
func main() {
// testSdkCommands()
ux.Run()
// testDisassembly()
// testParsePe()
// testScript()
}
func testSdkCommands() {
app.Run("commands", func(w *unison.Window) {
// w.Content().AddChild(sdk.LayoutCommands())
})
}
func testDisassembly() {
app.Run("asm", func(w *unison.Window) {
// w.Content().AddChild(ux.LayoutDisassemblyTable("C:\\Users\\Admin\\Desktop\\tutorial1.exe"))//32 bit not work
ux.TargetExePath = "sdk/bin/hyperdbg-cli.exe"
w.Content().AddChild(ux.LayoutDisassemblyTable())
})
}
func testParsePe() {
app.Run("pe", func(w *unison.Window) {
ux.TargetExePath = "sdk/bin/hyperlog.dll"
w.Content().AddChild(ux.LayoutPeView())
})
}
func testScript() {
app.Run("script", func(w *unison.Window) {
w.Content().AddChild(ux.LayoutScript())
})
}