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

Refactor from_artifacts to avoid second make_executable #1

Merged
merged 1 commit into from
Aug 22, 2022

Conversation

alexcrichton
Copy link

This involves "parsing" twice but this is parsing just the header of an
ELF file so it's not a very intensive operation and should be ok to do
twice.

This involves "parsing" twice but this is parsing just the header of an
ELF file so it's not a very intensive operation and should be ok to do
twice.
@akirilov-arm
Copy link
Owner

Thanks for the help!

@akirilov-arm akirilov-arm merged commit 38f92d5 into akirilov-arm:bti Aug 22, 2022
@alexcrichton alexcrichton deleted the bti branch August 30, 2022 17:05
akirilov-arm added a commit that referenced this pull request Sep 8, 2022
* Initial forward-edge CFI implementation

Give the user the option to start all basic blocks that are targets
of indirect branches with the BTI instruction introduced by the
Branch Target Identification extension to the Arm instruction set
architecture.

Copyright (c) 2022, Arm Limited.

* Refactor `from_artifacts` to avoid second `make_executable` (#1)

This involves "parsing" twice but this is parsing just the header of an
ELF file so it's not a very intensive operation and should be ok to do
twice.

* Address the code review feedback

Copyright (c) 2022, Arm Limited.

Co-authored-by: Alex Crichton <alex@alexcrichton.com>
akirilov-arm pushed a commit that referenced this pull request May 17, 2023
* Updates

* Add a verification test to CI

* Produce a global-referencing object on stable

* Restrict CI again
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.

2 participants