pub fn open(path: []const u8) Error!DynLib
Trusts the file. Malicious file will be able to execute arbitrary code.
path: []const u8
32 33 34 35 36 37 38
pub fn open(path: []const u8) Error!DynLib { if (InnerType == ElfDynLib) { return .{ .inner = try InnerType.open(path, null) }; } else { return .{ .inner = try InnerType.open(path) }; } }
Trusts the file. Malicious file will be able to execute arbitrary code.