Skip to content

Commit

Permalink
changed test
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkwork committed Jul 18, 2024
1 parent 7c953f9 commit 044d5e2
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 4 deletions.
Binary file modified sdk/bin/hyperdbg-cli.exe
Binary file not shown.
Binary file modified sdk/bin/hyperhv.dll
Binary file not shown.
Binary file modified sdk/bin/hyperkd.sys
Binary file not shown.
Binary file modified sdk/bin/hyperlog.dll
Binary file not shown.
Binary file modified sdk/bin/kdserial.dll
Binary file not shown.
Binary file modified sdk/bin/libhyperdbg.dll
Binary file not shown.
Binary file modified sdk/bin/pdbex.dll
Binary file not shown.
Binary file modified sdk/bin/script-engine.dll
Binary file not shown.
Binary file modified sdk/bin/symbol-parser.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions sdk/sdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ func TestSdk(t *testing.T) {

mylog.Call(func() {
buffer := SetTextMessageCallbackUsingSharedBuffer(unsafe.Pointer(reflect.ValueOf(LogCallback).Pointer()))
gobuffer := BytePointerToString((*byte)(buffer))
println(gobuffer)
sharedBuffer := BytePointerToString((*byte)(buffer))
mylog.Info("SetTextMessageCallbackUsingSharedBuffer", sharedBuffer)
// SetTextMessageCallback(Callback(reflect.ValueOf(LogCallback).Pointer()))
})
//go func() {
Expand Down
4 changes: 2 additions & 2 deletions ux/ux.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ func newToolbar() *toolbar {
go func() {
mylog.Call(func() {
buffer := sdk.SetTextMessageCallbackUsingSharedBuffer(unsafe.Pointer(reflect.ValueOf(sdk.LogCallback).Pointer()))
gobuffer := sdk.BytePointerToString((*byte)(buffer))
println(gobuffer)
sharedBuffer := sdk.BytePointerToString((*byte)(buffer))
mylog.Info("SetTextMessageCallbackUsingSharedBuffer", sharedBuffer)
})
}()
}))
Expand Down

0 comments on commit 044d5e2

Please sign in to comment.