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

Missing dependencies / build instructions #1

Open
trib0r3 opened this issue May 25, 2020 · 2 comments
Open

Missing dependencies / build instructions #1

trib0r3 opened this issue May 25, 2020 · 2 comments

Comments

@trib0r3
Copy link

trib0r3 commented May 25, 2020

Hello, several issues:

  1. There is no info about build dependency: https://github.com/lexxmark/winflexbison
  2. Default winflexbison location should also be mentioned (%userprofile%\Documents\winflexbison)
  • files from ./custom_build_rules/win_flex_bison should be moved one directory up
  1. other build issues, cmake is trying to include decompile/sleigh.cc, but this file doesn't exist.

Please test your instruction on the clean environment and update instructions :)

@GregoryMorse
Copy link
Owner

Yes I had planned on fixing the cmake environment to have proper downloading of a customizable version of Ghidra sources, right now it hard codes the v1.0 sources that I had modified to fix some bugs. But doing some diff hot source patches in the cmake process would be far better for that sort of thing. This means that the Ghidra folder needs to be renamed decompiler. Anyway the next version will support Ghidra 9.2 and Ida Pro 7.5 with better build process being the primary thing to do.

You are right about the bison dependency needing better documentation obviously on Win vs. Linux it would be a bit different too.

@GregoryMorse
Copy link
Owner

GregoryMorse commented Jul 3, 2021

PropertySheet.props contains custom configuration for Visual Studio building, and MakeGhidraDec.bat has the path of CMake and win_flex_bison also required for packaging with this script.

I need to update the readme with these details and I will close the issue.

The decompiler sleigh component is not yet integrated into the CMake script. I could upload the Ghidra 10 necessary files, but I would prefer to build a CMake script which downloads the correct release, and extracts exactly the needed files. That is why sleigh.cc the first file causes this issue.

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