Skip to content

Compilation failure due to PolyHook 2 dependency #80

@ambiennt

Description

@ambiennt

Changes to the PolyHook 2 dependency seem to have caused this project to not compile. I believe this commit to PolyHook 2 caused the problem, as it removed PLH::CapstoneDisassembler and its respective header.

image
image


As a temporary workaround, I attempted to use old versions of PolyHook with vcpkg. vcpkg does permit installing specific package versions (such as the most recent one of PolyHook before the above commit) in manifest mode. However, I've been unsuccessful in configuring that after trying for some time:

{
  "name": "dtp",
  "version-string": "0.0.1",
  "dependencies": [
    "polyhook2"
  ],
  "builtin-baseline": "16ee2ecb31788c336ace8bb14c21801efb6836e4",
  "overrides": [
    { 
        "name": "polyhook2", 
        "version": "2023-02-24"
    }
  ]
}

vcpkg install --triplet x86-windows-static (in manifest mode)
image

Versions 2023-05-16 and later of PolyHook 2 do compile as a package. But they include the problematic changes as mentioned above, so this doesn't really fix anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions