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've recently built this project and ran into the following issues:
the line link_libraries("libLLVMTransformUtils.so") in Transforms/CMakeLists.txt results in /usr/bin/ld: cannot find -lLLVMTransformUtils and so LLVMObfuscator.so cannot be built.
but then I tried to remove that line from Transforms/CMakeLists.txt and the test successfully ran, I've also checked the generated binaries and they seemed to be obfuscated fine.
I wonder how can the project be built successfully without that line, and does it affect the result if I remove it?
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, I'm not quite sure why this error occurred. Maybe it is because you didn't install LLVM to /usr/bin or /usr/local/bin.
About you question:
In Transforms/CMakeLists.txt line 20 opt -lowerswitch -S IR/TestProgram_orig.ll -o IR/TestProgram_lowerswitch.ll I used the lowerswitch Pass from libLLVMTransformUtils.so. However, it still worked fine without link_libraries("libLLVMTransformUtils.so").
So that line is practically useless, you can remove it.
Hi, I've recently built this project and ran into the following issues:
link_libraries("libLLVMTransformUtils.so")
inTransforms/CMakeLists.txt
results in/usr/bin/ld: cannot find -lLLVMTransformUtils
and soLLVMObfuscator.so
cannot be built.Transforms/CMakeLists.txt
and the test successfully ran, I've also checked the generated binaries and they seemed to be obfuscated fine.I wonder how can the project be built successfully without that line, and does it affect the result if I remove it?
Thank you.
The text was updated successfully, but these errors were encountered: