elfloader: factor out check_hash() - #160
Open
axel-h wants to merge 1 commit into
Open
Conversation
axel-h
marked this pull request as draft
March 22, 2023 12:29
axel-h
force-pushed
the
patch-axel-14
branch
2 times, most recently
from
March 28, 2023 13:43
459807e to
49d9301
Compare
axel-h
marked this pull request as ready for review
May 4, 2023 16:39
axel-h
force-pushed
the
patch-axel-14
branch
from
September 15, 2023 16:43
0aba9e3 to
18ed685
Compare
axel-h
force-pushed
the
patch-axel-14
branch
2 times, most recently
from
January 15, 2024 13:16
0b5d821 to
422286d
Compare
axel-h
force-pushed
the
patch-axel-14
branch
from
February 19, 2024 11:23
a31566d to
6c2b1d2
Compare
axel-h
force-pushed
the
patch-axel-14
branch
2 times, most recently
from
February 23, 2024 19:10
b5de26e to
66670d4
Compare
axel-h
force-pushed
the
patch-axel-14
branch
4 times, most recently
from
March 6, 2024 14:27
594de26 to
44bd2e0
Compare
Member
Author
|
Any chance to get this merged? |
This also allows running the hash check on the image before accessing any other data from it. Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cleaning up the code, so it becomes a bit more modular. Moving this out comes handy for further refactoring.
This also allows running the hash check on the image before accessing any other data from it.
The feature is enabled when compiling with
-DElfloaderHashInstructions="hash_sha". Is anybody using this actually?