You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a question I would like to ask everyone. When I upgraded zydis from version 3.2.1 to 4.0.0 on vcpkg, I encountered a LNK error:
ZydisTestEncoderAbsolute.c.obj : error LNK2019: unresolved external symbol _ZydisGetRelInfo referenced in function _RunBranchingTests
When I went to try to solve this problem I found a strange problem:
The function ZydisEncoderRelInfo https://github.com/zyantific/zydis/blob/master/include/Zydis/Internal/EncoderData.h#L247 containing the symbol ZydisGetRelInfo is not exported, GetRelInfo.inc was not included in the compilation process, which caused the symbol ZydisGetRelInfo to be unrecognized during the link process. I would like to know what is the reason for this design? thanks!
The text was updated successfully, but these errors were encountered:
mappzor
added a commit
to mappzor/zydis
that referenced
this issue
Feb 11, 2023
I would like to know what is the reason for this design? thanks!
This is an internal test suite, so it can access private, unexported functions/data and it doesn't need to work on all configurations. In particular it won't build on Windows in shared library mode. In MSVC projects we provide this tool is excluded from shared library builds but CMake doesn't do that. I don't know much about vcpkg but I assume that CMake issue is a root cause here. I opened a PR to fix this.
Hi, I have a question I would like to ask everyone. When I upgraded
zydis
from version3.2.1
to4.0.0
on vcpkg, I encountered aLNK error:
When I went to try to solve this problem I found a strange problem:
The function ZydisEncoderRelInfo https://github.com/zyantific/zydis/blob/master/include/Zydis/Internal/EncoderData.h#L247 containing the symbol ZydisGetRelInfo is not exported, GetRelInfo.inc was not included in the compilation process, which caused the symbol ZydisGetRelInfo to be unrecognized during the link process. I would like to know what is the reason for this design? thanks!
The text was updated successfully, but these errors were encountered: