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

Debugger Build Documentation Incorrect #661

Open
1ikeadragon opened this issue Nov 16, 2024 · 1 comment
Open

Debugger Build Documentation Incorrect #661

1ikeadragon opened this issue Nov 16, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@1ikeadragon
Copy link
Contributor

1ikeadragon commented Nov 16, 2024

Summary

The build instructions for the Binja Debugger are incorrect because one of the required and supplied components: lldb-artifacts doesn't contain the required files in the correct format. When followed the steps to the T, it produces error.

Steps to Replicate:

  1. Follow the debugger build docs.
  2. You will get the error message:
    image

Suggestion:

Provide the lldb-artifact zip with all the files required in the right format.

Current workaround:

cd ~/libclang/16.0.0/lib
ln -s liblldb.16.0.0.dylib liblldb.dylib
~/libclang/16.0.0/bin
cp /path/to/binja/darwin-debug .
@1ikeadragon 1ikeadragon added the documentation Improvements or additions to documentation label Nov 16, 2024
@xusheng6
Copy link
Member

Thx for the bug report! Two fixes are needed:

  1. Rebuild LLDB and update the artifact archive to include the darwin-debug executable
  2. Update the CMakeLists.txt (
    find_library(lib_lldb NAMES lldb PATHS ${LLDB_PATH}/lib REQUIRED)
    ) to ensure liblldb.16.0.0.dylib can be found

@xusheng6 xusheng6 modified the milestones: Frogstar, Gallifrey Nov 18, 2024
@xusheng6 xusheng6 self-assigned this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants