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

[RFC] Use lief library and stop depending on binutils #5996

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nehaljwani
Copy link
Contributor

No description provided.

@@ -68,7 +68,7 @@ jobs:
pip install --progress-bar=off -U -r tests/requirements-tools.txt -r tests/requirements-libraries.txt
# Compile bootloader
cd bootloader
python waf all
python waf all CFLAGS="-fcf-protection=none"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does control-flow transfer instrumentation interfere with executable modification made via lief?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rokm
Copy link
Member

rokm commented Jul 13, 2021

This looks quite nice...

@bwoodsend
Copy link
Member

My only cause for squeamishness is Alpine. I have now managed to build a wheel for it after running:

apk add cmake musl-dev gcc g++ make ninja linux-headers

first and waiting a couple of hours. A really organized company could feasibly build the wheel once then host it on a private PyPI instance with the restrictions on non-glibc wheels removed. This will hopefully go away once PEP656 happens.

It also adds a runtime dependency on libstdc++ which isn't the end of the world but it's still a breaking change.

@nehaljwani
Copy link
Contributor Author

I think this is the reason why it takes so long to build lief (defaults to -j1)

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

Successfully merging this pull request may close these issues.

None yet

3 participants