MCPcopy Create free account
hub / github.com/Binject/universal / NewLoader

Function NewLoader

universal.go:16–18  ·  view source on GitHub ↗

NewLoader - returns a new instance of a Loader

()

Source from the content-addressed store, hash-verified

14
15// NewLoader - returns a new instance of a Loader
16func NewLoader() (*Loader, error) {
17 return &Loader{}, nil
18}
19
20// LoadLibrary - loads a library into this process from the given buffer
21func (l *Loader) LoadLibrary(name string, image *[]byte) (*Library, error) {

Callers 12

mainFunction · 0.92
mainFunction · 0.92
mainFunction · 0.92
Test_Linux_1Function · 0.85
Test_Linux_2Function · 0.85
Test_Darwin_arm64_1Function · 0.85
Test_Darwin_arm64_2Function · 0.85
Test_Windows_MSVC_1Function · 0.85
Test_Windows_gcc_2Function · 0.85
Test_Windows_gcc_3Function · 0.85
Test_Windows_gcc_4Function · 0.85
Test_Windows_WrongArch_4Function · 0.85

Calls

no outgoing calls

Tested by 9

Test_Linux_1Function · 0.68
Test_Linux_2Function · 0.68
Test_Darwin_arm64_1Function · 0.68
Test_Darwin_arm64_2Function · 0.68
Test_Windows_MSVC_1Function · 0.68
Test_Windows_gcc_2Function · 0.68
Test_Windows_gcc_3Function · 0.68
Test_Windows_gcc_4Function · 0.68
Test_Windows_WrongArch_4Function · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…