- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IsSystemDLL (0.14 sec)
-
src/internal/syscall/windows/sysdll/sysdll.go
// (currently: during init), and not concurrent with DLL loading. var IsSystemDLL = map[string]bool{} // Add notes that dll is a system32 DLL which should only be loaded // from the Windows SYSTEM32 directory. It returns its argument back, // for ease of use in generated code. func Add(dll string) string { IsSystemDLL[dll] = true return dll
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 22:38:00 UTC 2021 - 1.1K bytes - Viewed (0) -
src/syscall/dll_windows.go
// load system DLLs. func LoadDLL(name string) (*DLL, error) { namep, err := UTF16PtrFromString(name) if err != nil { return nil, err } var h uintptr var e Errno if sysdll.IsSystemDLL[name] { h, e = loadsystemlibrary(namep) } else { h, e = loadlibrary(namep) } if e != 0 { return nil, &DLLError{ Err: e, ObjName: name,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 7.7K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
// silently downloaded some malicious DLLs. os.Chdir(tmpdir) // First before we can load a DLL from the current directory, // loading it only as "nojack.dll", without an absolute path. delete(sysdll.IsSystemDLL, name) // in case test was run repeatedly dll, err = syscall.LoadDLL(name) if err != nil { t.Fatalf("failed to load %s by base name before sysdll registration: %v", name, err) } dll.Release()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0)