Closed ApoIIy0n closed 1 year ago
Describe the bug The moment I compile a x64 dll I'm getting this exception the moment I add more than 1 yara rule (which are basic rules..)
To Reproduce compile with these settings in the project file `
<Lib> <AdditionalDependencies>jansson.lib;libcrypto.lib;%(AdditionalDependencies)</AdditionalDependencies> <SuppressStartupBanner>true</SuppressStartupBanner> <LinkTimeCodeGeneration>false</LinkTimeCodeGeneration> <AdditionalLibraryDirectories>..\packages\YARA.OpenSSL.x64.1.1.1\lib;..\packages\YARA.Jansson.x64.1.1.0\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> <AdditionalOptions>/IGNORE:4221</AdditionalOptions> </Lib> <Link> <AdditionalDependencies>msvcrt.lib;Ws2_32.lib;crypt32.lib;..\packages\YARA.Jansson.x64.1.1.0\lib\jansson.lib;..\packages\YARA.OpenSSL.x64.1.1.1\lib\libcrypto.lib;..\packages\YARA.OpenSSL.x64.1.1.1\lib\libssl.lib;kernel32.lib;user32.lib;gdi32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies> <LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration> <GenerateDebugInformation>No</GenerateDebugInformation> <ShowProgress>LinkVerboseLib</ShowProgress> </Link> <ProjectReference> <LinkLibraryDependencies>false</LinkLibraryDependencies> </ProjectReference>
`
Expected behavior A working proper dll
Please complete the following information:
Additional context Is there anyone who has knowledge how to compile a proper dll with this? I'm using an old version atm, but truly want to have the latest updates as well...
this is fixed with the latest commits!
Describe the bug The moment I compile a x64 dll I'm getting this exception the moment I add more than 1 yara rule (which are basic rules..)
To Reproduce compile with these settings in the project file `
`
Expected behavior A working proper dll
Please complete the following information:
Additional context Is there anyone who has knowledge how to compile a proper dll with this? I'm using an old version atm, but truly want to have the latest updates as well...