MCPcopy Create free account

hub / github.com/Binject/universal / functions

Functions46 in github.com/Binject/universal

↓ 18 callersFunctionput32be
(b []byte, x uint32)
codesign_darwin.go:185
↓ 12 callersMethodLoadLibrary
LoadLibrary - loads a library into this process from the given buffer
universal.go:21
↓ 12 callersFunctionNewLoader
NewLoader - returns a new instance of a Loader
universal.go:16
↓ 8 callersMethodCall
Call - call a function in a loaded library
loader_linux.go:64
↓ 4 callersMethodCall
Call - call a function in a loaded library
loader_darwin.go:367
↓ 4 callersMethodFindProc
FindProc - returns the address of the given function from the given library
universal.go:33
↓ 4 callersFunctionput64be
(b []byte, x uint64)
codesign_darwin.go:186
↓ 4 callersFunctionput8
(b []byte, x uint8)
codesign_darwin.go:187
↓ 3 callersMethodFindProc
FindProc - returns the address of the given function in this library
universal.go:44
↓ 2 callersFunctionSize
Size computes the size of the code signature. id is the identifier used for signing (a field in CodeDirectory blob, which has no significance in ad-ho
codesign_darwin.go:193
↓ 2 callersFunctionisPtrValid
(p uintptr)
loader_darwin.go:314
↓ 2 callersFunctionisSierra
()
loader_darwin.go:29
↓ 2 callersFunctionputs
(b, s []byte)
codesign_darwin.go:188
↓ 2 callersFunctionvirtualAlloc
(addr uintptr, size, allocType, protect uint32)
loader_windows.go:123
↓ 1 callersMethodCall
Call - call a function in a loaded library cribbed from: https://golang.org/src/Syscall/dll_windows.go On amd64, Call can pass and return floating-p
loader_windows.go:147
↓ 1 callersFunctionCopySections
CopySections - writes the sections of a PE image to the given base address in memory
loader_windows.go:74
↓ 1 callersFunctionLoadLibraryDlopen
LoadLibraryDlopen - loads a single library using dlopen and resolves all exported symbols using dlsym. This function writes to a temporary file and th
loader_darwin.go:164
↓ 1 callersFunctionLoadLibraryImpl
LoadLibraryImpl - loads a single library to memory, without trying to check or load required imports
loader_linux.go:15
↓ 1 callersFunctionSign
Sign generates an ad-hoc code signature and writes it to out. out must have length at least Size(codeSize, id). data is the file content without the s
codesign_darwin.go:208
↓ 1 callersFunctionfindMacho
(addr uintptr, increment uint32)
loader_darwin.go:322
↓ 1 callersFunctionfindMachoPtr
(addr uintptr)
loader_darwin.go:343
↓ 1 callersFunctionmachoCodeSign
machoCodeSign - sign the macho file This code has been borrowed from https://github.com/golang/go/blob/master/src/cmd/internal/codesign/codesign.go
codesign_darwin.go:276
↓ 1 callersMethodput
(out []byte)
codesign_darwin.go:84
↓ 1 callersMethodput
(out []byte)
codesign_darwin.go:99
↓ 1 callersMethodput
(out []byte)
codesign_darwin.go:133
↓ 1 callersFunctionreadCString
(pathFileOffset uint64)
loader_darwin.go:300
↓ 1 callersFunctionsyscallSharedRegionCheckNp
()
loader_darwin.go:20
FunctionDllMain
test/src/TestDLL/TestDLL/dllmain.cpp:4
FunctionFindCodeSigCmd
(f *macho.File)
codesign_darwin.go:168
FunctionLoadLibraryImpl
LoadLibraryImpl - loads a single library to memory, without trying to check or load required imports
loader_darwin.go:45
FunctionLoadLibraryImpl
LoadLibraryImpl - loads a single library to memory, without trying to check or load required imports
loader_windows.go:24
FunctionRunme
test/src/main_dll/main.cpp:4
FunctionRunme
Test function
test/src/TestDLL/TestDLL/Test.cpp:6
FunctionTest_Darwin_arm64_1
(t *testing.T)
darwin_test.go:42
FunctionTest_Darwin_arm64_2
(t *testing.T)
darwin_test.go:79
FunctionTest_DyldToBundle_arm64_1
are we on a 32bit or 64bit system?
darwin_test.go:18
FunctionTest_Linux_1
(t *testing.T)
linux_test.go:13
FunctionTest_Linux_2
(t *testing.T)
linux_test.go:41
FunctionTest_Windows_MSVC_1
are we on a 32bit or 64bit system?
windows_test.go:18
FunctionTest_Windows_WrongArch_4
(t *testing.T)
windows_test.go:153
FunctionTest_Windows_gcc_2
(t *testing.T)
windows_test.go:61
FunctionTest_Windows_gcc_3
(t *testing.T)
windows_test.go:93
FunctionTest_Windows_gcc_4
(t *testing.T)
windows_test.go:125
Functionmain
()
examples/linux_example/main.go:12
Functionmain
()
examples/windows_example/main.go:15
Functionmain
()
examples/darwin_example/main.go:12