http://bugs.winehq.org/show_bug.cgi?id=58903
Bug ID: 58903 Summary: OleviewDotnet fails to start. Product: Wine Version: 10.18 Hardware: x86-64 URL: https://cdn.powershellgallery.com/packages/oleviewdotn et.1.16.0.nupkg OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: ole32 Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: Debian
Created attachment 79584 --> http://bugs.winehq.org/attachment.cgi?id=79584 patch with two stubs
This is like oleview, with several extra options and using .net.
It fails to start with messageboxes that it cannot find entrypoints for CoGetSystemSecurityPermissions and RtlGetSecurityDescriptorRMControl.
Attached patch with stubs (and test for CoGetSystemSecurityPermissions) makes the application start.
Steps to reproduce:
wget https://cdn.powershellgallery.com/packages/oleviewdotnet.1.16.0.nupkg && 7z x oleviewdotnet.1.16.0.nupkg && wine OleViewDotNet.exe
RtlGetSecurityDescriptorRMControl seems undocumented, it seems to come from used library from https://github.com/googleprojectzero/sandbox-attacksurface-analysis-tools/bl... --> [DllImport("ntdll.dll")] [return: MarshalAs(UnmanagedType.U1)] public static extern bool RtlGetSecurityDescriptorRMControl(SafeBuffer SecurityDescriptor, out byte RmControl);