Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PolyHook2 has a new version do not have CapstoneDisassembler #2

Open
pskfire opened this issue Oct 25, 2022 · 1 comment
Open

PolyHook2 has a new version do not have CapstoneDisassembler #2

pskfire opened this issue Oct 25, 2022 · 1 comment

Comments

@pskfire
Copy link

pskfire commented Oct 25, 2022

How to revise the code for new PolyHook2?

@rjx-ray
Copy link
Contributor

rjx-ray commented Jan 17, 2023

Is there a fix for this?

I tried a non-recursive clone of PolyHook, then checked out the last Capstone commit 26th Feb 2022 750e78f
But I'm getting cmake errors:

cmake -B"./_build" -DCMAKE_INSTALL_PREFIX="./_install/" -DPOLYHOOK_BUILD_SHARED_LIB=ON
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.22621.
-- The C compiler identification is MSVC 19.33.31630.0
-- The CXX compiler identification is MSVC 19.33.31630.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
** AsmJit Summary **
ASMJIT_DIR=C:/igloo/PolyHook_2_0/asmjit
ASMJIT_TEST=FALSE
ASMJIT_TARGET_TYPE=STATIC
ASMJIT_DEPS=
ASMJIT_LIBS=asmjit
ASMJIT_CFLAGS=-DASMJIT_STATIC
ASMJIT_PRIVATE_CFLAGS=-MP;-GF;-Zc:__cplusplus;-Zc:inline;-Zc:strictStrings;-Zc:threadSafeInit-;-W4;-DASMJIT_STATIC
ASMJIT_PRIVATE_CFLAGS_DBG=-GS
ASMJIT_PRIVATE_CFLAGS_REL=-GS-;-O2;-Oi
Enabling CAPSTONE_X86_SUPPORT
Enabling CAPSTONE_MOS65XX_SUPPORT
Enabling CAPSTONE_WASM_SUPPORT
Enabling CAPSTONE_BPF_SUPPORT
Enabling CAPSTONE_RISCV_SUPPORT
CMake Error at CMakeLists.txt:114 (set_target_properties):
set_target_properties Can not find target to add properties to:
capstone-static

-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Can't generate documentation, Doxygen not found.
CMake Error at CMakeLists.txt:242 (install):
install TARGETS given target "capstone-static" which does not exist.

-- Configuring incomplete, errors occurred!
See also "C:/igloo/PolyHook_2_0/_build/CMakeFiles/CMakeOutput.log".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants