MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / createTransaction

Function createTransaction

internal/etw/source_test.go:1452–1459  ·  view source on GitHub ↗

func copyFile(from *uint16, to *uint16) (regerrno error) { r0, _, _ := procCopyFile.Call(uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), uintptr(1)) if r0 != 0 { regerrno = syscall.Errno(r0) } return }

()

Source from the content-addressed store, hash-verified

1450//}
1451
1452func createTransaction() (handle windows.Handle, err error) {
1453 r0, _, e1 := syscall.SyscallN(procCreateTransaction.Addr(), 0, 0, 0, 0, 0, 0, 0, 0, 0)
1454 handle = windows.Handle(r0)
1455 if handle == windows.InvalidHandle {
1456 err = e1
1457 }
1458 return
1459}

Callers 1

testCallstackEnrichmentFunction · 0.85

Calls 1

HandleMethod · 0.80

Tested by

no test coverage detected