zyantific / zydis

Fast and lightweight x86/x86-64 disassembler and code generation library
https://zydis.re
MIT License
3.38k stars 437 forks source link

Compile error in VS2019 #446

Closed ByteWhite1x1 closed 11 months ago

ByteWhite1x1 commented 1 year ago

Hi.

https://www.unknowncheats.me/forum/3809211-post1.html

No matter what I did. I continue to get the following error:

Error LNK2001 unresolved external symbol __guard_eh_cont_table ZydisWinKernel C:\temp\zydis\msvc\examples\BufferOverflowK.lib(loadcfg.obj) 1

Severity Code Description Project File Line Suppression State Error LNK2001 unresolved external symbol __guard_eh_cont_count ZydisWinKernel C:\temp\zydis\msvc\examples\BufferOverflowK.lib(loadcfg.obj) 1

And thanks! This project is easily 9/10 because it also works in EFI bootkits.

mappzor commented 1 year ago

Current version of MSVC project is intended for VS2022.

This might help you though: https://learn.microsoft.com/en-us/cpp/build/reference/guard-enable-eh-continuation-metadata?view=msvc-170#to-set-this-compiler-option-in-the-visual-studio-development-environment

flobernd commented 11 months ago

Closing this due to inactivity.